Help
RSS
API
Feed
Maltego
Contact
Domain > karaleepizza.com.au
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2020-04-06
13.237.56.95
(
ClassC
)
2021-09-14
13.237.187.42
(
ClassC
)
2026-01-10
172.67.163.27
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyDate: Sat, 10 Jan 2026 19:16:37 GMTContent-Type: text/htmlTransfer-Encoding: chunkedConnection: keep-aliveReport-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?slTZ%2BG8cB0dSE0lGOuel3hqRPN13HiGQorOLKca%2Fx0%2FsxzrFD1BccHq4xDz4dI74ulQQAdyhQ3SgwUztk4lV%2FO3PaAlSud4tUNK1Cn9GZFxkf2lg%3D}}location: https://karaleepizza.com.au/server: cloudflarevary: Accept-EncodingNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}cf-cache-status: DYNAMICCF-RAY: 9bbe828198838d3a-PDXalt-svc: h3:443; ma86400 !DOCTYPE html>html styleheight:100%>head>meta nameviewport contentwidthdevice-width, initial-scale1, shrink-to-fitno>title> 301 Moved Permanently/title>/head>body stylecolor: #444; margin:0;font: normal 14px/20px Arial, Helvetica, sans-serif; height:100%; background-color: #fff;>div styleheight:auto; min-height:100%; > div styletext-align: center; width:800px; margin-left: -400px; position:absolute; top: 30%; left:50%;> h1 stylemargin:0; font-size:150px; line-height:150px; font-weight:bold;>301/h1>h2 stylemargin-top:20px;font-size: 30px;>Moved Permanently/h2>p>The document has been permanently moved to A HREF%s>here/A>./p>/div>/div>/body>/html>
Port 443
HTTP/1.1 200 OKDate: Sat, 10 Jan 2026 19:16:38 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-alivex-powered-by: PHP/7.3.31Set-Cookie: PHPSESSID5385303a89c054633dee5ca9a9fa49ec; path/expires: Thu, 19 Nov 1981 08:52:00 GMTCache-Control: no-store, no-cache, must-revalidatepragma: no-cacheReport-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?sP4tNf8NbryWvhi0QDbLYA9JhRq5%2BlqaaL8Vx1hvtqFXRaF1J7qe3Wq%2BGu9eEq0cVm%2Bj5ZrdwpoLqIS2xTFRWsAY6pCxjaU8Cyj3CyaO%2FAfTOjy4%3D}}vary: Accept-EncodingServer: cloudflarealt-svc: h3:443; ma86400cf-cache-status: DYNAMICNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}CF-RAY: 9bbe82842d8a31df-PDX !DOCTYPE html>html langen>head> title>Karalee Pizza and Ribs/title> meta charsetUTF-8>script typetext/javascript>(window.NREUM||(NREUM{})).init{privacy:{cookies_enabled:true},ajax:{deny_list:bam.nr-data.net},feature_flags:soft_nav,distributed_tracing:{enabled:true}};(window.NREUM||(NREUM{})).loader_config{agentID:594517728,accountID:4414785,trustKey:4414785,xpid:UAIGVVFbDRAFXFhXBgABVF0,licenseKey:NRJS-3bd9f889cb1db7ee0cc,applicationID:589511629,browserID:594517728};;/*! For license information please see nr-loader-spa-1.307.0.min.js.LICENSE.txt */(()>{var e,t,r{384:(e,t,r)>{use strict;r.d(t,{NT:()>a,US:()>u,Zm:()>o,bQ:()>d,dV:()>c,pV:()>l});var nr(6154),ir(1863),sr(1910);const a{beacon:bam.nr-data.net,errorBeacon:bam.nr-data.net};function o(){return n.gm.NREUM||(n.gm.NREUM{}),void 0n.gm.newrelic&&(n.gm.newrelicn.gm.NREUM),n.gm.NREUM}function c(){let eo();return e.o||(e.o{ST:n.gm.setTimeout,SI:n.gm.setImmediate||n.gm.setInterval,CT:n.gm.clearTimeout,XHR:n.gm.XMLHttpRequest,REQ:n.gm.Request,EV:n.gm.Event,PR:n.gm.Promise,MO:n.gm.MutationObserver,FETCH:n.gm.fetch,WS:n.gm.WebSocket},(0,s.i)(...Object.values(e.o))),e}function d(e,t){let ro();r.initializedAgents??{},t.initializedAt{ms:(0,i.t)(),date:new Date},r.initializedAgentset}function u(e,t){o()et}function l(){return function(){let eo();const te.info||{};e.info{beacon:a.beacon,errorBeacon:a.errorBeacon,...t}}(),function(){let eo();const te.init||{};e.init{...t}}(),c(),function(){let eo();const te.loader_config||{};e.loader_config{...t}}(),o()}},782:(e,t,r)>{use strict;r.d(t,{T:()>n});const nr(860).K7.pageViewTiming},860:(e,t,r)>{use strict;r.d(t,{$J:()>u,K7:()>c,P3:()>d,XX:()>i,Yy:()>o,df:()>s,qY:()>n,v4:()>a});const nevents,ijserrors,sbrowser/blobs,arum,obrowser/logs,c{ajax:ajax,genericEvents:generic_events,jserrors:i,logging:logging,metrics:metrics,pageAction:page_action,pageViewEvent:page_view_event,pageViewTiming:page_view_timing,sessionReplay:session_replay,sessionTrace:session_trace,softNav:soft_navigations,spa:spa},d{c.pageViewEvent:1,c.pageViewTiming:2,c.metrics:3,c.jserrors:4,c.spa:5,c.ajax:6,c.sessionTrace:7,c.softNav:8,c.sessionReplay:9,c.logging:10,c.genericEvents:11},u{c.pageViewEvent:a,c.pageViewTiming:n,c.ajax:n,c.spa:n,c.softNav:n,c.metrics:i,c.jserrors:i,c.sessionTrace:s,c.sessionReplay:s,c.logging:o,c.genericEvents:ins}},944:(e,t,r)>{use strict;r.d(t,{R:()>i});var nr(3241);function i(e,t){functiontypeof console.debug&&(console.debug(New Relic Warning: https://github.com/newrelic/newrelic-browser-agent/blob/main/docs/warning-codes.md#.concat(e),t),(0,n.W)({agentIdentifier:null,drained:null,type:data,name:warn,feature:warn,data:{code:e,secondary:t}}))}},993:(e,t,r)>{use strict;r.d(t,{A$:()>s,ET:()>a,TZ:()>o,p_:()>i});var nr(860);const i{ERROR:ERROR,WARN:WARN,INFO:INFO,DEBUG:DEBUG,TRACE:TRACE},s{OFF:0,ERROR:1,WARN:2,INFO:3,DEBUG:4,TRACE:5},alog,on.K7.logging},1687:(e,t,r)>{use strict;r.d(t,{Ak:()>d,Ze:()>h,x3:()>u});var nr(3241),ir(7836),sr(3606),ar(860),or(2646);const c{};function d(e,t){const r{staged:!1,priority:a.P3t||0};l(e),ce.get(t)||ce.set(t,r)}function u(e,t){e&&ce&&(ce.get(t)&&ce.delete(t),p(e,t,!1),ce.size&&f(e))}function l(e){if(!e)throw new Error(agentIdentifier required);ce||(cenew Map)}function h(e,tfeature,r!1){if(l(e),!e||!ce.get(t)||r)return p(e,t);ce.get(t).staged!0,f(e)}function f(e){const tArray.from(ce);t.every((e,t)>t.staged)&&(t.sort((e,t)>e1.priority-t1.priority),t.forEach((t)>{ce.delete(t),p(e,t)}))}function p(e,t,r!0){const ae?i.ee.get(e):i.ee,cs.i.handlers;if(!a.aborted&&a.backlog&&c){if((0,n.W)({agentIdentifier:e,type:lifecycle,name:drain,feature:t}),r){const ea.backlogt,rct;if(r){for(let t0;e&&te.length;++t)g(et,r);Object.entries(r).forEach((e,t)>{Object.values(t||{}).forEach(t>{t0?.on&&t0?.context()instanceof o.y&&t0.on(e,t1)})})}}a.isolatedBacklog||delete ct,a.backlogtnull,a.emit(drain-+t,)}}function g(e,t){var re1;Object.values(tr||{}).forEach(t>{var re0;if(t0r){var nt1,ie3,se2;n.apply(i,s)}})}},1738:(e,t,r)>{use strict;r.d(t,{U:()>f,Y:()>h});var nr(3241),ir(9908),sr(1863),ar(944),or(5701),cr(3969),dr(8362),ur(860),lr(4261);function h(e,t,r,s){const hs||r;!h||he&&he!d.d.prototypee||(hefunction(){(0,i.p)(c.xV,API/+e+/called,void 0,u.K7.metrics,r.ee),(0,n.W)({agentIdentifier:r.agentIdentifier,drained:!!o.B?.r.agentIdentifier,type:data,name:api,feature:l.Pl+e,data:{}});try{return t.apply(this,arguments)}catch(e){(0,a.R)(23,e)}})}function f(e,t,r,n,a){const oe.info;nullr?delete o.jsAttributest:o.jsAttributestr,(a||nullr)&&(0,i.p)(l.Pl+n,(0,s.t)(),t,r,void 0,session,e.ee)}},1741:(e,t,r)>{use strict;r.d(t,{W:()>s});var nr(944),ir(4261);class s{#e(e,...t){if(thise!s.prototypee)return thise(...t);(0,n.R)(35,e)}addPageAction(e,t){return this.#e(i.hG,e,t)}register(e){return this.#e(i.eY,e)}recordCustomEvent(e,t){return this.#e(i.fF,e,t)}setPageViewName(e,t){return this.#e(i.Fw,e,t)}setCustomAttribute(e,t,r){return this.#e(i.cD,e,t,r)}noticeError(e,t){return this.#e(i.o5,e,t)}setUserId(e,t!1){return this.#e(i.Dl,e,t)}setApplicationVersion(e){return this.#e(i.nb,e)}setErrorHandler(e){return this.#e(i.bt,e)}addRelease(e,t){return this.#e(i.k6,e,t)}log(e,t){return this.#e(i.$9,e,t)}start(){return this.#e(i.d3)}finished(e){return this.#e(i.BL,e)}recordReplay(){return this.#e(i.CH)}pauseReplay(){return this.#e(i.Tb)}addToTrace(e){return this.#e(i.U2,e)}setCurrentRouteName(e){return this.#e(i.PA,e)}interaction(e){return this.#e(i.dT,e)}wrapLogger(e,t,r){return this.#e(i.Wb,e,t,r)}measure(e,t){return this.#e(i.V1,e,t)}consent(e){return this.#e(i.Pv,e)}}},1863:(e,t,r)>{use strict;function n(){return Math.floor(performance.now())}r.d(t,{t:()>n})},1910:(e,t,r)>{use strict;r.d(t,{i:()>s});var nr(944);const inew Map;function s(...e){return e.every(e>{if(i.has(e))return i.get(e);const tfunctiontypeof e?e.toString():,rt.includes(native code),st.includes(nrWrapper);return r||s||(0,n.R)(64,e?.name||t),i.set(e,r),r})}},2555:(e,t,r)>{use strict;r.d(t,{D:()>o,f:()>a});var nr(384),ir(8122);const s{beacon:n.NT.beacon,errorBeacon:n.NT.errorBeacon,licenseKey:void 0,applicationID:void 0,sa:void 0,queueTime:void 0,applicationTime:void 0,ttGuid:void 0,user:void 0,account:void 0,product:void 0,extra:void 0,jsAttributes:{},userAttributes:void 0,atts:void 0,transactionName:void 0,tNamePlain:void 0};function a(e){try{return!!e.licenseKey&&!!e.errorBeacon&&!!e.applicationID}catch(e){return!1}}const oe>(0,i.a)(e,s)},2614:(e,t,r)>{use strict;r.d(t,{BB:()>a,H3:()>n,g:()>d,iL:()>c,tS:()>o,uh:()>i,wk:()>s});const nNRBA,iSESSION,s144e5,a18e5,o{STARTED:session-started,PAUSE:session-pause,RESET:session-reset,RESUME:session-resume,UPDATE:session-update},c{SAME_TAB:same-tab,CROSS_TAB:cross-tab},d{OFF:0,FULL:1,ERROR:2}},2646:(e,t,r)>{use strict;r.d(t,{y:()>n});class n{constructor(e){this.contextIde}}},2843:(e,t,r)>{use strict;r.d(t,{G:()>s,u:()>i});var nr(3878);function i(e,t!1,r,i){(0,n.DD)(visibilitychange,function(){if(t)return void(hiddendocument.visibilityState&&e());e(document.visibilityState)},r,i)}function s(e,t,r){(0,n.sp)(pagehide,e,t,r)}},3241:(e,t,r)>{use strict;r.d(t,{W:()>s});var nr(6154);const inewrelic;function s(e{}){try{n.gm.dispatchEvent(new CustomEvent(i,{detail:e}))}catch(e){}}},3304:(e,t,r)>{use strict;r.d(t,{A:()>s});var nr(7836);const i()>{const enew WeakSet;return(t,r)>{if(objecttypeof r&&null!r){if(e.has(r))return;e.add(r)}return r}};function s(e){try{return JSON.stringify(e,i())??}catch(e){try{n.ee.emit(internal-error,e)}catch(e){}return}}},3333:(e,t,r)>{use strict;r.d(t,{$v:()>u,TZ:()>n,Xh:()>c,Zp:()>i,kd:()>d,mq:()>o,nf:()>a,qN:()>s});const nr(860).K7.genericEvents,iauxclick,click,copy,keydown,paste,scrollend,sfocus,blur,a4,o1e3,c2e3,dPageAction,UserAction,BrowserPerformance,u{RESOURCES:experimental.resources,REGISTER:register}},3434:(e,t,r)>{use strict;r.d(t,{Jt:()>s,YM:()>d});var nr(7836),ir(5607);const snr@original:.concat(i.W),a50;var oObject.prototype.hasOwnProperty,c!1;function d(e,t){return e||(en.ee),r.inPlacefunction(e,t,n,i,s){n||(n);const a-n.charAt(0);for(let o0;ot.length;o++){const cto,dec;l(d)||(ecr(d,a?c+n:n,i,c,s))}},r.flags,r;function r(t,r,n,c,d){return l(t)?t:(r||(r),nrWrapperst,function(e,t,r){if(Object.defineProperty&&Object.keys)try{return Object.keys(e).forEach(function(r){Object.defineProperty(t,r,{get:function(){return er},set:function(t){return ert,t}})}),t}catch(e){u(e,r)}for(var n in e)o.call(e,n)&&(tnen)}(t,nrWrapper,e),nrWrapper);function nrWrapper(){var s,o,l,h;let f;try{othis,s...arguments,lfunctiontypeof n?n(s,o):n||{}}catch(t){u(t,,s,o,c,l,e)}i(r+start,s,o,c,l,d);const pperformance.now();let g;try{return ht.apply(o,s),gperformance.now(),h}catch(e){throw gperformance.now(),i(r+err,s,o,e,l,d),fe,f}finally{const eg-p,t{start:p,end:g,duration:e,isLongTask:e>a,methodName:c,thrownError:f};t.isLongTask&&i(long-task,t,o,l,d),i(r+end,s,o,h,l,d)}}}function i(r,n,i,s){if(!c||t){var ac;c!0;try{e.emit(r,n,i,t,s)}catch(t){u(t,r,n,i,e)}ca}}}function u(e,t){t||(tn.ee);try{t.emit(internal-error,e)}catch(e){}}function l(e){return!(e&&functiontypeof e&&e.apply&&!es)}},3606:(e,t,r)>{use strict;r.d(t,{i:()>s});var nr(9908);s.ona;var is.handlers{};function s(e,t,r,s){a(s||n.d,i,e,t,r)}function a(e,t,r,i,s){s||(sfeature),e||(en.d);var atsts||{};(arar||).push(e,i)}},3738:(e,t,r)>{use strict;r.d(t,{He:()>i,Kp:()>o,Lc:()>d,Rz:()>u,TZ:()>n,bD:()>s,d3:()>a,jx:()>l,sl:()>h,uP:()>c});const nr(860).K7.sessionTrace,ibstResource,sresource,a-start,o-end,cfn+a,dfn+o,upushState,l1e3,h3e4},3785:(e,t,r)>{use strict;r.d(t,{R:()>c,b:()>d});var nr(9908),ir(1863),sr(860),ar(3969),or(993);function c(e,t,r{},co.p_.INFO,d!0,u,l(0,i.t)()){(0,n.p)(a.xV,API/logging/.concat(c.toLowerCase(),/called),void 0,s.K7.metrics,e),(0,n.p)(o.ET,l,t,r,c,d,u,void 0,s.K7.logging,e)}function d(e){returnstringtypeof e&&Object.values(o.p_).some(t>te.toUpperCase().trim())}},3878:(e,t,r)>{use strict;function n(e,t){return{capture:e,passive:!1,signal:t}}function i(e,t,r!1,i){window.addEventListener(e,t,n(r,i))}function s(e,t,r!1,i){document.addEventListener(e,t,n(r,i))}r.d(t,{DD:()>s,jT:()>n,sp:()>i})},3962:(e,t,r)>{use strict;r.d(t,{AM:()>a,O2:()>l,OV:()>s,Qu:()>h,TZ:()>c,ih:()>f,pP:()>o,t1:()>u,tC:()>i,wD:()>d});var nr(860);const iclick,keydown,submit,spopstate,aapi,oinitialPageLoad,cn.K7.softNav,d5e3,u500,l{INITIAL_PAGE_LOAD:,ROUTE_CHANGE:1,UNSPECIFIED:2},h{INTERACTION:1,AJAX:2,CUSTOM_END:3,CUSTOM_TRACER:4},f{IP:in progress,PF:pending finish,FIN:finished,CAN:cancelled}},3969:(e,t,r)>{use strict;r.d(t,{TZ:()>n,XG:()>o,rs:()>i,xV:()>a,z_:()>s});const nr(860).K7.metrics,ism,scm,astoreSupportabilityMetrics,ostoreEventMetrics},4234:(e,t,r)>{use strict;r.d(t,{W:()>s});var nr(7836),ir(1687);class s{constructor(e,t){this.agentIdentifiere,this.een.ee.get(e),this.featureNamet,this.blocked!1}deregisterDrain(){(0,i.x3)(this.agentIdentifier,this.featureName)}}},4261:(e,t,r)>{use strict;r.d(t,{$9:()>u,BL:()>c,CH:()>p,Dl:()>R,Fw:()>w,PA:()>v,Pl:()>n,Pv:()>A,Tb:()>h,U2:()>a,V1:()>E,Wb:()>T,bt:()>y,cD:()>b,d3:()>x,dT:()>d,eY:()>g,fF:()>f,hG:()>s,hw:()>i,k6:()>o,nb:()>m,o5:()>l});const napi-,in+ixn-,saddPageAction,aaddToTrace,oaddRelease,cfinished,dinteraction,ulog,lnoticeError,hpauseReplay,frecordCustomEvent,precordReplay,gregister,msetApplicationVersion,vsetCurrentRouteName,bsetCustomAttribute,ysetErrorHandler,wsetPageViewName,RsetUserId,xstart,TwrapLogger,Emeasure,Aconsent},4387:(e,t,r)>{use strict;function n(e{}){return!(!e.id||!e.name)}function i(e){returnstringtypeof e&&e.trim().length501||numbertypeof e}function s(e,t){if(2!t?.harvestEndpointVersion)return{};const rt.agentRef.runtime.appMetadata.agents0.entityGuid;return n(e)?{source.id:e.id,source.name:e.name,source.type:e.type,parent.id:e.parent?.id||r}:{entity.guid:r,appId:t.agentRef.info.applicationID}}r.d(t,{Ux:()>s,c7:()>n,yo:()>i})},5205:(e,t,r)>{use strict;r.d(t,{j:()>S});var nr(384),ir(1741);var sr(2555),ar(3333);const oe>{if(!e||string!typeof e)return!1;try{document.createDocumentFragment().querySelector(e)}catch{return!1}return!0};var cr(2614),dr(944),ur(8122);const ldata-nr-mask,he>(0,u.a)(e,(()>{const e{feature_flags:,experimental:{allow_registered_children:!1,resources:!1},mask_selector:*,block_selector:data-nr-block,mask_input_options:{color:!1,date:!1,datetime-local:!1,email:!1,month:!1,number:!1,range:!1,search:!1,tel:!1,text:!1,time:!1,url:!1,week:!1,textarea:!1,select:!1,password:!0}};return{ajax:{deny_list:void 0,block_internal:!0,enabled:!0,autoStart:!0},api:{get allow_registered_children(){return e.feature_flags.includes(a.$v.REGISTER)||e.experimental.allow_registered_children},set allow_registered_children(t){e.experimental.allow_registered_childrent},duplicate_registered_data:!1},browser_consent_mode:{enabled:!1},distributed_tracing:{enabled:void 0,exclude_newrelic_header:void 0,cors_use_newrelic_header:void 0,cors_use_tracecontext_headers:void 0,allowed_origins:void 0},get feature_flags(){return e.feature_flags},set feature_flags(t){e.feature_flagst},generic_events:{enabled:!0,autoStart:!0},harvest:{interval:30},jserrors:{enabled:!0,autoStart:!0},logging:{enabled:!0,autoStart:!0},metrics:{enabled:!0,autoStart:!0},obfuscate:void 0,page_action:{enabled:!0},page_view_event:{enabled:!0,autoStart:!0},page_view_timing:{enabled:!0,autoStart:!0},performance:{capture_marks:!1,capture_measures:!1,capture_detail:!0,resources:{get enabled(){return e.feature_flags.includes(a.$v.RESOURCES)||e.experimental.resources},set enabled(t){e.experimental.resourcest},asset_types:,first_party_domains:,ignore_newrelic:!0}},privacy:{cookies_enabled:!0},proxy:{assets:void 0,beacon:void 0},session:{expiresMs:c.wk,inactiveMs:c.BB},session_replay:{autoStart:!0,enabled:!1,preload:!1,sampling_rate:10,error_sampling_rate:100,collect_fonts:!1,inline_images:!1,fix_stylesheets:!0,mask_all_inputs:!0,get mask_text_selector(){return e.mask_selector},set mask_text_selector(t){o(t)?e.mask_selector.concat(t,,).concat(l):t||nullt?e.mask_selectorl:(0,d.R)(5,t)},get block_class(){returnnr-block},get ignore_class(){returnnr-ignore},get mask_text_class(){returnnr-mask},get block_selector(){return e.block_selector},set block_selector(t){o(t)?e.block_selector+,.concat(t):!t&&(0,d.R)(6,t)},get mask_input_options(){return e.mask_input_options},set mask_input_options(t){t&&objecttypeof t?e.mask_input_options{...t,password:!0}:(0,d.R)(7,t)}},session_trace:{enabled:!0,autoStart:!0},soft_navigations:{enabled:!0,autoStart:!0},spa:{enabled:!0,autoStart:!0},ssl:void 0,user_actions:{enabled:!0,elementAttributes:id,className,tagName,type}}})());var fr(6154),pr(9324);let g0;const m{buildEnv:p.F3,distMethod:p.Xs,version:p.xv,originTime:f.WN},v{consented:!1},b{appMetadata:{},get consented(){return this.session?.state?.consent||v.consented},set consented(e){v.consentede},customTransaction:void 0,denyList:void 0,disabled:!1,harvester:void 0,isolatedBacklog:!1,isRecording:!1,loaderType:void 0,maxBytes:3e4,obfuscator:void 0,onerror:void 0,ptid:void 0,releaseIds:{},session:void 0,timeKeeper:void 0,registeredEntities:,jsAttributesMetadata:{bytes:0},get harvestCount(){return++g}},ye>{const t(0,u.a)(e,b),rObject.keys(m).reduce((e,t)>(et{value:mt,writable:!1,configurable:!0,enumerable:!0},e),{});return Object.defineProperties(t,r)};var wr(5701);const Re>{const te.startsWith(http);e+/,r.pt?e:https://+e};var xr(7836),Tr(3241);const E{accountID:void 0,trustKey:void 0,agentID:void 0,licenseKey:void 0,applicationID:void 0,xpid:void 0},Ae>(0,u.a)(e,E),_new Set;function S(e,t{},r,a){let{init:o,info:c,loader_config:d,runtime:u{},exposed:l!0}t;if(!c){const e(0,n.pV)();oe.init,ce.info,de.loader_config}e.inith(o||{}),e.loader_configA(d||{}),c.jsAttributes??{},f.bv&&(c.jsAttributes.isWorker!0),e.info(0,s.D)(c);const pe.init,gc.beacon,c.errorBeacon;_.has(e.agentIdentifier)||(p.proxy.assets&&(R(p.proxy.assets),g.push(p.proxy.assets)),p.proxy.beacon&&g.push(p.proxy.beacon),e.beacons...g,function(e){const t(0,n.pV)();Object.getOwnPropertyNames(i.W.prototype).forEach(r>{const ni.W.prototyper;if(function!typeof n||constructorn)return;let str;er&&!1!e.exposed&µ-agent!e.runtime?.loaderType&&(tr(...t)>{const ner(...t);return s?s(...t):n})})}(e),(0,n.US)(activatedFeatures,w.B)),u.denyList...p.ajax.deny_list||,...p.ajax.block_internal?g:,u.ptide.agentIdentifier,u.loaderTyper,e.runtimey(u),_.has(e.agentIdentifier)||(e.eex.ee.get(e.agentIdentifier),e.exposedl,(0,T.W)({agentIdentifier:e.agentIdentifier,drained:!!w.B?.e.agentIdentifier,type:lifecycle,name:initialize,feature:void 0,data:e.config})),_.add(e.agentIdentifier)}},5270:(e,t,r)>{use strict;r.d(t,{Aw:()>a,SR:()>s,rF:()>o});var nr(384),ir(7767);function s(e){return!!(0,n.dV)().o.MO&&(0,i.V)(e)&&!0e?.session_trace.enabled}function a(e){return!0e?.session_replay.preload&&s(e)}function o(e,t){try{if(stringtypeof t?.type){if(passwordt.type.toLowerCase())return*.repeat(e?.length||0);if(void 0!t?.dataset?.nrUnmask||t?.classList?.contains(nr-unmask))return e}}catch(e){}returnstringtypeof e?e.replace(/\S/g,*):*.repeat(e?.length||0)}},5289:(e,t,r)>{use strict;r.d(t,{GG:()>a,Qr:()>c,sB:()>o});var nr(3878),ir(6389);function s(){returnundefinedtypeof document||completedocument.readyState}function a(e,t){if(s())return e();const r(0,i.J)(e),asetInterval(()>{s()&&(clearInterval(a),r())},500);(0,n.sp)(load,r,t)}function o(e){if(s())return e();(0,n.DD)(DOMContentLoaded,e)}function c(e){if(s())return e();(0,n.sp)(popstate,e)}},5607:(e,t,r)>{use strict;r.d(t,{W:()>n});const n(0,r(9566).bz)()},5701:(e,t,r)>{use strict;r.d(t,{B:()>s,t:()>a});var nr(3241);const inew Set,s{};function a(e,t){const rt.agentIdentifier;sr??{},e&&objecttypeof e&&(i.has(r)||(t.ee.emit(rumresp,e),sre,i.add(r),(0,n.W)({agentIdentifier:r,loaded:!0,drained:!0,type:lifecycle,name:load,feature:void 0,data:e})))}},6154:(e,t,r)>{use strict;r.d(t,{OF:()>d,RI:()>i,WN:()>h,bv:()>s,eN:()>f,gm:()>a,lR:()>l,m:()>c,mw:()>o,sb:()>u});var nr(1863);const iundefined!typeof window&&!!window.document,sundefined!typeof WorkerGlobalScope&&(undefined!typeof self&&self instanceof WorkerGlobalScope&&self.navigator instanceof WorkerNavigator||undefined!typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis.navigator instanceof WorkerNavigator),ai?window:undefined!typeof WorkerGlobalScope&&(undefined!typeof self&&self instanceof WorkerGlobalScope&&self||undefined!typeof globalThis&&globalThis instanceof WorkerGlobalScope&&globalThis),oBoolean(hiddena?.document?.visibilityState),c+a?.location,d/iPad|iPhone|iPod/.test(a.navigator?.userAgent),ud&&undefinedtypeof SharedWorker,l(()>{const ea.navigator?.userAgent?.match(/Firefox/\s(\d+\.\d+)/);return Array.isArray(e)&&e.length>2?+e1:0})(),hDate.now()-(0,n.t)(),f()>undefined!typeof PerformanceNavigationTiming&&a?.performance?.getEntriesByType(navigation)?.0?.responseStart},6344:(e,t,r)>{use strict;r.d(t,{BB:()>u,Qb:()>l,TZ:()>i,Ug:()>a,Vh:()>s,_s:()>o,bc:()>d,yP:()>c});var nr(2614);const ir(860).K7.sessionReplay,serrorDuringReplay,a.12,o{DomContentLoaded:0,Load:1,FullSnapshot:2,IncrementalSnapshot:3,Meta:4,Custom:5},c{n.g.ERROR:15e3,n.g.FULL:3e5,n.g.OFF:0},d{RESET:{message:Session was reset,sm:Reset},IMPORT:{message:Recorder failed to import,sm:Import},TOO_MANY:{message:429: Too Many Requests,sm:Too-Many},TOO_BIG:{message:Payload was too large,sm:Too-Big},CROSS_TAB:{message:Session Entity was set to OFF on another tab,sm:Cross-Tab},ENTITLEMENTS:{message:Session Replay is not allowed and will not be started,sm:Entitlement}},u5e3,l{API:api,RESUME:resume,SWITCH_TO_FULL:switchToFull,INITIALIZE:initialize,PRELOAD:preload}},6389:(e,t,r)>{use strict;function n(e,t500,r{}){const nr?.leading||!1;let i;return(...r)>{n&&void 0i&&(e.apply(this,r),isetTimeout(()>{iclearTimeout(i)},t)),n||(clearTimeout(i),isetTimeout(()>{e.apply(this,r)},t))}}function i(e){let t!1;return(...r)>{t||(t!0,e.apply(this,r))}}r.d(t,{J:()>i,s:()>n})},6630:(e,t,r)>{use strict;r.d(t,{T:()>n});const nr(860).K7.pageViewEvent},6774:(e,t,r)>{use strict;r.d(t,{T:()>n});const nr(860).K7.jserrors},7295:(e,t,r)>{use strict;r.d(t,{Xv:()>a,gX:()>i,iW:()>s});var n;function i(e){if(!e||s(e))return!1;if(0n.length)return!0;if(*n0.hostname)return!1;for(var t0;tn.length;t++){var rnt;if(r.hostname.test(e.hostname)&&r.pathname.test(e.pathname))return!1}return!0}function s(e){return void 0e.hostname}function a(e){if(n,e&&e.length)for(var t0;te.length;t++){let ret;if(!r)continue;if(*r)return void(n{hostname:*});0r.indexOf(http://)?rr.substring(7):0r.indexOf(https://)&&(rr.substring(8));const ir.indexOf(/);let s,a;i>0?(sr.substring(0,i),ar.substring(i)):(sr,a*);letcs.split(:);n.push({hostname:o(c),pathname:o(a,!0)})}}function o(e,t!1){const re.replace(/.+?^${}()|\\\/g,e>\\+e).replace(/\*/g,.*?);return new RegExp((t?^:)+r+$)}},7485:(e,t,r)>{use strict;r.d(t,{D:()>i});var nr(6154);function i(e){if(0(e||).indexOf(data:))return{protocol:data};try{const tnew URL(e,location.href),r{port:t.port,hostname:t.hostname,pathname:t.pathname,search:t.search,protocol:t.protocol.slice(0,t.protocol.indexOf(:)),sameOrigin:t.protocoln.gm?.location?.protocol&&t.hostn.gm?.location?.host};return r.port&&!r.port||(http:t.protocol&&(r.port80),https:t.protocol&&(r.port443)),r.pathname&&!r.pathname?r.pathname.startsWith(/)||(r.pathname/.concat(r.pathname)):r.pathname/,r}catch(e){return{}}}},7699:(e,t,r)>{use strict;r.d(t,{It:()>s,KC:()>o,No:()>i,qh:()>a});var nr(860);const i16e3,s1e6,aSESSION_ERROR,o{n.K7.logging:!0,n.K7.genericEvents:!1,n.K7.jserrors:!1,n.K7.ajax:!1}},7767:(e,t,r)>{use strict;r.d(t,{V:()>i});var nr(6154);const ie>n.RI&&!0e?.privacy.cookies_enabled},7836:(e,t,r)>{use strict;r.d(t,{P:()>o,ee:()>c});var nr(384),ir(8990),sr(2646),ar(5607);const onr@context:.concat(a.W),cfunction e(t,r){var n{},a{},u{},l!1;try{l16r.length&&d.initializedAgents?.r?.runtime.isolatedBacklog}catch(e){}var h{on:p,addEventListener:p,removeEventListener:function(e,t){var rne;if(!r)return;for(var i0;ir.length;i++)rit&&r.splice(i,1)},emit:function(e,r,n,i,s){!1!s&&(s!0);if(c.aborted&&!i)return;t&&s&&t.emit(e,r,n);var of(n);g(e).forEach(e>{e.apply(o,r)});var dv()ae;d&&d.push(h,e,r,o);return o},get:m,listeners:g,context:f,buffer:function(e,t){const rv();if(tt||feature,h.aborted)return;Object.entries(e||{}).forEach((e,n)>{ant,t in r||(rt)})},abort:function(){h._aborted!0,Object.keys(h.backlog).forEach(e>{delete h.backloge})},isBuffering:function(e){return!!v()ae},debugId:r,backlog:l?{}:t&&objecttypeof t.backlog?t.backlog:{},isolatedBacklog:l};return Object.defineProperty(h,aborted,{get:()>{let eh._aborted||!1;return e||(t&&(et.aborted),e)}}),h;function f(e){return e&&e instanceof s.y?e:e?(0,i.I)(e,o,()>new s.y(o)):new s.y(o)}function p(e,t){neg(e).concat(t)}function g(e){return ne||}function m(t){return utut||e(h,t)}function v(){return h.backlog}}(void 0,globalEE),d(0,n.Zm)();d.ee||(d.eec)},8122:(e,t,r)>{use strict;r.d(t,{a:()>i});var nr(944);function i(e,t){try{if(!e||object!typeof e)return(0,n.R)(3);if(!t||object!typeof t)return(0,n.R)(4);const rObject.create(Object.getPrototypeOf(t),Object.getOwnPropertyDescriptors(t)),s0Object.keys(r).length?e:r;for(let a in s)if(void 0!ea)try{if(nullea){ranull;continue}Array.isArray(ea)&&Array.isArray(ta)?raArray.from(new Set(...ea,...ta)):objecttypeof ea&&objecttypeof ta?rai(ea,ta):raea}catch(e){ra||(0,n.R)(1,e)}return r}catch(e){(0,n.R)(2,e)}}},8139:(e,t,r)>{use strict;r.d(t,{u:()>h});var nr(7836),ir(3434),sr(8990),ar(6154);const o{},ca.gm.XMLHttpRequest,daddEventListener,uremoveEventListener,lnr@wrapped:.concat(n.P);function h(e){var tfunction(e){return(e||n.ee).get(events)}(e);if(ot.debugId++)return t;ot.debugId1;var r(0,i.YM)(t,!0);function h(e){r.inPlace(e,d,u,-,p)}function p(e,t){return e1}returngetPrototypeOfin Object&&(a.RI&&f(document,h),c&&f(c.prototype,h),f(a.gm,h)),t.on(d+-start,function(e,t){var ne1;if(null!n&&(functiontypeof n||objecttypeof n)&&newrelic!e0){var i(0,s.I)(n,l,function(){var e{object:function(){if(function!typeof n.handleEvent)return;return n.handleEvent.apply(n,arguments)},function:n}typeof n;return e?r(e,fn-,null,e.name||anonymous):n});this.wrappede1i}}),t.on(u+-start,function(e){e1this.wrapped||e1}),t}function f(e,t,...r){let ne;for(;objecttypeof n&&!Object.prototype.hasOwnProperty.call(n,d);)nObject.getPrototypeOf(n);n&&t(n,...r)}},8362:(e,t,r)>{use strict;r.d(t,{d:()>s});var nr(9566),ir(1741);class s extends i.W{agentIdentifier(0,n.LA)(16)}},8374:(e,t,r)>{r.nc(()>{try{return document?.currentScript?.nonce}catch(e){}return})()},8990:(e,t,r)>{use strict;r.d(t,{I:()>i});var nObject.prototype.hasOwnProperty;function i(e,t,r){if(n.call(e,t))return et;var ir();if(Object.defineProperty&&Object.keys)try{return Object.defineProperty(e,t,{value:i,writable:!0,enumerable:!1}),i}catch(e){}return eti,i}},9300:(e,t,r)>{use strict;r.d(t,{T:()>n});const nr(860).K7.ajax},9324:(e,t,r)>{use strict;r.d(t,{AJ:()>a,F3:()>i,Xs:()>s,Yq:()>o,xv:()>n});const n1.307.0,iPROD,sCDN,a@newrelic/rrweb,o1.0.1},9566:(e,t,r)>{use strict;r.d(t,{LA:()>o,ZF:()>c,bz:()>a,el:()>d});var nr(6154);const ixxxxxxxx-xxxx-4xxx-yxxx-xxxxxxxxxxxx;function s(e,t){return e?15&et:16*Math.random()|0}function a(){const en.gm?.crypto||n.gm?.msCrypto;let t,r0;return e&&e.getRandomValues&&(te.getRandomValues(new Uint8Array(30))),i.split().map(e>xe?s(t,r++).toString(16):ye?(3&s()|8).toString(16):e).join()}function o(e){const tn.gm?.crypto||n.gm?.msCrypto;let r,i0;t&&t.getRandomValues&&(rt.getRandomValues(new Uint8Array(e)));const a;for(var o0;oe;o++)a.push(s(r,i++).toString(16));return a.join()}function c(){return o(16)}function d(){return o(32)}},9908:(e,t,r)>{use strict;r.d(t,{d:()>n,p:()>i});var nr(7836).ee.get(handle);function i(e,t,r,i,s){s?(s.buffer(e,i),s.emit(e,t,r)):(n.buffer(e,i),n.emit(e,t,r))}}},n{};function i(e){var tne;if(void 0!t)return t.exports;var sne{exports:{}};return re(s,s.exports,i),s.exports}i.mr,i.d(e,t)>{for(var r in t)i.o(t,r)&&!i.o(e,r)&&Object.defineProperty(e,r,{enumerable:!0,get:tr})},i.f{},i.ee>Promise.all(Object.keys(i.f).reduce((t,r)>(i.fr(e,t),t),)),i.ue>({212:nr-spa-compressor,249:nr-spa-recorder,478:nr-spa}e+-1.307.0.min.js),i.o(e,t)>Object.prototype.hasOwnProperty.call(e,t),e{},tNRBA-1.307.0.PROD:,i.l(r,n,s,a)>{if(er)er.push(n);else{var o,c;if(void 0!s)for(var ddocument.getElementsByTagName(script),u0;ud.length;u++){var ldu;if(l.getAttribute(src)r||l.getAttribute(data-webpack)t+s){ol;break}}if(!o){c!0;var h{478:sha512-bFoj7wd1EcCTt0jkKdFkw+gjDdU092aP1BOVh5n0PjhLNtBCSXj4vpjfIJR8zH8Bn6/XPpFl3gSNOuWVJ98iug,249:sha512-FRHQNWDGImhEo7a7lqCuCt6xlBgommnGc+JH2/YGJlngDoH+/3jpT/cyFpwi2M5G6srPVN4wLxrVqskf6KB7bg,212:sha512-okml4IaluCF10UG6SWzY+cKPgBNvH2+S5f1FxomzQUHf608N0b9dwoBv/ZFAhJhrdxPgTA4AxlBzwGcjMGIlQQ};(odocument.createElement(script)).charsetutf-8,i.nc&&o.setAttribute(nonce,i.nc),o.setAttribute(data-webpack,t+s),o.srcr,0!o.src.indexOf(window.location.origin+/)&&(o.crossOriginanonymous),ha&&(o.integrityha)}ern;var f(t,n)>{o.onerroro.onloadnull,clearTimeout(p);var ier;if(delete er,o.parentNode&&o.parentNode.removeChild(o),i&&i.forEach(e>e(n)),t)return t(n)},psetTimeout(f.bind(null,void 0,{type:timeout,target:o}),12e4);o.onerrorf.bind(null,o.onerror),o.onloadf.bind(null,o.onload),c&&document.head.appendChild(o)}},i.re>{undefined!typeof Symbol&&Symbol.toStringTag&&Object.defineProperty(e,Symbol.toStringTag,{value:Module}),Object.defineProperty(e,__esModule,{value:!0})},i.phttps://js-agent.newrelic.com/,(()>{var e{38:0,788:0};i.f.j(t,r)>{var ni.o(e,t)?et:void 0;if(0!n)if(n)r.push(n2);else{var snew Promise((r,i)>netr,i);r.push(n2s);var ai.p+i.u(t),onew Error;i.l(a,r>{if(i.o(e,t)&&(0!(net)&&(etvoid 0),n)){var sr&&(loadr.type?missing:r.type),ar&&r.target&&r.target.src;o.messageLoading chunk +t+ failed: (+s+: +a+),o.nameChunkLoadError,o.types,o.requesta,n1(o)}},chunk-+t,t)}};var t(t,r)>{var n,s,a,o,cr,d0;if(a.some(t>0!et)){for(n in o)i.o(o,n)&&(i.mnon);if(c)c(i)}for(t&&t(r);da.length;d++)sad,i.o(e,s)&&es&&es0(),es0},rselfwebpackChunk:NRBA-1.307.0.PRODselfwebpackChunk:NRBA-1.307.0.PROD||;r.forEach(t.bind(null,0)),r.pusht.bind(null,r.push.bind(r))})(),(()>{use strict;i(8374);var ei(8362),ti(860);const rObject.values(t.K7);var ni(5205);var si(9908),ai(1863),oi(4261),ci(1738);var di(1687),ui(4234),li(5289),hi(6154),fi(944),pi(5270),gi(7767),mi(6389),vi(7699);class b extends u.W{constructor(e,t){super(e.agentIdentifier,t),this.agentRefe,this.abortHandlervoid 0,this.featAggregatevoid 0,this.loadedSuccessfullyvoid 0,this.onAggregateImportednew Promise(e>{this.loadedSuccessfullye}),this.deferredPromise.resolve(),!1e.initthis.featureName.autoStart?this.deferrednew Promise((t,r)>{this.ee.on(manual-start-all,(0,m.J)(()>{(0,d.Ak)(e.agentIdentifier,this.featureName),t()}))}):(0,d.Ak)(e.agentIdentifier,t)}importAggregator(e,t,r{}){if(this.featAggregate)return;const nasync()>{let n;await this.deferred;try{if((0,g.V)(e.init)){const{setupAgentSession:t}await i.e(478).then(i.bind(i,8766));nt(e)}}catch(e){(0,f.R)(20,e),this.ee.emit(internal-error,e),(0,s.p)(v.qh,e,void 0,this.featureName,this.ee)}try{if(!this.#t(this.featureName,n,e.init))return(0,d.Ze)(this.agentIdentifier,this.featureName),void this.loadedSuccessfully(!1);const{Aggregate:i}await t();this.featAggregatenew i(e,r),e.runtime.harvester.initializedAggregates.push(this.featAggregate),this.loadedSuccessfully(!0)}catch(e){(0,f.R)(34,e),this.abortHandler?.(),(0,d.Ze)(this.agentIdentifier,this.featureName,!0),this.loadedSuccessfully(!1),this.ee&&this.ee.abort()}};h.RI?(0,l.GG)(()>n(),!0):n()}#t(e,r,n){if(this.blocked)return!1;switch(e){case t.K7.sessionReplay:return(0,p.SR)(n)&&!!r;case t.K7.sessionTrace:return!!r;default:return!0}}}var yi(6630),wi(2614),Ri(3241);class x extends b{static featureNamey.T;constructor(e){var t;super(e,y.T),this.setupInspectionEvents(e.agentIdentifier),te,(0,c.Y)(o.Fw,function(e,r){stringtypeof e&&(/!e.charAt(0)&&(e/+e),t.runtime.customTransaction(r||http://custom.transaction)+e,(0,s.p)(o.Pl+o.Fw,(0,a.t)(),void 0,void 0,t.ee))},t),this.importAggregator(e,()>i.e(478).then(i.bind(i,2467)))}setupInspectionEvents(e){const t(t,r)>{t&&(0,R.W)({agentIdentifier:e,timeStamp:t.timeStamp,loaded:completet.target.readyState,type:window,name:r,data:t.target.location+})};(0,l.sB)(e>{t(e,DOMContentLoaded)}),(0,l.GG)(e>{t(e,load)}),(0,l.Qr)(e>{t(e,navigate)}),this.ee.on(w.tS.UPDATE,(t,r)>{(0,R.W)({agentIdentifier:e,type:lifecycle,name:session,data:r})})}}var Ti(384);class E extends e.d{constructor(e){var t;(super(),h.gm)?(this.features{},(0,T.bQ)(this.agentIdentifier,this),this.desiredFeaturesnew Set(e.features||),this.desiredFeatures.add(x),(0,n.j)(this,e,e.loaderType||agent),tthis,(0,c.Y)(o.cD,function(e,r,n!1){if(stringtypeof e){if(string,number,boolean.includes(typeof r)||nullr)return(0,c.U)(t,e,r,o.cD,n);(0,f.R)(40,typeof r)}else(0,f.R)(39,typeof e)},t),function(e){(0,c.Y)(o.Dl,function(t,r!1){if(string!typeof t&&null!t)return void(0,f.R)(41,typeof t);const ne.info.jsAttributesenduser.id;r&&null!n&&n!t?(0,s.p)(o.Pl+setUserIdAndResetSession,t,void 0,session,e.ee):(0,c.U)(e,enduser.id,t,o.Dl,!0)},e)}(this),function(e){(0,c.Y)(o.nb,function(t){if(stringtypeof t||nullt)return(0,c.U)(e,application.version,t,o.nb,!1);(0,f.R)(42,typeof t)},e)}(this),function(e){(0,c.Y)(o.d3,function(){e.ee.emit(manual-start-all)},e)}(this),function(e){(0,c.Y)(o.Pv,function(t!0){if(booleantypeof t){if((0,s.p)(o.Pl+o.Pv,t,void 0,session,e.ee),e.runtime.consentedt,t){const te.features.page_view_event;t.onAggregateImported.then(e>{const rt.featAggregate;e&&!r.sentRum&&r.sendRum()})}}else(0,f.R)(65,typeof t)},e)}(this),this.run()):(0,f.R)(21)}get config(){return{info:this.info,init:this.init,loader_config:this.loader_config,runtime:this.runtime}}get api(){return this}run(){try{const efunction(e){const t{};return r.forEach(r>{tr!!er?.enabled}),t}(this.init),n...this.desiredFeatures;n.sort((e,r)>t.P3e.featureName-t.P3r.featureName),n.forEach(r>{if(!er.featureName&&r.featureName!t.K7.pageViewEvent)return;if(r.featureNamet.K7.spa)return void(0,f.R)(67);const nfunction(e){switch(e){case t.K7.ajax:returnt.K7.jserrors;case t.K7.sessionTrace:returnt.K7.ajax,t.K7.pageViewEvent;case t.K7.sessionReplay:returnt.K7.sessionTrace;case t.K7.pageViewTiming:returnt.K7.pageViewEvent;default:return}}(r.featureName).filter(e>!(e in this.features));n.length>0&&(0,f.R)(36,{targetFeature:r.featureName,missingDependencies:n}),this.featuresr.featureNamenew r(this)})}catch(e){(0,f.R)(22,e);for(const e in this.features)this.featurese.abortHandler?.();const t(0,T.Zm)();delete t.initializedAgentsthis.agentIdentifier?.features,delete this.sharedAggregator;return t.ee.get(this.agentIdentifier).abort(),!1}}}var Ai(2843),_i(782);class S extends b{static featureName_.T;constructor(e){super(e,_.T),h.RI&&((0,A.u)(()>(0,s.p)(docHidden,(0,a.t)(),void 0,_.T,this.ee),!0),(0,A.G)(()>(0,s.p)(winPagehide,(0,a.t)(),void 0,_.T,this.ee)),this.importAggregator(e,()>i.e(478).then(i.bind(i,9917))))}}var Oi(3969);class I extends b{static featureNameO.TZ;constructor(e){super(e,O.TZ),h.RI&&document.addEventListener(securitypolicyviolation,e>{(0,s.p)(O.xV,Generic/CSPViolation/Detected,void 0,this.featureName,this.ee)}),this.importAggregator(e,()>i.e(478).then(i.bind(i,6555)))}}var Ni(6774),Pi(3878),Di(3304);class k{constructor(e,t,r,n,i){this.nameUncaughtError,this.messagestringtypeof e?e:(0,D.A)(e),this.sourceURLt,this.liner,this.columnn,this.__newrelici}}function C(e){return M(e)?e:new k(void 0!e?.message?e.message:e,e?.filename||e?.sourceURL,e?.lineno||e?.line,e?.colno||e?.col,e?.__newrelic,e?.cause)}function j(e){const tUnhandled Promise Rejection: ;if(!e?.reason)return;if(M(e.reason)){try{e.reason.message.startsWith(t)||(e.reason.messaget+e.reason.message)}catch(e){}return C(e.reason)}const rC(e.reason);return(r.message||).startsWith(t)||(r.messaget+r.message),r}function L(e){if(e.error instanceof SyntaxError&&!/:\d+$/.test(e.error.stack?.trim())){const tnew k(e.message,e.filename,e.lineno,e.colno,e.error.__newrelic,e.cause);return t.nameSyntaxError.name,t}return M(e.error)?e.error:C(e)}function M(e){return e instanceof Error&&!!e.stack}function H(e,r,n,i,o(0,a.t)()){stringtypeof e&&(enew Error(e)),(0,s.p)(err,e,o,!1,r,n.runtime.isRecording,void 0,i,void 0,t.K7.jserrors,n.ee),(0,s.p)(uaErr,,void 0,t.K7.genericEvents,n.ee)}var Bi(4387),Ki(993),Wi(3785);function U(e,{customAttributes:t{},level:rK.p_.INFO}{},n,i,s(0,a.t)()){(0,W.R)(n.ee,e,t,r,!1,i,s)}function F(e,r,n,i,c(0,a.t)()){(0,s.p)(o.Pl+o.hG,c,e,r,i,void 0,t.K7.genericEvents,n.ee)}function V(e,r,n,i,c(0,a.t)()){const{start:d,end:u,customAttributes:l}r||{},h{customAttributes:l||{}};if(object!typeof h.customAttributes||string!typeof e||0e.length)return void(0,f.R)(57);const p(e,t)>nulle?t:numbertypeof e?e:e instanceof PerformanceMark?e.startTime:Number.NaN;if(h.startp(d,0),h.endp(u,c),Number.isNaN(h.start)||Number.isNaN(h.end))(0,f.R)(57);else{if(h.durationh.end-h.start,!(h.duration0))return(0,s.p)(o.Pl+o.V1,h,e,i,void 0,t.K7.genericEvents,n.ee),h;(0,f.R)(58)}}function G(e,r{},n,i,c(0,a.t)()){(0,s.p)(o.Pl+o.fF,c,e,r,i,void 0,t.K7.genericEvents,n.ee)}function z(e){(0,c.Y)(o.eY,function(t){return Y(e,t)},e)}function Y(e,r,n){const i{};(0,f.R)(54,newrelic.register),r||{},r.typeMFE,r.licenseKey||e.info.licenseKey,r.blocked!1,r.parentn||{};let o()>{};const ce.runtime.registeredEntities,dc.find(({metadata:{target:{id:e,name:t}}})>er.id);if(d)return d.metadata.target.name!r.name&&(d.metadata.target.namer.name),d;const ue>{r.blocked!0,oe};e.init.api.allow_registered_children||u((0,m.J)(()>(0,f.R)(55))),(0,B.c7)(r)||u((0,m.J)(()>(0,f.R)(48,r))),(0,B.yo)(r.id)&&(0,B.yo)(r.name)||u((0,m.J)(()>(0,f.R)(48,r)));const l{addPageAction:(t,n{})>g(F,t,{...i,...n},e,r),log:(t,n{})>g(U,t,{...n,customAttributes:{...i,...n.customAttributes||{}}},e,r),measure:(t,n{})>g(V,t,{...n,customAttributes:{...i,...n.customAttributes||{}}},e,r),noticeError:(t,n{})>g(H,t,{...i,...n},e,r),register:(t{})>g(Y,e,t,l.metadata.target),recordCustomEvent:(t,n{})>g(G,t,{...i,...n},e,r),setApplicationVersion:e>p(application.version,e),setCustomAttribute:(e,t)>p(e,t),setUserId:e>p(enduser.id,e),metadata:{customAttributes:i,target:r}},h()>(r.blocked&&o(),r.blocked);h()||c.push(l);const p(e,t)>{h()||(iet)},g(r,n,i)>{if(h())return;const o(0,a.t)();(0,s.p)(O.xV,API/register/.concat(r.name,/called),void 0,t.K7.metrics,e.ee);try{return e.init.api.duplicate_registered_data&®ister!r.name&&r(...n,void 0,o),r(...n,i,o)}catch(e){(0,f.R)(50,e)}};return l}class Z extends b{static featureNameN.T;constructor(e){var t;super(e,N.T),te,(0,c.Y)(o.o5,(e,r)>H(e,r,t),t),function(e){(0,c.Y)(o.bt,function(t){e.runtime.onerrort},e)}(e),function(e){let t0;(0,c.Y)(o.k6,function(e,r){++t>10||(this.runtime.releaseIdse.slice(-200)(+r).slice(-200))},e)}(e),z(e);try{this.removeOnAbortnew AbortController}catch(e){}this.ee.on(internal-error,(t,r)>{this.abortHandler&&(0,s.p)(ierr,C(t),(0,a.t)(),!0,{},e.runtime.isRecording,r,void 0,this.featureName,this.ee)}),h.gm.addEventListener(unhandledrejection,t>{this.abortHandler&&(0,s.p)(err,j(t),(0,a.t)(),!1,{unhandledPromiseRejection:1},e.runtime.isRecording,void 0,this.featureName,this.ee)},(0,P.jT)(!1,this.removeOnAbort?.signal)),h.gm.addEventListener(error,t>{this.abortHandler&&(0,s.p)(err,L(t),(0,a.t)(),!1,{},e.runtime.isRecording,void 0,this.featureName,this.ee)},(0,P.jT)(!1,this.removeOnAbort?.signal)),this.abortHandlerthis.#r,this.importAggregator(e,()>i.e(478).then(i.bind(i,2176)))}#r(){this.removeOnAbort?.abort(),this.abortHandlervoid 0}}var qi(8990);let X1;function J(e){const ttypeof e;return!e||object!t&&function!t?-1:eh.gm?0:(0,q.I)(e,nr@id,function(){return X++})}function Q(e){if(stringtypeof e&&e.length)return e.length;if(objecttypeof e){if(undefined!typeof ArrayBuffer&&e instanceof ArrayBuffer&&e.byteLength)return e.byteLength;if(undefined!typeof Blob&&e instanceof Blob&&e.size)return e.size;if(!(undefined!typeof FormData&&e instanceof FormData))try{return(0,D.A)(e).length}catch(e){return}}}var eei(8139),tei(7836),rei(3434);const ne{},ieopen,send;function se(e){var te||te.ee;const rfunction(e){return(e||te.ee).get(xhr)}(t);if(void 0h.gm.XMLHttpRequest)return r;if(ner.debugId++)return r;ner.debugId1,(0,ee.u)(t);var n(0,re.YM)(r),ih.gm.XMLHttpRequest,sh.gm.MutationObserver,ah.gm.Promise,oh.gm.setInterval,creadystatechange,donload,onerror,onabort,onloadstart,onloadend,onprogress,ontimeout,u,lh.gm.XMLHttpRequestfunction(e){const tnew i(e),sr.context(t);try{r.emit(new-xhr,t,s),t.addEventListener(c,(as,function(){var ethis;e.readyState>3&&!a.resolved&&(a.resolved!0,r.emit(xhr-resolved,,e)),n.inPlace(e,d,fn-,y)}),(0,P.jT)(!1))}catch(e){(0,f.R)(15,e);try{r.emit(internal-error,e)}catch(e){}}var a;return t};function p(e,t){n.inPlace(t,onreadystatechange,fn-,y)}if(function(e,t){for(var r in e)trer}(i,l),l.prototypei.prototype,n.inPlace(l.prototype,ie,-xhr-,y),r.on(send-xhr-start,function(e,t){p(e,t),function(e){u.push(e),s&&(g?g.then(b):o?o(b):(m-m,v.datam))}(t)}),r.on(open-xhr-start,p),s){var ga&&a.resolve();if(!o&&!a){var m1,vdocument.createTextNode(m);new s(b).observe(v,{characterData:!0})}}else t.on(fn-end,function(e){e0&&e0.typec||b()});function b(){for(var e0;eu.length;e++)p(0,ue);u.length&&(u)}function y(e,t){return t}return r}var aefetch-,oeae+body-,cearrayBuffer,blob,json,text,formData,deh.gm.Request,ueh.gm.Response,leprototype;const he{};function fe(e){const tfunction(e){return(e||te.ee).get(fetch)}(e);if(!(de&&ue&&h.gm.fetch))return t;if(het.debugId++)return t;function r(e,r,n){var ier;functiontypeof i&&(erfunction(){var e,r...arguments,s{};t.emit(n+before-start,r,s),ste.P&&ste.P.dt&&(este.P.dt);var ai.apply(this,r);return t.emit(n+start,r,e,a),a.then(function(e){return t.emit(n+end,null,e,a),e},function(e){throw t.emit(n+end,e,a),e})})}return het.debugId1,ce.forEach(e>{r(dele,e,oe),r(uele,e,oe)}),r(h.gm,fetch,ae),t.on(ae+end,function(e,r){var nthis;if(r){var ir.headers.get(content-length);null!i&&(n.rxSizei),t.emit(ae+done,null,r,n)}else t.emit(ae+done,e,n)}),t}var pei(7485),gei(9566);class me{constructor(e){this.agentRefe}generateTracePayload(e){const tthis.agentRef.loader_config;if(!this.shouldGenerateTrace(e)||!t)return null;var r(t.accountID||).toString()||null,n(t.agentID||).toString()||null,i(t.trustKey||).toString()||null;if(!r||!n)return null;var s(0,ge.ZF)(),a(0,ge.el)(),oDate.now(),c{spanId:s,traceId:a,timestamp:o};return(e.sameOrigin||this.isAllowedOrigin(e)&&this.useTraceContextHeadersForCors())&&(c.traceContextParentHeaderthis.generateTraceContextParentHeader(s,a),c.traceContextStateHeaderthis.generateTraceContextStateHeader(s,o,r,n,i)),(e.sameOrigin&&!this.excludeNewrelicHeader()||!e.sameOrigin&&this.isAllowedOrigin(e)&&this.useNewrelicHeaderForCors())&&(c.newrelicHeaderthis.generateTraceHeader(s,a,o,r,n,i)),c}generateTraceContextParentHeader(e,t){return00-+t+-+e+-01}generateTraceContextStateHeader(e,t,r,n,i){return i+@nr0-1-+r+-+n+-+e+----+t}generateTraceHeader(e,t,r,n,i,s){if(!(functiontypeof h.gm?.btoa))return null;var a{v:0,1,d:{ty:Browser,ac:n,ap:i,id:e,tr:t,ti:r}};return s&&n!s&&(a.d.tks),btoa((0,D.A)(a))}shouldGenerateTrace(e){return this.agentRef.init?.distributed_tracing?.enabled&&this.isAllowedOrigin(e)}isAllowedOrigin(e){var t!1;const rthis.agentRef.init?.distributed_tracing;if(e.sameOrigin)t!0;else if(r?.allowed_origins instanceof Array)for(var n0;nr.allowed_origins.length;n++){var i(0,pe.D)(r.allowed_originsn);if(e.hostnamei.hostname&&e.protocoli.protocol&&e.porti.port){t!0;break}}return t}excludeNewrelicHeader(){var ethis.agentRef.init?.distributed_tracing;return!!e&&!!e.exclude_newrelic_header}useNewrelicHeaderForCors(){var ethis.agentRef.init?.distributed_tracing;return!!e&&!1!e.cors_use_newrelic_header}useTraceContextHeadersForCors(){var ethis.agentRef.init?.distributed_tracing;return!!e&&!!e.cors_use_tracecontext_headers}}var vei(9300),bei(7295);function ye(e){returnstringtypeof e?e:e instanceof(0,T.dV)().o.REQ?e.url:h.gm?.URL&&e instanceof URL?e.href:void 0}var weload,error,abort,timeout,Rewe.length,xe(0,T.dV)().o.REQ,Te(0,T.dV)().o.XHR;const EeX-NewRelic-App-Data;class Ae extends b{static featureNameve.T;constructor(e){super(e,ve.T),this.dtnew me(e),this.handler(e,t,r,n)>(0,s.p)(e,t,r,n,this.ee);try{const e{xmlhttprequest:xhr,fetch:fetch,beacon:beacon};h.gm?.performance?.getEntriesByType(resource).forEach(r>{if(r.initiatorType in e&&0!r.responseStatus){const n{status:r.responseStatus},i{rxSize:r.transferSize,duration:Math.floor(r.duration),cbTime:0};_e(n,r.name),this.handler(xhr,n,i,r.startTime,r.responseEnd,er.initiatorType,void 0,t.K7.ajax)}})}catch(e){}fe(this.ee),se(this.ee),function(e,r,n,i){function o(e){var tthis;t.totalCbs0,t.called0,t.cbTime0,t.endT,t.ended!1,t.xhrGuids{},t.lastSizenull,t.loadCaptureCalled!1,t.paramsthis.params||{},t.metricsthis.metrics||{},t.latestLongtaskEnd0,e.addEventListener(load,function(r){E(t,e)},(0,P.jT)(!1)),h.lR||e.addEventListener(progress,function(e){t.lastSizee.loaded},(0,P.jT)(!1))}function c(e){this.params{method:e0},_e(this,e1),this.metrics{}}function d(t,r){e.loader_config.xpid&&this.sameOrigin&&r.setRequestHeader(X-NewRelic-ID,e.loader_config.xpid);var ni.generateTracePayload(this.parsedOrigin);if(n){var s!1;n.newrelicHeader&&(r.setRequestHeader(newrelic,n.newrelicHeader),s!0),n.traceContextParentHeader&&(r.setRequestHeader(traceparent,n.traceContextParentHeader),n.traceContextStateHeader&&r.setRequestHeader(tracestate,n.traceContextStateHeader),s!0),s&&(this.dtn)}}function u(e,t){var nthis.metrics,ie0,sthis;if(n&&i){var oQ(i);o&&(n.txSizeo)}this.startTime(0,a.t)(),this.bodyi,this.listenerfunction(e){try{abort!e.type||s.loadCaptureCalled||(s.params.aborted!0),(load!e.type||s.calleds.totalCbs&&(s.onloadCalled||function!typeof t.onload)&&functiontypeof s.end)&&s.end(t)}catch(e){try{r.emit(internal-error,e)}catch(e){}}};for(var c0;cRe;c++)t.addEventListener(wec,this.listener,(0,P.jT)(!1))}function l(e,t,r){this.cbTime+e,t?this.onloadCalled!0:this.called+1,this.called!this.totalCbs||!this.onloadCalled&&functiontypeof r.onload||function!typeof this.end||this.end(r)}function f(e,t){var r+J(e)+!!t;this.xhrGuids&&!this.xhrGuidsr&&(this.xhrGuidsr!0,this.totalCbs+1)}function p(e,t){var r+J(e)+!!t;this.xhrGuids&&this.xhrGuidsr&&(delete this.xhrGuidsr,this.totalCbs-1)}function g(){this.endTime(0,a.t)()}function m(e,t){t instanceof Te&&loade0&&r.emit(xhr-load-added,e1,e2,t)}function v(e,t){t instanceof Te&&loade0&&r.emit(xhr-load-removed,e1,e2,t)}function b(e,t,r){t instanceof Te&&(onloadr&&(this.onload!0),(load(e0&&e0.type)||this.onload)&&(this.xhrCbStart(0,a.t)()))}function y(e,t){this.xhrCbStart&&r.emit(xhr-cb-time,(0,a.t)()-this.xhrCbStart,this.onload,t,t)}function w(e){var t,re1||{};if(stringtypeof e0?0(te0).length&&h.RI&&(t+h.gm.location.href):e0&&e0.url?te0.url:h.gm?.URL&&e0&&e0instanceof URL?te0.href:functiontypeof e0.toString&&(te0.toString()),stringtypeof t&&0!t.length){t&&(this.parsedOrigin(0,pe.D)(t),this.sameOriginthis.parsedOrigin.sameOrigin);var ni.generateTracePayload(this.parsedOrigin);if(n&&(n.newrelicHeader||n.traceContextParentHeader))if(e0&&e0.headers)o(e0.headers,n)&&(this.dtn);else{var s{};for(var a in r)sara;s.headersnew Headers(r.headers||{}),o(s.headers,n)&&(this.dtn),e.length>1?e1s:e.push(s)}}function o(e,t){var r!1;return t.newrelicHeader&&(e.set(newrelic,t.newrelicHeader),r!0),t.traceContextParentHeader&&(e.set(traceparent,t.traceContextParentHeader),t.traceContextStateHeader&&e.set(tracestate,t.traceContextStateHeader),r!0),r}}function R(e,t){this.params{},this.metrics{},this.startTime(0,a.t)(),this.dtt,e.length>1&&(this.targete0),e.length>2&&(this.optse1);var rthis.opts||{},nthis.target;_e(this,ye(n));var i(+(n&&n instanceof xe&&n.method||r.method||GET)).toUpperCase();this.params.methodi,this.bodyr.body,this.txSizeQ(r.body)||0}function x(e,r){if(this.endTime(0,a.t)(),this.params||(this.params{}),(0,be.iW)(this.params))return;let i;this.params.statusr?r.status:0,stringtypeof this.rxSize&&this.rxSize.length>0&&(i+this.rxSize);const s{txSize:this.txSize,rxSize:i,duration:(0,a.t)()-this.startTime};n(xhr,this.params,s,this.startTime,this.endTime,fetch,this,t.K7.ajax)}function T(e){const rthis.params,ithis.metrics;if(!this.ended){this.ended!0;for(let t0;tRe;t++)e.removeEventListener(wet,this.listener,!1);r.aborted||(0,be.iW)(r)||(i.duration(0,a.t)()-this.startTime,this.loadCaptureCalled||4!e.readyState?nullr.status&&(r.status0):E(this,e),i.cbTimethis.cbTime,n(xhr,r,i,this.startTime,this.endTime,xhr,this,t.K7.ajax))}}function E(e,n){e.params.statusn.status;var ifunction(e,t){var re.responseType;returnjsonr&&null!t?t:arraybufferr||blobr||jsonr?Q(e.response):textr||r||void 0r?Q(e.responseText):void 0}(n,e.lastSize);if(i&&(e.metrics.rxSizei),e.sameOrigin&&n.getAllResponseHeaders().indexOf(Ee)>0){var an.getResponseHeader(Ee);a&&((0,s.p)(O.rs,Ajax/CrossApplicationTracing/Header/Seen,void 0,t.K7.metrics,r),e.params.cata.split(, ).pop())}e.loadCaptureCalled!0}r.on(new-xhr,o),r.on(open-xhr-start,c),r.on(open-xhr-end,d),r.on(send-xhr-start,u),r.on(xhr-cb-time,l),r.on(xhr-load-added,f),r.on(xhr-load-removed,p),r.on(xhr-resolved,g),r.on(addEventListener-end,m),r.on(removeEventListener-end,v),r.on(fn-end,y),r.on(fetch-before-start,w),r.on(fetch-start,R),r.on(fn-start,b),r.on(fetch-done,x)}(e,this.ee,this.handler,this.dt),this.importAggregator(e,()>i.e(478).then(i.bind(i,3845)))}}function _e(e,t){var r(0,pe.D)(t),ne.params||e;n.hostnamer.hostname,n.portr.port,n.protocolr.protocol,n.hostr.hostname+:+r.port,n.pathnamer.pathname,e.parsedOriginr,e.sameOriginr.sameOrigin}const Se{},OepushState,replaceState;function Ie(e){const tfunction(e){return(e||te.ee).get(history)}(e);return!h.RI||Set.debugId++||(Set.debugId1,(0,re.YM)(t).inPlace(window.history,Oe,-)),t}var Nei(3738);function Pe(e){(0,c.Y)(o.BL,function(rDate.now()){const nr-h.WN;n0&&(0,f.R)(62,r),(0,s.p)(O.XG,o.BL,{time:n},void 0,t.K7.metrics,e.ee),e.addToTrace({name:o.BL,start:r,origin:nr}),(0,s.p)(o.Pl+o.hG,n,o.BL,void 0,t.K7.genericEvents,e.ee)},e)}const{He:De,bD:ke,d3:Ce,Kp:je,TZ:Le,Lc:Me,uP:He,Rz:Be}Ne;class Ke extends b{static featureNameLe;constructor(e){var r;super(e,Le),re,(0,c.Y)(o.U2,function(e){if(!(e&&objecttypeof e&&e.name&&e.start))return;const n{n:e.name,s:e.start-h.WN,e:(e.end||e.start)-h.WN,o:e.origin||,t:api};n.s0||n.e0||n.en.s?(0,f.R)(61,{start:n.s,end:n.e}):(0,s.p)(bstApi,n,void 0,t.K7.sessionTrace,r.ee)},r),Pe(e);if(!(0,g.V)(e.init))return void this.deregisterDrain();const nthis.ee;let d;Ie(n),this.eventsEE(0,ee.u)(n),this.eventsEE.on(He,function(e,t){this.bstStart(0,a.t)()}),this.eventsEE.on(Me,function(e,r){(0,s.p)(bst,e0,r,this.bstStart,(0,a.t)(),void 0,t.K7.sessionTrace,n)}),n.on(Be+Ce,function(e){this.time(0,a.t)(),this.startPathlocation.pathname+location.hash}),n.on(Be+je,function(e){(0,s.p)(bstHist,location.pathname+location.hash,this.startPath,this.time,void 0,t.K7.sessionTrace,n)});try{dnew PerformanceObserver(e>{const re.getEntries();(0,s.p)(De,r,void 0,t.K7.sessionTrace,n)}),d.observe({type:ke,buffered:!0})}catch(e){}this.importAggregator(e,()>i.e(478).then(i.bind(i,6974)),{resourceObserver:d})}}var Wei(6344);class Ue extends b{static featureNameWe.TZ;#n;recorder;constructor(e){var r;let n;super(e,We.TZ),re,(0,c.Y)(o.CH,function(){(0,s.p)(o.CH,,void 0,t.K7.sessionReplay,r.ee)},r),function(e){(0,c.Y)(o.Tb,function(){(0,s.p)(o.Tb,,void 0,t.K7.sessionReplay,e.ee)},e)}(e);try{nJSON.parse(localStorage.getItem(.concat(w.H3,_).concat(w.uh)))}catch(e){}(0,p.SR)(e.init)&&this.ee.on(o.CH,()>this.#i()),this.#s(n)&&this.importRecorder().then(e>{e.startRecording(We.Qb.PRELOAD,n?.sessionReplayMode)}),this.importAggregator(this.agentRef,()>i.e(478).then(i.bind(i,6167)),this),this.ee.on(err,e>{this.blocked||this.agentRef.runtime.isRecording&&(this.errorNoticed!0,(0,s.p)(We.Vh,e,void 0,this.featureName,this.ee))})}#s(e){return e&&(e.sessionReplayModew.g.FULL||e.sessionReplayModew.g.ERROR)||(0,p.Aw)(this.agentRef.init)}importRecorder(){return this.recorder?Promise.resolve(this.recorder):(this.#n??Promise.all(i.e(478),i.e(249)).then(i.bind(i,4866)).then(({Recorder:e})>(this.recordernew e(this),this.recorder)).catch(e>{throw this.ee.emit(internal-error,e),this.blocked!0,e}),this.#n)}#i(){this.blocked||(this.featAggregate?this.featAggregate.mode!w.g.FULL&&this.featAggregate.initializeRecording(w.g.FULL,!0,We.Qb.API):this.importRecorder().then(()>{this.recorder.startRecording(We.Qb.API,w.g.FULL)}))}}var Fei(3962);class Ve extends b{static featureNameFe.TZ;constructor(e){if(super(e,Fe.TZ),function(e){const re.ee.get(tracer);function n(){}(0,c.Y)(o.dT,function(e){return(new n).get(objecttypeof e?e:{})},e);const in.prototype{createTracer:function(n,i){var o{},cthis,dfunctiontypeof i;return(0,s.p)(O.xV,API/createTracer/called,void 0,t.K7.metrics,e.ee),function(){if(r.emit((d?:no-)+fn-start,(0,a.t)(),c,d,o),d)try{return i.apply(this,arguments)}catch(e){const tstringtypeof e?new Error(e):e;throw r.emit(fn-err,arguments,this,t,o),t}finally{r.emit(fn-end,(0,a.t)(),o)}}}};actionText,setName,setAttribute,save,ignore,onEnd,getContext,end,get.forEach(r>{c.Y.apply(this,r,function(){return(0,s.p)(o.hw+r,performance.now(),...arguments,this,t.K7.softNav,e.ee),this},e,i)}),(0,c.Y)(o.PA,function(){(0,s.p)(o.hw+routeName,performance.now(),...arguments,void 0,t.K7.softNav,e.ee)},e)}(e),!h.RI||!(0,T.dV)().o.MO)return;const rIe(this.ee);try{this.removeOnAbortnew AbortController}catch(e){}Fe.tC.forEach(e>{(0,P.sp)(e,e>{l(e)},!0,this.removeOnAbort?.signal)});const n()>(0,s.p)(newURL,(0,a.t)(),+window.location,void 0,this.featureName,this.ee);r.on(pushState-end,n),r.on(replaceState-end,n),(0,P.sp)(Fe.OV,e>{l(e),(0,s.p)(newURL,e.timeStamp,+window.location,void 0,this.featureName,this.ee)},!0,this.removeOnAbort?.signal);let d!1;const unew((0,T.dV)().o.MO)((e,t)>{d||(d!0,requestAnimationFrame(()>{(0,s.p)(newDom,(0,a.t)(),void 0,this.featureName,this.ee),d!1}))}),l(0,m.s)(e>{loading!document.readyState&&((0,s.p)(newUIEvent,e,void 0,this.featureName,this.ee),u.observe(document.body,{attributes:!0,childList:!0,subtree:!0,characterData:!0}))},100,{leading:!0});this.abortHandlerfunction(){this.removeOnAbort?.abort(),u.disconnect(),this.abortHandlervoid 0},this.importAggregator(e,()>i.e(478).then(i.bind(i,4393)),{domObserver:u})}}var Gei(3333);const ze{},Yenew Set;function Ze(e){returnstringtypeof e?{type:string,size:(new TextEncoder).encode(e).length}:e instanceof ArrayBuffer?{type:ArrayBuffer,size:e.byteLength}:e instanceof Blob?{type:Blob,size:e.size}:e instanceof DataView?{type:DataView,size:e.byteLength}:ArrayBuffer.isView(e)?{type:TypedArray,size:e.byteLength}:{type:unknown,size:0}}class qe{constructor(e,t){this.timestamp(0,a.t)(),this.currentUrlwindow.location.href,this.socketId(0,ge.LA)(8),this.requestedUrle,this.requestedProtocolsArray.isArray(t)?t.join(,):t||,this.openedAtvoid 0,this.protocolvoid 0,this.extensionsvoid 0,this.binaryTypevoid 0,this.messageOriginvoid 0,this.messageCountvoid 0,this.messageBytesvoid 0,this.messageBytesMinvoid 0,this.messageBytesMaxvoid 0,this.messageTypesvoid 0,this.sendCountvoid 0,this.sendBytesvoid 0,this.sendBytesMinvoid 0,this.sendBytesMaxvoid 0,this.sendTypesvoid 0,this.closedAtvoid 0,this.closeCodevoid 0,this.closeReasonvoid 0,this.closeWasCleanvoid 0,this.connectedDurationvoid 0,this.hasErrorsvoid 0}}class Xe extends b{static featureNameGe.TZ;constructor(e){super(e,Ge.TZ);const re.init.feature_flags.includes(websockets),ne.init.page_action.enabled,e.init.performance.capture_marks,e.init.performance.capture_measures,e.init.performance.resources.enabled,e.init.user_actions.enabled,r;var d;let u,l;if(de,(0,c.Y)(o.hG,(e,t)>F(e,t,d),d),function(e){(0,c.Y)(o.fF,(t,r)>G(t,r,e),e)}(e),Pe(e),z(e),function(e){(0,c.Y)(o.V1,(t,r)>V(t,r,e),e)}(e),r&&(lfunction(e){if(!(0,T.dV)().o.WS)return e;const te.get(websockets);if(zet.debugId++)return t;zet.debugId1,(0,A.G)(()>{const e(0,a.t)();Ye.forEach(r>{r.nrData.closedAte,r.nrData.closeCode1001,r.nrData.closeReasonPage navigating away,r.nrData.closeWasClean!1,r.nrData.openedAt&&(r.nrData.connectedDuratione-r.nrData.openedAt),t.emit(ws,r.nrData,r)})});class r extends WebSocket{static nameWebSocket;static toString(){returnfunction WebSocket() { native code }}toString(){returnobject WebSocket}getSymbol.toStringTag(){return r.name}#a(e){(e.__newrelic??{}).socketIdthis.nrData.socketId,this.nrData.hasErrors??!0}constructor(...e){super(...e),this.nrDatanew qe(e0,e1),this.addEventListener(open,()>{this.nrData.openedAt(0,a.t)(),protocol,extensions,binaryType.forEach(e>{this.nrDataethise}),Ye.add(this)}),this.addEventListener(message,e>{const{type:t,size:r}Ze(e.data);this.nrData.messageOrigin??e.origin,this.nrData.messageCount(this.nrData.messageCount??0)+1,this.nrData.messageBytes(this.nrData.messageBytes??0)+r,this.nrData.messageBytesMinMath.min(this.nrData.messageBytesMin??1/0,r),this.nrData.messageBytesMaxMath.max(this.nrData.messageBytesMax??0,r),(this.nrData.messageTypes??).includes(t)||(this.nrData.messageTypesthis.nrData.messageTypes?.concat(this.nrData.messageTypes,,).concat(t):t)}),this.addEventListener(close,e>{this.nrData.closedAt(0,a.t)(),this.nrData.closeCodee.code,this.nrData.closeReasone.reason,this.nrData.closeWasCleane.wasClean,this.nrData.connectedDurationthis.nrData.closedAt-this.nrData.openedAt,Ye.delete(this),t.emit(ws,this.nrData,this)})}addEventListener(e,t,...r){const nthis,ifunctiontypeof t?function(...e){try{return t.apply(this,e)}catch(e){throw n.#a(e),e}}:t?.handleEvent?{handleEvent:function(...e){try{return t.handleEvent.apply(t,e)}catch(e){throw n.#a(e),e}}}:t;return super.addEventListener(e,i,...r)}send(e){if(this.readyStateWebSocket.OPEN){const{type:t,size:r}Ze(e);this.nrData.sendCount(this.nrData.sendCount??0)+1,this.nrData.sendBytes(this.nrData.sendBytes??0)+r,this.nrData.sendBytesMinMath.min(this.nrData.sendBytesMin??1/0,r),this.nrData.sendBytesMaxMath.max(this.nrData.sendBytesMax??0,r),(this.nrData.sendTypes??).includes(t)||(this.nrData.sendTypesthis.nrData.sendTypes?.concat(this.nrData.sendTypes,,).concat(t):t)}try{return super.send(e)}catch(e){throw this.#a(e),e}}close(...e){try{super.close(...e)}catch(e){throw this.#a(e),e}}}return h.gm.WebSocketr,t}(this.ee)),h.RI){if(fe(this.ee),se(this.ee),uIe(this.ee),e.init.user_actions.enabled){function f(t){const r(0,pe.D)(t);return e.beacons.includes(r.hostname+:+r.port)}function p(){u.emit(navChange)}Ge.Zp.forEach(e>(0,P.sp)(e,e>(0,s.p)(ua,e,void 0,this.featureName,this.ee),!0)),Ge.qN.forEach(e>{const t(0,m.s)(e>{(0,s.p)(ua,e,void 0,this.featureName,this.ee)},500,{leading:!0});(0,P.sp)(e,t)}),h.gm.addEventListener(error,()>{(0,s.p)(uaErr,,void 0,t.K7.genericEvents,this.ee)},(0,P.jT)(!1,this.removeOnAbort?.signal)),this.ee.on(open-xhr-start,(e,r)>{f(e1)||r.addEventListener(readystatechange,()>{2r.readyState&&(0,s.p)(uaXhr,,void 0,t.K7.genericEvents,this.ee)})}),this.ee.on(fetch-start,e>{e.length>1&&!f(ye(e0))&&(0,s.p)(uaXhr,,void 0,t.K7.genericEvents,this.ee)}),u.on(pushState-end,p),u.on(replaceState-end,p),window.addEventListener(hashchange,p,(0,P.jT)(!0,this.removeOnAbort?.signal)),window.addEventListener(popstate,p,(0,P.jT)(!0,this.removeOnAbort?.signal))}if(e.init.performance.resources.enabled&&h.gm.PerformanceObserver?.supportedEntryTypes.includes(resource)){new PerformanceObserver(e>{e.getEntries().forEach(e>{(0,s.p)(browserPerformance.resource,e,void 0,this.featureName,this.ee)})}).observe({type:resource,buffered:!0})}}r&&l.on(ws,e>{(0,s.p)(ws-complete,e,void 0,this.featureName,this.ee)});try{this.removeOnAbortnew AbortController}catch(g){}this.abortHandler()>{this.removeOnAbort?.abort(),this.abortHandlervoid 0},n.some(e>e)?this.importAggregator(e,()>i.e(478).then(i.bind(i,8019))):this.deregisterDrain()}}var Jei(2646);const Qenew Map;function $e(e,t,r,n,i!0){if(object!typeof t||!t||string!typeof r||!r||function!typeof tr)return(0,f.R)(29);const sfunction(e){return(e||te.ee).get(logger)}(e),a(0,re.YM)(s),onew Je.y(te.P);o.leveln.level,o.customAttributesn.customAttributes,o.autoCapturedi;const ctr?.re.Jt||tr;return Qe.set(c,o),a.inPlace(t,r,wrap-logger-,()>Qe.get(c)),s}var eti(1910);class tt extends b{static featureNameK.TZ;constructor(e){var t;super(e,K.TZ),te,(0,c.Y)(o.$9,(e,r)>U(e,r,t),t),function(e){(0,c.Y)(o.Wb,(t,r,{customAttributes:n{},level:iK.p_.INFO}{})>{$e(e.ee,t,r,{customAttributes:n,level:i},!1)},e)}(e),z(e);const rthis.ee;log,error,warn,info,debug,trace.forEach(e>{(0,et.i)(h.gm.consolee),$e(r,h.gm.console,e,{level:loge?info:e})}),this.ee.on(wrap-logger-end,function(e){const{level:t,customAttributes:n,autoCaptured:i}this;(0,W.R)(r,e,n,t,i)}),this.importAggregator(e,()>i.e(478).then(i.bind(i,5288)))}}new E({features:Ae,x,S,Ke,Ue,I,Z,Xe,tt,Ve,loaderType:spa})})()})();/script> meta namedescription content> meta namekeywords contentKaralee Pizza and Ribs, Karalee Pizza, Karalee Ribs, Karalee Pizza and Ribs Restaurants, Karalee Pizza and Ribs Menu, Karalee Pizza Delivery, Karalee Delivery, Karalee Pickup, Karalee Order Online /> meta nameauthor contentDeliverit Software>meta nameROBOTS CONTENTINDEX, FOLLOW>script typetext/javascript>var HTTP_URL https://karaleepizza.com.au/;/script>script typetext/javascript>var REL_URL core/;/script>script typetext/javascript>var S3_ASSETS_URL https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/;/script>script typetext/javascript>var PARTNER_ID 1;/script>script typetext/javascript>var PAGE_NAME browse;/script> meta propertyog:title contentKaralee Pizza and Ribs /> meta propertyog:type contentwebsite /> meta propertyog:url contenthttp://karaleepizza.com.au /> meta propertyog:image contenthttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/logo.png /> meta propertyog:description content /> meta contentwidthdevice-width, initial-scale1, maximum-scale1, user-scalableno nameviewport> meta nameapple-mobile-web-app-capable contentyes /> meta http-equivCache-control contentpublic> meta namegoogle-signin-scope contentprofile email> meta namegoogle-signin-client_id content998318551514-2oa1fjg0j4olosmpbr0pjl91m4uecpr7.apps.googleusercontent.com> link relcanonical hrefhttps://karaleepizza.com.au/> link relshortcut icon hrefhttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/favicon.png typeimage/x-icon> link relapple-touch-startup-image media(device-width: 320px) and (device-height: 568px) and (-webkit-device-pixel-ratio: 2) hrefimages/startup.png> style> #menu-items, #main-content, .mainpage, .office-info, .footerWrap{ display: none; } #main-content{ min-height: 100%; } #wrap:before{ content: ; background: #000; width: 100%; height: 100%; } /* * Select2 css */ .selection{ width: 100%; } .select2-container{ height: 33px!important; line-height: 33px!important; } .select2-selection__rendered { padding-left: 30px!important; padding-right: 12px; } .select2-container .select2-selection--single { height: 35px!important; } .select2-container--default .select2-selection--single .select2-selection__rendered{ line-height: 33px!important; } .has-error .select2-selection { border-color: #a94442!important; } .has-success .select2-selection { border-color: #3c763d!important; } .select2-selection--single { height: 100% !important; } .select2-selection__rendered{ word-wrap: break-word !important; text-overflow: inherit !important; white-space: normal !important; } #product_version .modal { text-align: center; padding: 0!important; background: none !important; } #product_version .modal-content{ box-shadow: none !important; border-radius: 0; } #product_version .modal-header{ background: #a91919; color: #fff; } #product_version .modal-body{ word-break: break-word; } #product_version .modal:before { content: ; display: inline-block; height: 100%; vertical-align: middle; margin-right: -4px; /* Adjusts for spacing */ } #product_version .modal-dialog { display: inline-block; text-align: left; vertical-align: middle; } #product_version .modal-header .close{ color: #fff; text-align: unset; } #table-txt{ width: 96%; margin-left: 2%; padding: 15px 0; text-align: center; font-size: 25px; font-weight: 700; background-color: #3498db; color: #fff; } @media only screen and (max-width: 414px){ #table-txt{ width: 94%; margin-left: 3%; } } /* OOA-109 Remove pause button */ .ui-pnotify .ui-pnotify-sticker{ display: none; } /* Loke loader */ .loader_wrapper { background-color: #fff; width: 100%; height: 100%; z-index: 1030; position: fixed; } .loader_container { position: fixed; width: 100%; height: 100%; top: 20%; z-index: 1031; } .loader_ajax_small { border: 3px solid #eee !important; border-radius: 50%; border-top: 2px solid #333 !important; width: 100px; height: 100px; margin: 0 auto; -webkit-animation: spin_loader_ajax_small 2s linear infinite; animation: spin_loader_ajax_small 2s linear infinite; } @-webkit-keyframes spin_loader_ajax_small { 0% { -webkit-transform: rotate(0deg); } 100% { -webkit-transform: rotate(360deg); } } @keyframes spin_loader_ajax_small { 0% { transform: rotate(0deg); } 100% { transform: rotate(360deg); } } .pac-container{ background-color: #ffffff; position: absolute; z-index: 1000; border-top: 1px solid #d9d9d9; -webkit-box-shadow: 0 2px 6px rgba(0,0,0,.3); box-shadow: 0 2px 6px rgba(0,0,0,.3); -webkit-box-sizing: border-box; box-sizing: border-box; overflow: hidden; } /style> link hrefhttps://fonts.googleapis.com/css?familyRubik|Poppins|Open+Sans:300italic,400italic,600italic,700italic,800italic,400,300,600,700,800 relstylesheet typetext/css> style> @font-face { font-family: Glyphicons Halflings; src: url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/glyphicons-halflings-regular.eot); src: url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/glyphicons-halflings-regular.eot?#iefix) format(embedded-opentype), url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/glyphicons-halflings-regular.woff) format(woff), url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/glyphicons-halflings-regular.ttf) format(truetype), url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/glyphicons-halflings-regular.svg#BebasRegular) format(svg); } /style> link relpreload asfont hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/fonts/fa-solid-900.woff2 typefont/woff2 crossoriginanonymous> link typetext/css relstylesheet hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/css/all.css>link typetext/css relstylesheet hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/css/style.css>link typetext/css relstylesheet hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/css/platina.css>link typetext/css relstylesheet hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/css/font-awesome.min.css>link typetext/css relstylesheet hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/css/login-v2.css> link typetext/css relstylesheet hrefhttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/themes_oo.css> link hrefhttps://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/css/select2.min.css relstylesheet /> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/splide.min.css> link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/css/themes/splide-sea-green.min.css> script srchttps://ajax.googleapis.com/ajax/libs/jquery/1.11.3/jquery.min.js>/script> !--GoogleMap--> !-- script srchttps://maps.googleapis.com/maps/api/js?v3.exp&librariesplaces&keyAIzaSyDiFzy_CwiC1t90mE7nskFbtrBhPOTsIgo®ionAU&callbackinitMap async defer>/script> --> script srchttps://maps.googleapis.com/maps/api/js?v3.exp&librariesplaces&keyAIzaSyByHLsoWqVag96TcJTq2O2tPLU3qGLbvcE®ionAU&callbackinitMap async defer>/script> script typetext/javascript> var autocompleteService, sessionToken, service; function initMap() {} /script> script typetext/javascript> // For franchise_logo on feedback widget (OOA-249) var session_logo ; session_logo https://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/logo.png; $(body).ready(function(){ $(#menu-items, #main-content, .mainpage, .office-info, .footerWrap).fadeIn(); $(#wrap).addClass(menu-ready); }); /script> script srchttps://maxcdn.bootstrapcdn.com/bootstrap/3.3.5/js/bootstrap.min.js>/script> script srchttps://cdnjs.cloudflare.com/ajax/libs/select2/4.0.3/js/select2.min.js>/script> script srchttps://cdnjs.cloudflare.com/ajax/libs/smoothscroll/1.4.10/SmoothScroll.js>/script> script> $(document).ready(function(){ if($(#storeSelected).val() ! 1){ if($(window).width() > 1024){ var store_list_option; $.ajax({ method: POST, data: { account_id: , sort_state: 0 }, dataType: json, url: core/ajax/get_multi_store.php, }).done(function(data){ var i 0; $.each(data, function(k, v){ if(v.client_status active){ store_list_option + option value+v.client_code+>+v.store_name+/option>; i++; } }); if(i > 0){ $(.feedback_me_form ul).prepend(div idfeedback_store_list stylemargin-top:-20px;margin-bottom:10px;padding-bottom:10px;> + label classfieldTitle> Select Store/label> span classrequired_asterisk>*/span>br /> + select stylewidth:340px; required classfeedback_store form-control> + option value>:::Please Select:::/option> + store_list_option + /select> + /div>); } }); } } }); /script> script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/jquery.validate-1.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/class.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/banner.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/blazy.min.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/bootstrap-modal-carousel.min.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/bootstrap3-typeahead.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/collapse.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/jwt-decode.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/offcanvas.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/pnotify.custom.min.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/qrcode.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/scrollspy.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/smart-app-banner.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/typeahead.bundle.min.js>/script> script srchttps://cdn.jsdelivr.net/npm/@splidejs/splide@latest/dist/js/splide.min.js>/script> script typetext/javascript> var IS_AUS true;/script>script> $(document).ready(function(){ // $(linkhref/deals.css).remove(); $(#cancel).live(click, function(){ $(.popover).toggle(); }); if(localStorage.getItem(activeTab) ! null){ localStorage.removeItem(activeTab); } $(.feedback_trigger).hide(); $(ahref?pagefeedback).each(function() { const $parent $(this).parent(); if($parent.is(li)){ $parent.remove(); } else{ $(this).remove(); } }); });/script> !-- Google redirect conversion tracking --> script> const rwgQuery location.search.substring(1), rwgParams rwgQuery.split(&); let rwgToken undefined; for(let i 0; i rwgParams.length; ++i){ const rwgPair rwgParamsi.split(); if (rwgPair0 rwg_token) { rwgToken decodeURIComponent(rwgPair1); break; } } if(typeof rwgToken ! undefined){ const rwgDomain window.location.hostname; // Get the current domain dynamically document.cookie `_rwg_token${rwgToken};max-age2592000;domain${rwgDomain};path/`; // store the token in the cookie for 30 days } /script>script> jQuery(document).ready(function($){ $(#login-nav).click(function(){ window.login_referer navbar; // login_referer to determine the flow of login. $(.or_guest, .checkout_as_guest).show(); $(.register-ling a).attr(href,?pageregister); $(.checkout_as_guest a).text(Login as Guest); $(#login-wrap).fadeToggle(fast); $(this).blur(); }); $(#login-section #cancel).click(function(){ $(#login-wrap).fadeToggle(fast); }); $(#login-section .close).click(function(){ if(!$(this).hasClass(disabled)){ $(#login-wrap).fadeToggle(fast); } }); var txt; $(data-togglepopover).popover({ placement : bottom, html : true, content : txt }).click(function(e){ e.preventDefault(); }); showModal function(){ $(#myModal).modal({ keyboard: false, show: true }); $(#myModal #processing-text).html(Processing Order); } hideModal function(){ $(#myModal).modal(hide); } $(#refer_form).submit(function(){ $(#refer_form button).prop(disabled, true); $(#refer-btn).html(Sending. Please wait.); $.ajax({ url: core/ajax/refer_friend_send.php, type: POST, data: $(#refer_form).serialize(), success: function(){ $(#refer_form input, #refer_form button).prop(disabled, true); $(#refer-btn).html(E-mail sent); jQuery.prompt(h4>center>Message has been sent!/center>/h4>, { top:30%, submit: function(e,v,m,f){ window.location window.location.href.split(?)0; } }); }, error: function(){ $(#refer_form button).prop(disabled, false); $(#refer-btn).html(Send Referal); jQuery.prompt(h4>center>Message not sent!/center>/h4>); } }); return false; }); });/script>script> var $j jQuery.noConflict(); // bootstrap no conflict $j(document).ready(function(){ $j(function(){ $j(data-toggletooltip).tooltip(); }); }); function checked_io(elem, themeTemplate){ if(elem.is(:checkbox)){ if(elem.is(:checked)){ elem.siblings(.input-group-label).children(.check-img-popup).css(visibility,visible).attr(src,https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/+themeTemplate+/img/icon-check.png); } else{ elem.siblings(.input-group-label).children(.check-img-popup).css(visibility,hidden).attr(src,); } } else{ elem.parent().parent().find(.check-img-popup).css(visibility,hidden).attr(src,); elem.siblings(.input-group-label).children(.check-img-popup).css(visibility,visible).attr(src,https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/+themeTemplate+/img/icon-check.png); } if(elem.parent().parent().find(.check-img-popup).length > 0){ elem.parent().parent().find(.check-img-popup).each(function(){ if($(this).css(display) none){ $(this).css(display, ); } }); } } var countdown_timer; function resend_countdown(resendTimer){ resend_counter 59; countdown_timer setInterval(function(){ resend_counter - 1; $(#+resendTimer).addClass(disabled).text(Resend code in +resend_counter); if(resend_counter 0) { clearInterval(countdown_timer); $(#+resendTimer).removeClass(disabled).text(Resend code); } }, 1000) } function showMessage(elem, className, msg, timeOut){ elem.addClass(className).text(msg).show(); if(timeOut ! undefined){ setTimeout(function(){ elem.hide(); }, timeOut); } }/script>script> (function(a,b,c){if(c in b&&bc){var d,ea.location,f/^(a|html)$/i;a.addEventListener(click,function(a){da.target;while(!f.test(d.nodeName))dd.parentNode;hrefin d&&(d.href.indexOf(http)||~d.href.indexOf(e.host))&&(a.preventDefault(),e.hrefd.href)},!1)}})(document,window.navigator,standalone)/script>script typetext/javascript src//ajax.googleapis.com/ajax/libs/jquery/1.6.2/jquery.min.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/select2/dist/js/select2.min.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/jquery.autocomplete.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/jquery.impromtu.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/jquery.timeout.interval.idle.js>/script>script typetext/javascript srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/fancybox/jquery.fancybox-1.3.4.pack.js>/script>link relstylesheet typetext/css hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/autocomplete.css>link relstylesheet typetext/css hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/fancybox/jquery.fancybox-1.3.4.css>link relstylesheet typetext/css hrefhttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/scripts/select2/dist/css/select2.min.css> script> (function(i,s,o,g,r,a,m){iGoogleAnalyticsObjectr;irir||function(){ (ir.qir.q||).push(arguments)},ir.l1*new Date();as.createElement(o), ms.getElementsByTagName(o)0;a.async1;a.srcg;m.parentNode.insertBefore(a,m) })(window,document,script,//www.google-analytics.com/analytics.js,ga);ga(create, UA-49593232-2, {name:dsoftonline}); ga(dsoftonline.send, pageview); /script> script typetext/javascript srchttps://iplogger.deliverit.com.au/deliverit-sdk.php>/script> script typetext/javascript> $(document).ready(function(){ try{ var deliveritSDK new DeliveritSDK(); var customerIP deliveritSDK.getCustomerIP() +:+ deliveritSDK.getCustomerPort(); }catch(e){ var customerIP ::1; } if(!customerIP){ customerIP ::1; // handles late transition of script to prevent error } $.post(core/ajax/get_ip.php,{customerIP:customerIP}); }); /script>script> var promo_last_io_checked new Array(); $(document).ready(function(){ var refreshSession function(){ var time 600000; // 10 mins setTimeout(function(){ $.ajax({ url: core/ajax/refreshsession.php, cache: false, complete: function(){refreshSession();} }); }, time); }; refreshSession(); const urlParams new URLSearchParams(window.location.search); const param_page urlParams.get(page); const current_template template4; if (param_page || current_template template4 || current_template localserves) { $j(.storeinfo .header-info-toggle.navbar-toggle span.glyphicon).show(); setMobileEstimatedTime(current_template); //Observe the change of estimated time var estimatedTime $(#estimated-time); this.observer new MutationObserver(function (mutations) { setMobileEstimatedTime(current_template); }.bind(this)); if (estimatedTime.length > 0) { this.observer.observe(estimatedTime.get(0), {characterData: true, childList: true}); } } $j(.storeinfo #bs-navbar).on(hidden.bs.collapse, toggleChevron); $j(.storeinfo #bs-navbar).on(shown.bs.collapse, toggleChevron); function setMobileEstimatedTime(current_template) { var estTime $(#estimated-time #est-time).text(); var mins $(#estimated-time #time-mins).contents().first().text().trim(); var deliveryTime $(#estimated-time #time-mins p).text(); var info $(#estimated-time > h3).text(); var alert $(#estimated-time .alert).text(); if (estTime ! ) { var icon_file_name est-time-icon.png; if (current_template template4) { icon_file_name est-time-icon-white.png; } var timestring img classest-time-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/images/+icon_file_name+ stylemax-width:14px;> + deliveryTime + : strong> + estTime + + mins + /strong>; $(.mobile-estimated-time).html(timestring); } else if (info ! || alert ! ) { if (info ! ) { $(.mobile-estimated-time).html(info); } else { $(.mobile-estimated-time).html(alert); } } } function toggleChevron(e) { $j(e.target) .prev(#title) .find(.navbar-toggle span.glyphicon) .toggleClass(glyphicon-chevron-up glyphicon-chevron-down); } $j(inputnameemail).on(input, function() { const trimmedValue $(this).val().trim(); $(this).val(trimmedValue); }); $(#promo-modifier-modal .promo-item-option-radio-list).live(click, function(){ var modal_div $(this).closest(.modal.fade).attr(id); var multiple_io $(this).attr(multiple-io); var mio_id $(this).attr(mio-id); if(typeof multiple_io undefined || multiple_io false){ $(#+ modal_div + .promo-item-option-radio-list).attr(checked, false); $(this).attr(checked, true); $(#promo-modifier-modal .modal-footer .btn).data(option-ids, $(this).attr(ref)); } else{ var min_io $(this).attr(min-io); var max_io $(this).attr(max-io); if($(#+modal_div+ name+$(this).attr(name)+:checked).length > min_io){ $(this).parent().parent().css({padding:, border:}); } if(max_io 1 && $(#+modal_div+ name+$(this).attr(name)+:checked).length > 1){ $(#+modal_div+ name+$(this).attr(name)+).attr(checked, false); $(this).attr(checked, true); } else if($(#+modal_div+ name+$(this).attr(name)+:checked).length > max_io){ $(#+promo_last_io_checkedmio_id).attr(checked, false); } promo_last_io_checkedmio_id $(this).attr(id); // checking of selected modifiers var mio_ids , mio_msg , mio_req 0 option_ids ; $(#+ modal_div + .promo-item-option-radio-list).each(function(){ if(typeof $(this).attr(mio-id) ! undefined && $(this).attr(mio_id) ! false){ mio_ids.push($(this).attr(mio-id)); } mio_ids ... new Set(mio_ids); if($(this).is(:checked)){ option_ids.push($(this).attr(ref)); } }); var io_div; $.each(mio_ids, function(key, val){ var io_selected $(#+modal_div+ mio-id+val+:checked).length, io_min $(#+modal_div+ mio-id+val+:first).attr(min-io), io_max $(#+modal_div+ mio-id+val+:first).attr(max-io), io_name $(#+modal_div+ mio-id+val+:first).parent().siblings(div.promo-item-option-group-name-+val).find(p).text(), io_container $(#+modal_div+ mio-id+val+:first).parent().parent(); if(io_selected io_min || io_selected > io_max){ mio_req++; } }); $(#promo-modifier-modal .modal-footer .btn).prop(disabled, (mio_req > 0 ? true : false)); if(mio_req 0){ $(#promo-modifier-modal .modal-footer .btn).data(option-ids, option_ids.join(,)); $j(#promo-modifier-modal .modal-footer spandata-toggletooltip).tooltip(disable); } else{ $j(#promo-modifier-modal .modal-footer spandata-toggletooltip).tooltip(enable); } } checked_io($(this), template4); }); $(#promo-modifier-modal .modal-footer .btn).live(click, function(){ $(this).prop(disabled, true); if($(this).hasClass(item-option)){ var data ; dataoption_id $(this).data(option-ids); dataqty 1; $(#promo-modifier-modal .modal-body .modifier-wrapper div ~ input).each(function(){ if($(this).attr(name) plu){ dataPLU $(this).val(); } if($(this).attr(name) price){ dataprice $(this).val(); } if($(this).attr(name) promocode){ datapromocode $(this).val(); } if($(this).attr(name) single_promo_code){ datasingle_promo_code $(this).val(); } if($(this).attr(name) min_order){ datamin_order $(this).val(); } if($(this).attr(name) promotional_id){ datapromotional_id $(this).val(); } if($(this).attr(name) promotional_link){ datapromotional_link $(this).val(); } if($(this).attr(name) promo_pickup_plu){ datapromo_pickup_plu $(this).val(); } if($(this).attr(name) promo_delivery_plu){ datapromo_delivery_plu $(this).val(); } }); //Convert the object to query string var serialize function(obj) { var str ; for(var p in obj) if (obj.hasOwnProperty(p)) { str.push(encodeURIComponent(p) + + encodeURIComponent(objp)); } return str.join(&); } $(#view-basket).load(core/mybasket.php?pagebrowse&+serialize(data), function(){ $(this).prop(disabled, false); $(#promo-modifier-modal .modal-header .close).click(); }); } else if($(this).hasClass(reload)){ location.reload(); } else{ $(this).prop(disabled, false); $(#promo-modifier-modal .modal-header .close).click(); } }); });/script>!--WEB-1799 - Hide Menu Category When All Items Are Set to Specific Order Type--> script> //classmenu-item mi-223495 function getIdFromClass(className) { const match className.match(/mi-(\d+)/); return match ? match1 : null; } function checkItemUl() { $(#menu-items .menu-item).each(function() { const menuItem $(this); const item_ul menuItem.find(ul); if (item_ul.length && item_ul.children().length 0) { const className menuItem.attr(class); const menuId getIdFromClass(className); if (menuId) { $(#menu #menu-ul li.menu- + menuId).hide(); } menuItem.hide(); } }); } $(document).ready(checkItemUl); $(document).ajaxSuccess(checkItemUl); /script> script> $(document).ready(function() { // Search suburb/postcode option position bottom (function($) { var Defaults $.fn.select2.amd.require(select2/defaults); $.extend(Defaults.defaults, { dropdownPosition: auto }); var AttachBody $.fn.select2.amd.require(select2/dropdown/attachBody); var _positionDropdown AttachBody.prototype._positionDropdown; AttachBody.prototype._positionDropdown function() { var $window $(window); var isCurrentlyAbove this.$dropdown.hasClass(select2-dropdown--above); var isCurrentlyBelow this.$dropdown.hasClass(select2-dropdown--below); var newDirection null; var offset this.$container.offset(); offset.bottom offset.top + this.$container.outerHeight(false); var container { height: this.$container.outerHeight(false) }; container.top offset.top; container.bottom offset.top + container.height; var dropdown { height: this.$dropdown.outerHeight(false) }; var viewport { top: $window.scrollTop(), bottom: $window.scrollTop() + $window.height() }; var enoughRoomAbove viewport.top (offset.top - dropdown.height); var enoughRoomBelow viewport.bottom > (offset.bottom + dropdown.height); var css { left: offset.left, top: container.bottom }; var $offsetParent this.$dropdownParent; if ($offsetParent.css(position) static) { $offsetParent $offsetParent.offsetParent(); } var parentOffset $offsetParent.offset(); css.top - parentOffset.top css.left - parentOffset.left; var dropdownPositionOption this.options.get(dropdownPosition); if (dropdownPositionOption above || dropdownPositionOption below) { newDirection dropdownPositionOption; } else { if (!isCurrentlyAbove && !isCurrentlyBelow) { newDirection below; } if (!enoughRoomBelow && enoughRoomAbove && !isCurrentlyAbove) { newDirection above; } else if (!enoughRoomAbove && enoughRoomBelow && isCurrentlyAbove) { newDirection below; } } if (newDirection above || (isCurrentlyAbove && newDirection ! below)) { css.top container.top - parentOffset.top - dropdown.height; } if (newDirection ! null) { this.$dropdown .removeClass(select2-dropdown--below select2-dropdown--above) .addClass(select2-dropdown-- + newDirection); this.$container .removeClass(select2-container--below select2-container--above) .addClass(select2-container-- + newDirection); } this.$dropdownContainer.css(css); }; })($j); // Search Store by Suburb or Postcode var chainStoresOptions { placeholder: Suburb Search, theme: platina, dropdownPosition: below, minimumInputLength: 2, minimumResultsForSearch: 5, templateResult: formatRepo, language: { noResults: function () { return Sorry, we do not serve that area. a href# data-togglemodal data-target#locationsModal classmenu-locations>Click here/a> to see our list of locations.; } }, escapeMarkup: function (markup) { return markup; }, ajax: { url: core/ajax/find_chain_streets.php, dataType: json, delay: 250, data: function (params) { return { q: params.term, page: params.page }; }, processResults: function (data) { $j(#getLocation).prop(disabled, false); if (data) { return { results: $.map(data.streets, function (item) { return { text: item.store_suburb, id: item.client_code, item: item } }) }; } } } }; $j(#chainStores).select2(chainStoresOptions); // OOA-40 Select Suburb - Use My Location function showLocation(position) { var lat position.coords.latitude; var lng position.coords.longitude; var position location:+lat+,+lng; $j(#chainStores).prop(disabled, false); $j(#chainStores).select2(open); $j(#chainStores).data(select2).dropdown.$search.val(position).trigger(input); $j(#chainStores).data(select2).dropdown.$search.val(null).trigger(change); } var showOptions { enableHighAccuracy: true, timeout: 10000, maximumAge: 0 }; function showError(error) { switch(error.code) { case error.PERMISSION_DENIED: alert(User denied the request for Geolocation.); $j(#chainStores).prop(disabled, false); break; case error.POSITION_UNAVAILABLE: alert(Location information is unavailable.); $j(#chainStores).prop(disabled, false); break; case error.TIMEOUT: alert(The request to get user location timed out.); $j(#chainStores).prop(disabled, false); break; case error.UNKNOWN_ERROR: alert(An unknown error occurred.); $j(#chainStores).prop(disabled, false); break; } } $j(#getLocation).on(click, function() { if (typeof navigator ! undefined && navigator && navigator.geolocation) { navigator.geolocation.getCurrentPosition(showLocation, showError, showOptions); $j(#chainStores).select2(close); $j(#getLocation).prop(disabled, true); $j(#chainStores).prop(disabled, true); } else { $j(#chainStores).prop(disabled, false); alert(Geolocation is not supported by this browser.); } }); // Update Selected Store Details // trigger switchStore function for suburb search $j(#chainStores).on(change, function () { var search_client_code this.value; if(search_client_code ! ) { //check is store is in progress var search_client_status $j(#chainStores).select2(data)0.item.client_status; if(search_client_status ! in progress){ $j(#chainStores).prop(disabled, true); $j.ajax({ method: GET, data: {item_count: 1}, url: core/ajax/checkorder.php, }).done(function (e) { var search_client_id $j(#chainStores).select2(data)0.item.client_id; var search_client_url $j(#chainStores).select2(data)0.item.client_url; if (e 0) { switchStore(search_client_id, search_client_code,search_client_url); } else { if (search_client_code $j(#client_code).val()) { switchStore(search_client_id, search_client_code,search_client_url); return; } var switchStoreHeading Switch to + $j(#chainStores option:selected).text() + ?; $j(#storeSwitchPopup h4.modal-title).text(switchStoreHeading); $j(#storeSwitchPopupStoreName).text($j(#chainStores option:selected).text()); $j(#storeSwitchPopup).modal(show); } }); }else{ var comingSoonStoreSwitchPopup $j(#chainStores option:selected).text() + store is coming soon!; $j(#comingSoonStoreSwitchPopup h4.modal-title).text(comingSoonStoreSwitchPopup); $j(#comingSoonStoreSwitchPopup).modal(show); } } }); // New Delivery Address Search var searchFormOptions { placeholder: Enter your delivery location, theme: platina delivery-address-search, dropdownPosition: below, minimumInputLength: 1, minimumResultsForSearch: 5, templateResult: formatRepoDelivery, language: { noResults: function () { return Sorry, we do not serve that area. a href# data-togglemodal data-target#locationsModal classmenu-locations>Click here/a> to see our list of locations.; } }, escapeMarkup: function (markup) { return markup; }, ajax: { url: core/ajax/find_nearest_stores.php, dataType: json, delay: 250, data: function (params) { return { q: params.term, page: params.page }; }, processResults: function (data) { $j(#searchNearest).prop(disabled, false); if (data) { return { results: $.map(data.streets, function (item) { return { text: item.store_suburb, id: item.client_code, item: item } }) }; } } } }; $j(#searchForm).select2(searchFormOptions); // OOA-40 Select Suburb - Use My Location function showLocationDelivery(position) { var lat position.coords.latitude; var lng position.coords.longitude; var position location:+lat+,+lng; $j(#searchForm).prop(disabled, false); $j(#searchForm).select2(open); $j(#searchForm).data(select2).dropdown.$search.val(position).trigger(input); $j(#searchForm).data(select2).dropdown.$search.val(null).trigger(change); } function showErrorDelivery(error) { switch(error.code) { case error.PERMISSION_DENIED: alert(User denied the request for Geolocation.); $j(#searchForm).prop(disabled, false); break; case error.POSITION_UNAVAILABLE: alert(Location information is unavailable.); $j(#searchForm).prop(disabled, false); break; case error.TIMEOUT: alert(The request to get user location timed out.); $j(#searchForm).prop(disabled, false); break; case error.UNKNOWN_ERROR: alert(An unknown error occurred.); $j(#searchForm).prop(disabled, false); break; } } $j(#searchNearest).on(click, function() { if (typeof navigator ! undefined && navigator && navigator.geolocation) { navigator.geolocation.getCurrentPosition(showLocationDelivery, showErrorDelivery, showOptions); $j(#searchForm).select2(close); $j(#searchNearest).prop(disabled, true); $j(#searchForm).prop(disabled, true); } else { $j(#searchForm).prop(disabled, false); alert(Geolocation is not supported by this browser.); } }); // Update Selected Store Details // trigger switchStore function for suburb search $j(#searchForm).on(change, function () { var search_client_code this.value; if(search_client_code ! ) { //check is store is in progress var search_client_status $j(#searchForm).select2(data)0.item.client_status; if(search_client_status ! in progress){ $j(#searchForm).prop(disabled, true); $j.ajax({ method: GET, data: {item_count: 1}, url: core/ajax/checkorder.php, }).done(function (e) { var search_client_id $j(#searchForm).select2(data)0.item.client_id; var search_client_url $j(#searchForm).select2(data)0.item.client_url; if (e 0) { switchStore(search_client_id, search_client_code,search_client_url); } else { if (search_client_code $j(#client_code).val()) { switchStore(search_client_id, search_client_code,search_client_url); return; } var switchStoreHeading Switch to + $j(#searchForm option:selected).text() + ?; $j(#storeSwitchPopup h4.modal-title).text(switchStoreHeading); $j(#storeSwitchPopupStoreName).text($j(#searchForm option:selected).text()); $j(#storeSwitchPopup).modal(show); } }); }else{ var comingSoonStoreSwitchPopup $j(#searchForm option:selected).text() + store is coming soon!; $j(#comingSoonStoreSwitchPopup h4.modal-title).text(comingSoonStoreSwitchPopup); $j(#comingSoonStoreSwitchPopup).modal(show); } } }); // OOA-1394: trigger switchStore function for store list $j(#storeListsModal).on( click, .storeLists-orderonline-btn, function() { // Get store data var storeList_clientID $(this).attr( client_id); var storeList_clientCode $(this).attr( client_code); var storeList_clientURL $(this).attr( client_url); var storeList_clientSuburb $(this).attr( client_suburb); var storeList_storeName $(this).attr( store_Name); $j.ajax({ method: GET, data: {item_count: 1}, url: core/ajax/checkorder.php, }).done(function (e) { if (e 0) { switchStore(storeList_clientID, storeList_clientCode, storeList_clientURL); } else { if (storeList_clientCode $j(#client_code).val()) { // DO not show switch option popup if client code are the same switchStore(storeList_clientID, storeList_clientCode, storeList_clientURL); return; } var switchStoreHeading Switch to + storeList_clientSuburb + ?; $j(#storeSwitchPopup_2 h4.modal-title).text(switchStoreHeading); $j(#storeSwitchPopup_2 #storeSwitchPopupStoreName).text(storeList_storeName); // Add store details needed for switching store $(#storeSwitchPopup_2 #storelist-switch-option-ok).attr( client_id, storeList_clientID); $(#storeSwitchPopup_2 #storelist-switch-option-ok).attr( client_code, storeList_clientCode); $(#storeSwitchPopup_2 #storelist-switch-option-ok).attr( client_url, storeList_clientURL); $j(#storeSwitchPopup_2).modal(show); } }); }); // Switch Prompt for Suburb Search $j(.switch-option).on(click, function() { var switchValue this.value; if (switchValue ok) { var search_client_code $j(#chainStores).val(); var search_client_id $j(#chainStores).select2(data)0.item.client_id; var search_client_url $j(#chainStores).select2(data)0.item.client_url; switchStore(search_client_id, search_client_code,search_client_url); } if (switchValue cancel) { $j(#chainStores).prop(disabled, false); $j(#chainStores).val().trigger(change); } }); // Switch Prompt for Store Lists $j(.storelist-switch-option).on(click, function() { var switchValue this.value; // Okay button for suburb search feature if (switchValue ok) { var search_client_code $(this).attr( client_code); var search_client_id $(this).attr( client_id); var search_client_url $(this).attr( client_url); switchStore(search_client_id, search_client_code,search_client_url); } }); function switchStore(search_client_id, search_client_code,search_client_url) { $j.ajax({ method: GET, data: { client_id: search_client_id, client_code: search_client_code }, dataType: json, url: core/ajax/change_store_session.php, }).done(function (e) { if (e.response_code 02) { alert(Something went wrong. Please try again later.) } else { /*$j(html, body).animate({ scrollTop: $(#store-data).offset().top }, slow, function() { $(#loader-platina).fadeIn(); $(body).css(overflow, hidden); } var uri window.location.toString(); if (uri.indexOf(#) > 0) { var clean_uri uri.substring(0, uri.indexOf(#)); window.history.replaceState({}, document.title, clean_uri); } // window.location.href search_client_url+#store-data; // window.location.href search_client_url; });*/ window.location.href search_client_url; } }); } function formatRepo (data, e) { if (data.loading) { return data.text; } function camelCase(str) { str str.toLowerCase() return str.replace(/(?:^|\s)\w/g, function(match) { return match.toUpperCase(); }); } var searchValue $j(#chainStores).data(select2).dropdown.$search.val(); var src_str camelCase(data.item.store_suburb_postcode); var term searchValue; term term.replace(/(\s+)/,(^>+>)*$1(^>+>)*); var pattern new RegExp((+term+), gi); // src_str src_str.replace(pattern, span stylebackground: yellow;>$1/span>); //WD-520 : removed search word highlight src_str src_str.replace(/(mark>^>*)((^>+>)+)(^>*\/mark>)/,$1/mark>$2mark>$4); var suburb_postcode (data.item.distance_in_km ? approximately +data.item.distance_in_km+km away : src_str); var state (data.item.client_state ! undefined) ? (+data.item.client_state+) : ; var client_status (data.item.client_status in progress) ? br/>span stylecolor: #c42328; font-sie: 14px; vertical-align: middle;>Coming Soon/span> : ; var classStatus (data.item.client_status in progress) ? select2-result-store-inprogress : ; var storeAddressHtml ; if (data.item.store_address) { var encodedStoreAddress encodeURIComponent(data.item.store_address); storeAddressHtml div classselect2-result-store__address>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/store-address.svg> a hrefhttps://www.google.com/maps/search/?api1&query + encodedStoreAddress + classaddress-link target_blank relnoopener> + data.item.store_address + /a>/div>; } var $container $j( div classselect2-result-store +classStatus+> + div classselect2-result-store__meta> + div classselect2-result-store__title>+data.item.store_suburb+state+client_status+/div> + storeAddressHtml + div classselect2-result-store__store-suburb-postcode>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/deliver.svg> +suburb_postcode+/div> + /div> + /div> ); return $container; } function formatRepoDelivery (data, e) { if (data.loading) { return data.text; } function camelCase(str) { str str.toLowerCase() return str.replace(/(?:^|\s)\w/g, function(match) { return match.toUpperCase(); }); } var searchValue $j(#searchForm).data(select2).dropdown.$search.val(); var src_str camelCase(data.item.store_suburb_postcode); var term searchValue; term term.replace(/(\s+)/,(^>+>)*$1(^>+>)*); var pattern new RegExp((+term+), gi); // src_str src_str.replace(pattern, span stylebackground: yellow;>$1/span>); //WD-520 : removed search word highlight src_str src_str.replace(/(mark>^>*)((^>+>)+)(^>*\/mark>)/,$1/mark>$2mark>$4); var suburb_postcode (data.item.distance_in_km ? approximately +data.item.distance_in_km+km away : src_str); var state (data.item.client_state ! undefined) ? (+data.item.client_state+) : ; var client_status (data.item.client_status in progress) ? br/>span stylecolor: #c42328; font-sie: 14px; vertical-align: middle;>Coming Soon/span> : ; var classStatus (data.item.client_status in progress) ? select2-result-store-inprogress : ; var full_address data.item.original_street_number+ +data.item.street+, +suburb_postcode; // Lowercase then capitalize first letter of each word full_address full_address.toLowerCase().replace(/\ba-z/g, function(letter) { return letter.toUpperCase(); }); var store_suburb data.item.store_suburb; // Lowercase then capitalize first letter of each word store_suburb store_suburb.toLowerCase().replace(/\ba-z/g, function(letter) { return letter.toUpperCase(); }); var suburbPostcodePlain suburb_postcode.replace(/^>*>/g, ); var deliveryMapQuery data.item.store_address ? data.item.store_address : (data.item.original_street_number + + data.item.street + , + suburbPostcodePlain); var encodedDeliveryAddress encodeURIComponent(deliveryMapQuery); var fullAddressHtml a hrefhttps://www.google.com/maps/search/?api1&query + encodedDeliveryAddress + classaddress-link target_blank relnoopener> + full_address + /a>; var $container $j( div classselect2-result-store +classStatus+> + div classselect2-result-store__meta> + div classselect2-result-store__store-suburb-postcode>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/deliver.svg> + fullAddressHtml + strong>(Store: +store_suburb+)/strong> + client_status + /div> + /div> + /div> ); return $container; } var hash window.location.hash.substr(1); if(hash && !hash.includes()){ $j(html, body).animate({ scrollTop: $(#+hash).offset().top }, slow); } if($(#desktopSplide .splide__pagination).length){ if ($(window).width() > 1024){ $(#desktopSplide .splide__pagination).css(top, $(window).height() - 80); } else{ $(#desktopSplide .splide__pagination).css(top, $(window).height() - 40); } } var current_width $(window).width(); //THIS FIX IS FOR THE ANDROID VIEW KEYBOARD ISSUE if(current_width 480){ setTimeout(function () { let viewheight $(window).height(); let viewwidth $(window).width(); let viewport document.querySelector(metanameviewport); viewport.setAttribute(content, height + viewheight + px, width + viewwidth + px, initial-scale1.0); }, 300); } var thTooltipTrigger ($(window).width() 1024) ? click : hover; $j(.trading-hours-tooltip).tooltip({ trigger: thTooltipTrigger }); if (thTooltipTrigger click) { var hideThTooltip function(){ var $sf $j(.trading-hours-tooltip); $sf.tooltip(hide); var data $sf.data(bs.tooltip); if (data) { if (data.inState) { data.inState.click false; } if (data._activeTrigger) { data._activeTrigger.click false; } } }; $j(document).on(click, function(e){ if (!$(e.target).closest(.trading-hours-tooltip).length) { hideThTooltip(); } }); $j(window).on(scroll, function(){ hideThTooltip(); }); $j(#storeListsModal .modal-body).on(scroll touchmove, function () { $j(this).find(.trading-hours-tooltip).tooltip(hide); }); $j(document).on(click, .trading-hours-tooltip, function (e) { e.preventDefault(); $j(.trading-hours-tooltip).not(this).tooltip(hide); // Hide all other tooltips $j(this).tooltip(toggle); // Toggle the current one }); } }); /script> script> // OOA-167 Platina - Franchise Option Contact Us $(document).ready(function(){ (function($){ $(data-target#storeListsModal).prop(disabled, false); const buildToolTip (tradingHours, tooltipTitle) > { let opening_hours_tooltip ; for(var day in tradingHours) { var $day day.charAt(0).toUpperCase() + day.slice(1); var perDayTime timeClass ; if(tradingHoursday.open Closed || tradingHoursday.close Closed){ perDayTime Closed; timeClass hours-closed; }else{ perDayTime tradingHoursday.open + - + tradingHoursday.close; } opening_hours_tooltip + `div classhours-day>${$day}/div>div classhours-time${timeClass}>${perDayTime}/div>`; } tooltipTitle tooltipTitle || Store Hours; return `div classhours-title>${tooltipTitle}/div> div classhours-list> ${opening_hours_tooltip} /div>`; }; //google map var map null; var marker null; function initializeGMap(locations) { markers ; var centerLat locations0.lat; var centerLng locations0.lng; map new google.maps.Map(document.getElementById(map_canvas), { zoom: 12, center: new google.maps.LatLng(centerLat, centerLng), mapTypeId: google.maps.MapTypeId.ROADMAP }); var i; for (i 0; i locations.length; i++) { var client_status locationsi.client_status; var coming_soon (client_status in progress) ? span classlocationsInfo-comingSoon>Coming Soon/span> : ; var client_state (locationsi.client_state ! undefined) ? span classstoreState>(+locationsi.client_state+)/span> : ; var suburb h3 classlocationsInfo-header> + locationsi.store_suburb + client_state + coming_soon + /h3>; var url ; if(client_status ! in progress){ url div classlocationsInfo-btn-cont>a href + locationsi.client_url + classlocationsInfo-btn>Order Online/a>/div>; } var address ; if(locationsi.store_address ! null){ var encodedAddress encodeURIComponent(locationsi.store_address); address p classlocationsInfo-address>span classglyphicon glyphicon-map-marker>/span> a hrefhttps://www.google.com/maps/search/?api1&query + encodedAddress + classaddress-link target_blank relnoopener> + locationsi.store_address + /a>/p>; } var phone ; if(client_status ! in progress && locationsi.store_phone ! null){ var sanitizedPhone locationsi.store_phone.replace(/^0-9+/g, ); if (sanitizedPhone) { phone p classlocationsInfo-phone>span classglyphicon glyphicon-earphone>/span> a hreftel: + sanitizedPhone + classphone-link> + locationsi.store_phone + /a>/p>; } else { phone p classlocationsInfo-phone>span classglyphicon glyphicon-earphone>/span> + locationsi.store_phone + /p>; } } var serves_cuisine ; if(client_status ! in progress && locationsi.serves_cuisine ! null){ serves_cuisine p classlocationsInfo-address>span classglyphicon glyphicon-glass>/span> + locationsi.serves_cuisine + /p>; } var opening_hours ; if(client_status ! in progress){ opening_hours (locationsi.open_time 0 || locationsi.close_time 0) ? Closed : locationsi.open_time + - + locationsi.close_time; opening_hours `h4 stylemargin-top:20px;font-size:14px;font-weight:600;>Opening Hours: /h4> div> span classstore-hours trading-hours-tooltip data-toggletooltip data-placementright data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(locationsi.store_hours, Store Hours)} styledisplay:inline-block>p>b>Pickup:/b> ${opening_hours}/p>/span> /div>`; } var lunch_hours ; if(client_status ! in progress && typeof locationsi.lunch_open_time ! undefined && typeof locationsi.lunch_close_time ! undefined && typeof locationsi.lunch_hours ! undefined){ lunch_hours (locationsi.lunch_open_time 0 || locationsi.lunch_close_time 0) ? Closed : locationsi.lunch_open_time + - + locationsi.lunch_close_time; lunch_hours `div> span classstore-hours trading-hours-tooltip data-toggletooltip data-placementright data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(locationsi.lunch_hours, Lunch Hours)} styledisplay:inline-block>p>b>Lunch:/b> ${lunch_hours}/p>/span> /div>`; } var delivery_hours ; if(client_status ! in progress){ if(locationsi.pickup_only!1){ delivery_hours (locationsi.delivery_start_time 0 || locationsi.delivery_end_time 0) ? Closed : locationsi.delivery_start_time + - + locationsi.delivery_end_time; delivery_hours `div> span classstore-hours trading-hours-tooltip data-toggletooltip data-placementright data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(locationsi.delivery_hours, Delivery Hours)} styledisplay:inline-block>p>b>Delivery:/b> ${delivery_hours}/p>/span> /div>`; }else{ delivery_hours p stylefont-weight: bold; margin-top: 20px; margin-bottom: 30px;>Pickup Only/p>; } } var delivery_suburbs ; if(locationsi.pickup_only!1 && locationsi.delivery_suburbs ! null){ // Clean List of Suburb var listOfSuburbs locationsi.delivery_suburbs; var suburbsArr listOfSuburbs.split(,); suburbHTML ; $.each(suburbsArr, function(key, value) { if(key!0) { suburbHTML + , span classlistOfSuburb> + value.toLowerCase() + /span>; }else{ suburbHTML + span classlistOfSuburb> + value.toLowerCase() + /span>; } }); delivery_suburbs h4 stylemargin-top:20px;font-size:14px;font-weight:600;>Delivery Areas: /h4>p classlocationsInfo-delivery> + suburbHTML + /p> ; } marker new google.maps.Marker({ position: new google.maps.LatLng(locationsi.lat, locationsi.lng), map: map, icon: https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/map-marker.png, animation : google.maps.Animation.DROP }); var contentString div classlocationsInfo> + suburb + address + phone + serves_cuisine + opening_hours + lunch_hours + delivery_hours + delivery_suburbs + url + /div>; var infowindow new google.maps.InfoWindow(); google.maps.event.addListener(marker, click, (function(marker, contentString, i) { return function() { infowindow.setContent(contentString); infowindow.open(map, marker); } })(marker, contentString, i)); // add custom class to google map infowindow google.maps.event.addListener(infowindow,domready,function(){ $(.locationsInfo).closest(.gm-style-iw).parent().addClass(custom-iw); if ($(window).width() 1024) { $(.store-hours.trading-hours-tooltip).tooltip({ placement: top }); $(.gm-style-iw .gm-style-iw-d).on(scroll touchmove, function () { $(this).find(.store-hours.trading-hours-tooltip).tooltip(hide); }); } else { $(.store-hours.trading-hours-tooltip).tooltip(); } }); markers.push(marker); } } const state_name { NSW: New South Wales, VIC: Victoria, QLD: Queensland, SA: South Australia, WA: Western Austalia, TAS: Tasmania, ACT: Australian Capital Territory, NT: Northern Territory }; // trigger to open locations modal when linked is clicked $(#locationsModal).on(show.bs.modal, function(event) { $(#locationsModal .franchise-locations).hide(); $(#locationsModal #map_canvas).hide(); $(#locationsModal #loadin_bar).show().html(span styletext-align:center;>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/loader.svg stylewidth:5%;margin-top:15%;>/span>); //Display Locations $.ajax({ method: POST, data: { account_id: , sort_state: 0 }, dataType: json, url: core/ajax/get_multi_store.php, }).done(function (data) { $(#locationsModal .franchise-locations).show(); $(#locationsModal #map_canvas).show(); $(#locationsModal #loadin_bar).hide(); var storeList_html ; var storeList_html2 ; var i 0; let states ; let tmp_state ; $.each(data, function(k, v) { var store_suburb (v.store_suburb || Not Set); var client_status (v.client_status in progress) ? - span classsub-list-comingSoon stylecolor: #a51419>Coming Soon/span> : ; var client_state v.client_state; states.push(client_state); storeList_html + span classsub-list-group-item list-group-item list-group-item-action+(v.client_status ! in progress ? list-group-item-active : )+ href# id + client_state + menu-id + i + > + store_suburb + + span classstoreState> (+ client_state +) /span> + client_status + /span>; storeList_html2 + option classoption-list value+i+> + store_suburb + (+ client_state +) + client_status + /option>; i++; tmp_state client_state; }); $(#locationsModal .modal-body .store-details-container .list-group).append(storeList_html); if(new Set(states).size 1){ // Check if every client states are the same storeList_html2; for(i 0; i data.length; i++){ delete dataiclient_state; var store_suburb (dataistore_suburb || Not Set); var client_status (dataiclient_status in progress) ? - Coming Soon : ; storeList_html2 + option classoption-list value+i+>+store_suburb+client_status+/option>; } $(.storeState).hide(); } $(#locationsModal .modal-body .store-details-container #locationsSuburbList2).append(option disabled selected>Select a Suburb/option> + storeList_html2); initializeGMap(data); $(#location-map).css(width, 100%); $(#map_canvas).css(width, 100%); }); }); // open info box when li is clicked $(#locationsModal).on( click, .sub-list-group-item.list-group-item-active, function() { if($(window).width() 768){ let location_container $(#locationsModal .franchise-locations:has(> .store-details-container.group)); if(location_container.length){ location_container.animate({ scrollTop: location_container0.scrollHeight }, 800); } } var locId $(this).attr(menu-id); var clickedMarker markerslocId; google.maps.event.trigger(clickedMarker, click); map.setZoom(15); map.setCenter(clickedMarker.getPosition()); }); // open info box when options is clicked $(#locationsModal).on( change, #locationsSuburbList2, function() { var locId $(#locationsSuburbList2 option:selected).val(); google.maps.event.trigger(markerslocId, click); map.setZoom(15); }); // clear ul when modal is clicked $(#locationsModal).on(hidden.bs.modal, function(event) { $(#locationsModal .modal-body .store-details-container .list-group).empty(); $(#locationsModal .modal-body .store-details-container #locationsSuburbList2).empty(); }); // OOA-1394 Order Now Store list Platina Feature $(#storeListsModal).on(show.bs.modal, function(event) { $(#storeListsModal #accordion).empty(); $(#storeListsModal #loadin_bar).show().html(span styletext-align:center;>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/loader.svg stylewidth: 60px>/span>); // Get Store Data $.ajax({ method: POST, data: { account_id: , sort_state: 0 }, dataType: json, url: core/ajax/get_multi_store.php, }).done(function (data) { $(#storeListsModal #loadin_bar).hide(); var storeListModalHTML ; var accordionHeaderHTML ; var accordionBodyHTML ; let states ; let tmp_state ; $.each(data, function(k, v) { var store_suburb (v.store_suburb || Not Set); var client_status (v.client_status || Not Set); var client_state v.client_state; states.push(client_state); var acc_id storeListModal_+v.client_id; //Accordion Header - Store Suburb Suburb if(client_status ! in progress){ accordionHeaderHTML div classpanel-heading panel-heading-active>h4 classpanel-title> + a classpanel-name href#+acc_id+> + store_suburb + span classstoreState> (+ client_state +) /span> + /a> + /h4>/div>; }else{ accordionHeaderHTML div classpanel-heading panel-heading-inprogress>h4 classpanel-title>+store_suburb+ span classstoreState> (+ client_state +) /span>span classstore-list-status>Coming Soon/span>/h4>/div>; } //Accordion Body - Store Detail accordionBodyHTML; if(client_status ! in progress){ var clientAddress ; if(v.store_address ! null){ var encodedClientAddress encodeURIComponent(v.store_address); clientAddress p classstoreListModal-address>span classglyphicon glyphicon-map-marker>/span> a hrefhttps://www.google.com/maps/search/?api1&query + encodedClientAddress + classaddress-link target_blank relnoopener> + v.store_address + /a>/p>; } var clientPhone ; if(v.store_phone ! null){ var encodedClientPhone v.store_phone.replace(/^0-9+/g, ); if (encodedClientPhone) { clientPhone p classstoreListModal-phone>span classglyphicon glyphicon-earphone>/span> a hreftel: + encodedClientPhone + classphone-link> + v.store_phone + /a>/p>; } else { clientPhone p classstoreListModal-phone>span classglyphicon glyphicon-earphone>/span> + v.store_phone + /p>; } } var clientOpeningHours ; clientOpeningHours (v.open_time 0 || v.close_time 0) ? Closed : v.open_time + - + v.close_time; clientOpeningHours `p>Opening Hours: /p> p classstoreListModal-pickup> span classtrading-hours-tooltip data-toggletooltip data-placementtop data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(v.store_hours, Store Hours)}> b>Pickup:/b> ${clientOpeningHours} /span> /p>`; var clientLunchHours ; if (typeof v.lunch_open_time ! undefined && typeof v.lunch_close_time ! undefined && typeof v.lunch_hours ! undefined) { clientLunchHours (v.lunch_open_time 0 || v.lunch_close_time 0) ? Closed : v.lunch_open_time + - + v.lunch_close_time; clientLunchHours `p classstoreListModal-lunch> span classtrading-hours-tooltip data-toggletooltip data-placementtop data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(v.lunch_hours, Lunch Hours)}> b>Lunch:/b> ${clientLunchHours} /span> /p>`; } var clientDeliveryHours ; if(v.pickup_only!1){ clientDeliveryHours (v.delivery_start_time 0 || v.delivery_end_time 0) ? Closed : v.delivery_start_time + - + v.delivery_end_time; clientDeliveryHours `p classstoreListModal-delivery> span classtrading-hours-tooltip data-toggletooltip data-placementtop data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> title${buildToolTip(v.delivery_hours, Delivery Hours)}> b>Delivery:/b> ${clientDeliveryHours} /span> /p>`; }else{ clientDeliveryHours p classstoreListModal-pickup>Pickup Only/p>; } var clientURL ; if(v.client_url ! null){ clientURL div classstore-list-btn>button typebutton classbtn btn-default storeLists-orderonline-btn data-dismissmodal client_id+v.client_id+ client_code+v.client_code+ client_url+v.client_url+ client_suburb+v.store_suburb+ store_name+v.store_name+ >Order Online/button>/div>; } accordionBodyHTML div id+acc_id+ classpanel-collapse styledisplay:none;>+ div classpanel-body>div classrow> + div classcol-md-4> + clientAddress + clientPhone + /div> + div classcol-md-4> + clientOpeningHours + clientLunchHours + clientDeliveryHours + /div> + div classcol-md-4> + clientURL + /div> + /div>/div>/div>; } //Build Accordion HTML storeListModalHTML + div classpanel panel-default>+accordionHeaderHTML+accordionBodyHTML+/div>; tmp_state client_state; }); $(#storeListsModal #accordion).append(storeListModalHTML); $(#storeListsModal .modal-body).find(.trading-hours-tooltip).tooltip(); if(new Set(states).size 1){ // Check if every client states are the same $(.storeState).hide(); } }); }); $(#storeListsModal).on(click, #accordion .panel-heading-active > .panel-title > .panel-name, function(e){ const header_ref $(this).attr(href); $(#storeListsModal #accordion .panel-heading-active > .panel-title > .panel-name).not($(this)).removeClass(open); $(#storeListsModal #accordion div.panel-collapse).not(header_ref).slideUp(fast); $(this).toggleClass(open) $(#storeListsModal #accordion div+header_ref).slideToggle(fast); e.preventDefault(); }); })($j); if($(window).width() 320) { $(div.item-title).each(function(){ var truncated $(this).text().substr(0, 29); $(this).text(truncated+(truncated.length29?:...)); }); } }); /script> script> $(document).ready(function(){ // WEB-1114 Add new order type selection before store selection $(.order-type-icon-group).html(img classorder-type-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/pickup.png />); $(.order-type-text).html(Pick up Order); if ($(#estimated-time .estimated-time-bg).html() ) { $(#estimated-time).hide(); } //check_estimated_time(); $(.order-type-bt).click(function(){ var order_type this.value; if(($(.order-type-bt.active).val() order_type) || ($(#view-basket .promo-with-different-plu).length && typeof $(this).data(bypass) undefined)){ if($(.order-type-bt.active).val() order_type){ $(#order-type-select).hide(); $(#store-select).fadeIn(fast); $(.order-type-store-searchbar .select2-container--platina).hide(); $(.order-type-store-searchbar #chainStores, .order-type-store-searchbar #searchForm).hide(); if(order_type pickup){ $(.order-type-store-searchbar #chainStores).show(); $(.order-type-store-searchbar #select2-chainStores-container).parents(.select2-container--platina).first().show(); } else if(order_type delivery){ $(.order-type-store-searchbar #searchForm).show(); $(.order-type-store-searchbar #select2-searchForm-container).parents(.select2-container--platina).first().show(); } } return true; } $(.order-type-bt).removeClass(active); $(#order-type-bt-pickup, #order-type-bt-delivery).prop(disabled, false); $(#order-type-select).hide(); $(#store-select).fadeIn(fast); $(.mi-loader).css(display, block); if ($(window).width() > 1024) { $(#estimated-time).show(); } setTimeout(() > { change_order_type(order_type); }, 100); }); $(#float-box .order-type-bt).click(function(){ var order_type this.value; if(($(.order-type-bt.active).val() order_type) || ($(#view-basket .promo-with-different-plu).length && typeof $(this).data(bypass) undefined)){ return true; } $(#store-select).hide(); $(#store-details).fadeIn(fast); }); $(.change-order-type-btn).click(function(){ $(#store-select).hide(); $(#store-details).hide(); $(#order-type-select).fadeIn(fast); }); // Update #store-data height when the inner #store container height changes - mobile only if ($(window).width() 768) { const store_container document.querySelector(#store); const resizeObserver new ResizeObserver(() > { $(#store-data).height(store_container.offsetHeight + 100); }); if (store_container ! null) { resizeObserver.observe(store_container); } } if(window.history.replaceState){ window.history.replaceState(null, null, window.location.href); } resizeStoreComponents(); }); function change_order_type(order_type) { $(.order-type-btvalue+order_type+).addClass(active); $(#current_order_type_holder).val(order_type); $(#order-type-bt-+order_type).addClass(active); $(.order-type-store-searchbar .select2-container--platina).hide(); if (order_type pickup) { $(.order-type-icon-group).html(img classorder-type-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/pickup.png />); $(.order-type-text).html(Pick up Order); $(.order-type-store-searchbar #chainStores).show(); $(.order-type-store-searchbar #select2-chainStores-container).parents(.select2-container--platina).first().show(); $(#getLocation).show(); $(#searchNearest).hide(); $(.order-type-store-searchbar #searchForm).hide(); } else if (order_type delivery) { $(.order-type-icon-group).html(img classorder-type-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/delivery.png />); $(.order-type-text).html(Delivery Order); $(.order-type-store-searchbar #chainStores).hide(); $(.order-type-store-searchbar #select2-searchForm-container).parents(.select2-container--platina).first().show(); $(#getLocation).hide(); $(#searchNearest).show(); $(.order-type-store-searchbar #searchForm).show(); } $.ajax({ method: POST, url: core/ajax/set_order_type.php, dataType: JSON, data: {order_type: order_type} }).success(function (data) { if ($(#menu-cont).length ! 0) { //loads menu from api var tempReorder $(#menuitems-reorder).prop(outerHTML); $(#menu-cont).load(https://karaleepizza.com.au/api/getmenu.php, {client_id:943, order_type:order_type, menu_type:both}, function (data, status, xhr) { if (status ! error) { menu_nav(); get_cart_total(); } $(#menu-items).prepend(tempReorder); lastreorderbutton(); }); } if ($(#estimated-time .estimated-time-bg).html() ) { $(#estimated-time).hide(); } }); } /script>/head>!----------- HEADER ----------->body classloading data-spyscroll data-target.navbar data-offset300 data-offset-top300>!-- email confirmation code modal - start -->div classmodal fade idemail_confirmation_container roledialog data-backdropstatic data-keyboardfalse stylebackground-color:unset;> div classmodal-dialog modal-dialog-centered styledisplay:flex; align-items:center; min-height:calc(100% - (1.75rem * 2));> div classmodal-content styledisplay:flex; flex-direction:column; width:100%;> div classmodal-header> h4 classmodal-title>EMAIL VERIFICATION/h4> /div> div classmodal-body> div classreg-alert alert rolealert styledisplay:none;>/div> p>Please type the verification code sent to span idconfirm_email_address>/span>/p> div classform-group> input typetext idemail_confirm_code classform-control styletext-align:center; letter-spacing:10px maxlength6 placeholder****** autocompleteoff/> /div> /div> div classmodal-footer> button idemail_confirm_cancel classbtn btn-default data-dismissmodal>Close/button> button idemail_confirm_continue classbtn btn-primary disabled>Continue/button> /div> /div> /div>/div>!-- email confirmation code modal - end -->!-- phone confirmation code modal - start -->div classmodal fade idconfirmation_container roledialog data-backdropstatic data-keyboardfalse stylebackground-color:unset;> div classmodal-dialog modal-dialog-centered styledisplay:flex; align-items:center; min-height:calc(100% - (1.75rem * 2));> div classmodal-content styledisplay:flex; flex-direction:column; width:100%;> div classmodal-header> h4 classmodal-title>MOBILE VERIFICATION/h4> /div> div classmodal-body> div classreg-alert alert rolealert styledisplay:none;>/div> p>Please type the verification code sent to span idconfirm_mobile_number>/span>/p> div classform-group> input typetext idconfirm_code classform-control styletext-align:center; letter-spacing:10px maxlength6 placeholder****** autocompleteoff/> /div> p>Did not receieve a code? span idconfirm_resend_code stylecolor:#f1826b; cursor:pointer; font-weight:bold;>Resend code/span>/p> /div> div classmodal-footer> button idconfirm_continue classbtn btn-primary disabled>Continue/button> /div> /div> /div>/div>!-- phone confirmation code modal - end -->div idlogin-wrap> div idlogin-section> script> function triggerBeginCheckoutTracking() { if (typeof document undefined || typeof document.dispatchEvent ! function) { return; } try { document.dispatchEvent(new CustomEvent(ecom:begin_checkout)); } catch (err) { if (typeof document.createEvent function) { var event document.createEvent(CustomEvent); event.initCustomEvent(ecom:begin_checkout, false, false, null); document.dispatchEvent(event); } } }/script> script> function getEmailCallback(resp, user, source){ var responsePayload jwt_decode(resp); try{ var primaryEmail responsePayload.email ?? ; } catch(e){ var primaryEmail; } var firstName, surname; if(source apple && user){ primaryEmail user.email ?? primaryEmail ?? ; firstName user.name.firstName ?? ; surname user.name.lastName ?? ; } $(#login-section .customer-details-card .password-wrapper).removeClass(cover).showElem(); var data {}; if(source google){ datagoogle_response responsePayload; datag_auth_token resp; $(#login-section .customer-details-card namepassword).val(); } else if(source apple){ dataapple_response responsePayload; dataapple_auth_token resp; dataapple_auth_token_exp responsePayload.exp; if(responsePayload.aud ! && responsePayload.iss ! https://appleid.apple.com && responsePayload.nonce ! ){ $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); $(#login-section .login-card .alert).addClass(alert-danger).text(Invalid apple account).showElem().hideMsg(5); return false; } if(typeof responsePayload.sub ! undefined && responsePayload.sub ! ){ $(#login-section .customer-details-card namepassword).val(responsePayload.sub); } $(#login-section .customer-details-card .password-wrapper).addClass(cover).hideElem(); } datalogin_referer window.login_referer; $.post(https://karaleepizza.com.au/core/ajax/login.php, data, function(data){ var obj jQuery.parseJSON(data); var response_code obj.response_code; if(response_code ! 00){ if(!$(#login-wrap).is(:visible)){ $(#login-wrap).fadeToggle(fast); } $(#login-section .login-card).hideElem(); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #login-label).parent().showElem(); $(#login-section .customer-details-card #register-phone).data(registerwith, applesignin).removeAttr(readonly); $(#login-section .customer-details-card nameemail).val(primaryEmail).prop(readonly, true); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider li).eq(1).hideElem(); } } else{ if(obj.no_address){ update_address(obj); } else{ if(window.login_referer navbar || window.login_referer checkout){ if(window.login_referer navbar){ window.location.href ?page; window.location.reload(); } if(window.login_referer checkout){ triggerBeginCheckoutTracking(); window.location.href ?pagecheckout; } } else{ var anchor ($(#storeSelected).length > 0) ? #store-data : ; window.location.href ?pagebrowse + anchor; window.location.reload(); } } } }); } /script> script srchttps://accounts.google.com/gsi/client async defer>/script> script> function handleCredentialResponse(googleUser){ getEmailCallback(googleUser.credential, , google); } /script> script> function isEmail(email) { var EmailRegex /^(a-zA-Z0-9_.+-)+\@((a-zA-Z0-9-)+\.)+(a-zA-Z0-9{2,4})+$/; return EmailRegex.test(email); } function update_address(customer){ $(#login-section .login-card, #login-section .otp-card).hideElem(); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #create-account .account-second inputnameunitNumber).val(customer.deliveryUnitNumber); $(#login-section .customer-details-card #create-account .account-second inputnamehouseNumber).val(customer.deliveryStreetNumber); if(customer.deliveryStreetSuburb ! , && customer.deliveryStreetSuburb ! ,){ $(#login-section .customer-details-card #create-account .account-second selectnamedeliveryStreet).append(option value+customer.deliveryStreetSuburb+>+customer.deliveryStreetSuburb+/option>); } $(#login-section .customer-details-card #create-account .account-second inputnamedeliveryInstructions).val(customer.delivery_instructions); $(#login-section .customer-details-card #login-label).parent().remove(); $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active).parent().next(li).find(button).addClass(active); $(#login-section .customer-details-card .slider).hideElem(); $(#login-section .customer-details-card .password-wrapper).addClass(cover).hideElem(); $(#login-section .customer-details-card .create-account .account-header h3).text(Fill your delivery details); $(#login-section .customer-details-card .create-account .account-first).hideElem().next().showElem(); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(first second third).addClass(second).remove(); $(#login-section .customer-details-card .btn-2-block).removeClass(first second third).addClass(update-address).prop(disabled, true).after(button typebutton classbtn btn-primary>i classfa-solid fa-arrow-left-long>/i> Back to Menu/button>); $(#login-section .customer-details-card #create-account div.alert).addClass(alert-danger).text(customer.address_err_msg).showElem().hideMsg(5); var form $j(#login-section .customer-details-card #create-account .account-second .form-control:visible); var initial_form_data form.serialize(); $j(#login-section .customer-details-card #create-account .account-second .form-control:visible).off(change); $j(#login-section .customer-details-card #create-account .account-second .form-control:visible).on(change, function(){ var current_form_data form.serialize(); $(#login-section .customer-details-card .btn-2-block).prop(disabled, true); if(current_form_data ! initial_form_data){ $(#login-section .customer-details-card .btn-2-block).prop(disabled, false); } }); } $(document).ready(function(){ var otp_input_wrap $(#login-section .otp-card #otp-box), otp_input $(#login-section .otp-card #otp-box .login), otp_final_input , skip_reg false, customer_exist false, customer_phone , otp_attempt 1; function otp_count(){ otp_final_input ; if(otp_input.length){ otp_input.each(function(){ if($.trim($(this).val())!){ otp_final_input + $(this).val(); } }); } } function start_otp_input(){ if(otp_input.length){ otp_input.each(function(){ $(this).val(); }); otp_attempt 1; update_otp_input(otp_input_wrap.children(:first), false); } } function update_otp_input(element, disabledStatus){ if(!disabledStatus){ element.focus(); } else{ element.blur(); } } function check_customer(_this){ var data {}; if(_this.attr(name) phoneNumber){ dataphoneNumber _this.val(); dataregisterwith (typeof _this.data(registerwith) ! undefined ? _this.data(registerwith) : ); } else{ dataemail _this.val(); } if($(#login-section .customer-details-card .btn-2-block).data(login-type) ! undefined && $(#login-section .customer-details-card .btn-2-block).data(login-type) guest){ dataguest 1; } return $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/check_customer.php, data: data, success: function(data){ if(data.isError true){ _this.closest(.form-group).find(label.error).text(data.errorMessage).showElem(); error_occured true; } else{ _this.closest(.form-group).find(label.error).hideElem().text(); } } }); } function check_phone(phone){ var prefix phone.substring(0,2), phone_val phone.replace(/\s/g, ), invalid_phone true; if(IS_AUS && (prefix 04 || prefix 05) && phone_val.length > 10 && phone_val.length 10){ invalid_phone false; }else{ if(IS_AUS){ if(phone_val.length > 8 && phone_val.length 8){ invalid_phone false; // if country is australia and prefix is not 04 or 05, we only allow 8 numbers } } else if(phone_val.length > 8 && phone_val.length 11){ invalid_phone false; } } return invalid_phone; } function validate_form(element){ var error_occured false, new_pass , confirm_pass , compare_pass false; $(.form-control.required:visible).closest(.form-group).find(label.error).hideElem().text(); element.find(.form-control.required:visible).each(function(){ var invalid false, _this $(this); _this.data(state, submitted); if(_this.hasClass(required)){ if($.trim(_this.val())){ _this.closest(.form-group).find(label.error).text(This field is required).showElem(); error_occured invalid true; } } if(!invalid && _this.attr(name) email){ var regex /^(a-zA-Z0-9_\.\-\+)+\@((a-zA-Z0-9\-)+\.)+(a-zA-Z0-9{2,4})+$/; if(!regex.test(_this.val())){ _this.closest(.form-group).find(label.error).text(Please enter a valid email address).showElem(); error_occured invalid true; } } if(!invalid && _this.attr(name) phoneNumber){ if(check_phone(_this.val())){ _this.closest(.form-group).find(label.error).text(Please enter a valid phone number).showElem(); error_occured invalid true; } } if(!invalid && _this.attr(name) password){ if(_this.val().length 6){ _this.closest(.form-group).find(label.error).text(Please enter at least 6 characters).showElem(); error_occured invalid true; } else{ new_pass _this.val(); compare_pass true } } if(!invalid && _this.attr(name) retypePassword){ confirm_pass _this.val(); compare_pass true; } }); if(compare_pass && new_pass ! confirm_pass){ $(inputnameretypePassword).closest(.form-group).find(label.error).text(Passwords do not match).showElem(); error_occured true; } return (!error_occured) ? true : false; } function hide_customer_form(){ $(#login-section .customer-details-card .form-control.required).removeData(state); $(#login-section .customer-details-card .form-control).closest(.form-group).find(label.error).hideElem().text(); $(#login-section .customer-details-card).hideElem(); $(#login-section .customer-details-card .slider).showElem(); $(#login-section .customer-details-card .slider li button).removeClass(active previous); $(#login-section .customer-details-card .slider li).eq(1).showElem(); $(#login-section .customer-details-card .slider li:last).showElem(); $(#login-section .customer-details-card .slider li:first button).addClass(active); $(#login-section .customer-details-card .create-account .account-header h3).text(Create Account); $(#login-section .customer-details-card .create-account .account-first).css(display, ); $(#login-section .customer-details-card .password-wrapper).removeClass(cover); $(#login-section .customer-details-card .customer-marketing-material-wrapper).showElem(); $(#login-section .customer-details-card namecustomer_marketing_material).prop(checked, true); createAccountRenderSize(); $(#login-section .customer-details-card .password-wrapper).addClass(cover).hideElem(); $(#login-section .customer-details-card .create-account .account-second, #login-section .customer-details-card .create-account .account-third, #login-section .customer-details-card .create-account .btn-skip).hideElem(); $(#login-section .customer-details-card #register-phone).removeData(registerwith).prop(readonly, true); $(#login-section .customer-details-card nameemail).removeAttr(readonly); $(#login-section .customer-details-card .btn-2-block).prop(disabled, false).removeClass(second third update-address).addClass(first).text(Continue).removeData(loginType); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(second third).addClass(first); } function createAccountRenderSize(){ if($(#login-section .customer-details-card .btn-2-block).data(login-type) ! undefined && $(#login-section .customer-details-card .btn-2-block).data(login-type) guest){ $(#login-section .customer-details-card .create-account .account-first).css({ display: , overflow-x: , height: , margin-bottom: }); } else{ if($(window).width() 420 && $(window).height() 740){ $(#login-section .customer-details-card .create-account .account-first:has(> .password-wrapper:not(.cover))).css({ display: inline-block, overflow-x: auto, height: ($(window).height() - 220) + px, margin-bottom: 10px }); } else{ $(#login-section .customer-details-card .create-account .account-first:has(> .password-wrapper:not(.cover))).css({ display: , overflow-x: , height: , margin-bottom: }); } } } $.fn.hideElem function(){ $(this).css(display, none); return this; }; $.fn.showElem function(){ $(this).fadeIn(100); return this; }; $.fn.hideMsg function(timeOut){ if(timeOut ! undefined){ var _this $(this); setTimeout(function(){ if(_this.is(:visible)){ _this.fadeOut(500); } }, (timeOut * 1000)); } return this; } $(#login-section .close).click(function(){ if(!$(this).hasClass(disabled)){ clearInterval(countdown_timer); $(#login-section .login-card, #login-section .login-card #phone-number-form).css(display, ); $(#login-section .login-card .forgot-password, #login-section .password-reset-card, #login-section .otp-card, #login-section .customer-details-card).hideElem(); $(#login-section .login-card #email-form).hideElem(); $(#login-section .login-card .login-with, #login-section .login-card .disable-social, #login-section .otp-card #login-label, #login-section .login-card .forgot-password, #login-section .password-reset-card #login-label).removeClass(disabled); $(#login-section .otp-card .login-modal-header).css(display, ); $(#login-section .login-card .btn-2-block, #login-section .password-reset-card .btn-2-block).prop(disabled, false); $(#login-section .otp-card .resend-code).html(Resend code).removeClass(disabled); $(#login-section .otp-card .btn-2-block).removeData(registerwith).prop(disabled, true); $(#login-section .login-card .login-with).text(Login with Password).removeClass(mobile).addClass(password); $(#login-section .login-card #login-label h3).css(font-size, ).text(Whats your mobile number?); $(#login-section .login-card .btn-2-block).text(Login or Sign Up).removeClass(password).addClass(mobile); $(#login-section .customer-details-card #login-label).parent().hideElem(); hide_customer_form(); $(#login-section .customer-details-card #register-phone).prop(readonly, true); $(#login-section .alert).removeClass(alert-success alert-danger).hideElem().text(); $(#login-section inputtypetext, #login-section inputtypetel, #login-section .customer-details-card .password-wrapper inputtypepassword).val(); $(#login-section .login-card #login-label h3).css(font-size, 1.4em).text(Whats your email or mobile number?); $(#login-section .login-card #email-form, #login-section .login-card .forgot-password).showElem(); $(#login-section .login-card .btn-2-block).text(Login).removeClass(mobile).addClass(password); $(#login-section .customer-details-card #login-label).parent().showElem(); skip_reg false; customer_exist false; customer_phone ; } }); $j(#login-section .login-card #phone-number-form #login-phone, #login-section .customer-details-card #register-phone).on(input, function(e){ var mutating_value $(this).val(); mutating_value mutating_value.replace(/\D/g,); var prefix mutating_value.substring(0,2), masked new Array(), // the actual string to be return result, is_mask false; if(IS_AUS && prefix 04){ result mutating_value.match(/^(\d{4})(\d{0,3})(\d{0,3})$/); is_mask true; }else if(mutating_value.length > 2){ result mutating_value.match(/^(\d{0,3})(\d{0,3})(\d+)$/); is_mask true; } if(is_mask){ if(result){ for(m1 1; m1 result.length; m1++){ masked.push(resultm1); } } } if(masked.length > 0){ $(this).val(masked.join( ).trim()); }else{ $(this).val($(this).val().replace(/\D/g,)); // just clear the extra white spaces } }); $j(#login-section .login-card #phone-number-form #login-phone, #login-section .customer-details-card #register-phone).on(keydown, function(e){ if(e.keyCode ! 46 && e.keyCode ! 8 && e.keyCode ! 9){ // always allow delete and backspace if(e.which 32){ return false; } var key_ e.key; if(!((0123456789).indexOf(key_) > -1)){ return false; } var mutating_value $(this).val(); mutating_value mutating_value.replace(/\s/g,); // since we remove the max length on the validate rules if(mutating_value.length > 10){ return false; } } }); $(#login-section .login-card .login-with).click(function(){ if(!$(this).hasClass(disabled)){ $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); if($(this).hasClass(password)){ $(this).siblings().showElem(); $(this).text(Login with Mobile Number).removeClass(password).addClass(mobile); $(#login-section .login-card #login-label h3).css(font-size, 1.4em).text(Whats your email or mobile number?); $(#login-section .login-card #phone-number-form).hideElem(); $(#login-section .login-card #email-form).showElem(); $(#login-section .login-card .btn-2-block).text(Login).removeClass(mobile).addClass(password); } else{ $(this).siblings().hideElem(); $(this).text(Login with Password).removeClass(mobile).addClass(password); $(#login-section .login-card #login-label h3).css(font-size, ).text(Whats your mobile number?); $(#login-section .login-card #phone-number-form).showElem(); $(#login-section .login-card #email-form).hideElem(); $(#login-section .login-card .btn-2-block).text(Login or Sign Up).removeClass(password).addClass(mobile); } } }); $(#login-section .login-card .sign-up).click(function(){ $(#login-section .login-card).hideElem(); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #login-label).parent().showElem(); $(#login-section .customer-details-card #register-phone).prop(readonly, false); $(#login-section .customer-details-card .password-wrapper).removeClass(cover).showElem(); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider li).eq(1).hideElem(); } createAccountRenderSize(); }); $(#login-section .login-card .btn-2-block).click(function(){ var _this $(this); if($(this).hasClass(password)){ var error false; var email $(#login-section .login-card #email-form #login-email); var password $(#login-section .login-card #email-form #login-pass); $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); email.css(border, ).next().removeClass(active).text(); password.css(border, ).next().removeClass(active).text(); if(!$.trim(email.val()).length){ email.css(border, 1px solid #ea868f).next().addClass(active).text(email.attr(placeholder)); error true; } if(!$.trim(password.val()).length){ password.css(border, 1px solid #ea868f).next().addClass(active).text(password.attr(placeholder)); error true; } if(error){ return false; } _this.text(Logging in...).prop(disabled, true); email.prop(disabled, true); password.prop(disabled, true); $(#login-section .login-card .forgot-password, #login-section .login-card .login-with, #login-section .login-card .sign-up, #login-section .login-card .disable-social).addClass(disabled); $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/login.php, data: { login_detail: email.val(), pw: password.val(), remember_me: true, login_referer: window.login_referer }, success: function(msg){ var name; var obj jQuery.parseJSON(msg); if(obj.no_address){ update_address(obj); } else{ var anchor ($(#storeSelected).length > 0) ? #store-data : ; if(obj.response_code 00){ if(window.login_referer navbar){ window.location.href ?pagebrowse + anchor; window.location.reload(); } else if(window.login_referer checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } else if(window.login_referer beercheckout){ if(obj.deliveryStreetSuburb ){ window.location.href ?pagecustomer_details&err_code1005&redirect_to_beer1; }else{ window.location ; } } else{ window.location.href ?pagebrowse + anchor; window.location.reload(); } } else{ _this.text(Login).prop(disabled, false); email.prop(disabled, false); password.prop(disabled, false); $(#login-section .login-card .forgot-password, #login-section .login-card .login-with, #login-section .login-card .disable-social).removeClass(disabled); $(#login-section .login-card .alert).addClass(alert-danger).text(The email or password entered is incorrect. Please change your password if you are having trouble logging in).showElem().hideMsg(5); } } }, error: function(){ _this.text(Login).prop(disabled, false); email.prop(disabled, false); password.prop(disabled, false); $(#login-section .login-card .forgot-password, #login-section .login-card .login-with, #login-section .login-card .disable-social).removeClass(disabled); $(#login-section .login-card .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); } }); } else{ $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); var phone $(#login-section .login-card #phone-number-form #login-phone); phone.css(border, ).next().removeClass(active).text(); if(!$.trim(phone.val()).length){ phone.css(border, 1px solid #ea868f).next().addClass(active).text(phone.attr(placeholder)); return false; } var invalid_phone check_phone(phone.val()), phone_val phone.val().replace(/\s/g, ); if(invalid_phone){ phone.css(border, 1px solid #ea868f).next().addClass(active).text(Please enter a valid phone number); return false; } _this.text(Logging in...).prop(disabled, true); phone.prop(disabled, true); $(#login-section .login-card .login-with, #login-section .login-card .disable-social).addClass(disabled); $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/login.php, data: { phone_number: phone_val, remember_me: true, login_referer: window.login_referer }, success: function(msg){ var name; var obj jQuery.parseJSON(msg); var anchor ($(#storeSelected).length > 0) ? #store-data : ; if(obj.response_code 00){ if(window.login_referer navbar){ window.location.href ?pagebrowse + anchor; window.location.reload(); } else if(window.login_referer checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } else if(window.login_referer beercheckout){ if(obj.deliveryStreetSuburb ){ window.location.href ?pagecustomer_details&err_code1005&redirect_to_beer1; }else{ window.location ; } } else{ window.location.href ?pagebrowse + anchor; window.location.reload(); } } else{ _this.text(Login or Sign Up).prop(disabled, false); phone.prop(disabled, false); $(#login-section .login-card .login-with, #login-section .login-card .disable-social).removeClass(disabled); if(typeof obj.otp_message undefined){ $(#login-section .login-card).hideElem(); $(#login-section .otp-card).showElem(); $(#login-section .otp-card .resend-code).addClass(disabled); resend_countdown(login-section .otp-card .resend-code); $(#login-section .otp-card .otp-phone).html(phone.val()); $(#login-section .customer-details-card #register-phone).val(phone.val()); customer_exist (obj.response_code 02) ? true : false; customer_phone phone_val; start_otp_input(); } else{ $(#login-section .login-card .alert).addClass(alert-danger).text(obj.otp_message).showElem().hideMsg(5); } } }, error: function(){ _this.text(Login or Sign Up).prop(disabled, false); phone.prop(disabled, false); $(#login-section .login-card .login-with, #login-section .login-card .disable-social).removeClass(disabled); $(#login-section .login-card .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); customer_exist false; customer_phone phone_val; } }); } }); $(#login-section .login-card .btn-guest-checkout).click(function(){ $(#login-section .login-card).hideElem(); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #login-label).parent().showElem(); $(#login-section .customer-details-card .create-account .account-header h3).text(Guest Account); $(#login-section .customer-details-card #register-phone).prop(readonly, false); $(#login-section .customer-details-card .password-wrapper).addClass(cover).hideElem(); $(#login-section .customer-details-card .customer-marketing-material-wrapper).hideElem(); $(#login-section .customer-details-card .btn-2-block).text(Continue as Guest).data(login-type, guest); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider).hideElem(); } else{ $(#login-section .customer-details-card .slider li:last).hideElem(); } createAccountRenderSize(); }); if(otp_input.length){ otp_input.each(function(){ var element $(this); element.keyup(function(e){ $(this).val($(this).val().replace(/^0-9/g, )); if($(this).val().length 1){ update_otp_input(element, true); update_otp_input(element.next(), false); } else if($(this).val().length 0 && e.keyCode 8){ element.prev().val(); update_otp_input(element.prev(), false); } else if($(this).val().length > 1){ $(this).val()($(this).val().split()0); } otp_count(); }); }); $(window).keyup(function(e){ if(otp_final_input.length > 5){ $(#login-section .otp-card .btn-2-block).prop(disabled, false); if(e.keyCode 8){ update_otp_input(otp_input_wrap.children(:last), false); otp_input_wrap.children(:last).val(); } } else{ $(#login-section .otp-card .btn-2-block).prop(disabled, true); } }); } $(#login-section .otp-card .btn-2-block).click(function(){ var _this $(this); _this.prop(disabled, true); $(#login-section .otp-card .otp-box .alert).removeClass(alert-success alert-danger).hideElem().text(); if(otp_attempt > 3){ $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(Youve exceeded the number of attempts. Please resend another code).showElem().hideMsg(5); start_otp_input(); return false; } $.ajax({ type: POST, dataType: json, url: https://karaleepizza.com.au/core/ajax/validate-otp.php, data: { otp: otp_final_input, phone: customer_phone, ce: (customer_exist ? 1 : 0), login_referer: window.login_referer }, success: function(data){ if(data.type success){ if(data.customer_details.no_address){ update_address(data.customer_details); } else{ _this.text(Logging in...); clearInterval(countdown_timer); var anchor ($(#storeSelected).length > 0) ? #store-data : ; if(window.login_referer navbar){ window.location.href ?pagebrowse + anchor; } else if(window.login_referer checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } else if(window.login_referer beercheckout){ if(obj.deliveryStreetSuburb ){ window.location.href ?pagecustomer_details&err_code1005&redirect_to_beer1; }else{ window.location ; } } else{ window.location.href ?pagebrowse + anchor; } } } else if(data.type register){ if(typeof _this.data(registerwith) ! undefined && _this.data(registerwith) applesignin){ $(#login-section .otp-card #login-label).addClass(disabled) $(#login-section .otp-card .close).hideElem(); clearInterval(countdown_timer); $(#login-section .otp-card .resend-code).addClass(disabled); $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/update-email.php, data: { applesub: ($(#login-section .customer-details-card namepassword).val().length) ? $(#login-section .customer-details-card namepassword).val() : $(#login-section .customer-details-card nameemail).val(), phonenumber: $(#login-section .customer-details-card #register-phone).val().replace(/\s/g, ) }, success: function(data){ if(window.login_referer checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } else{ var url new URL(window.location.href); var location_href (url.searchParams.get(logout) ! null && url.searchParams.get(logout) true) ? ?pagebrowse : window.location.href; window.location.href location_href; } } }); } else{ _this.prop(disabled, false); $(#login-section .otp-card).hideElem(); clearInterval(countdown_timer); $(#login-section .otp-card #otp-box inputnameotp-box).val(); $(#login-section .otp-card .resend-code).html(Resend code).removeClass(disabled); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #login-label).parent().hideElem(); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider li).eq(1).hideElem(); } } }else{ _this.prop(disabled, false); $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(data.message).showElem().hideMsg(5); } otp_attempt++; }, error: function(){ _this.prop(disabled, false); $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); } }); }); $(#login-section .otp-card .resend-code).click(function(){ if(!$(this).hasClass(disabled)){ var _this $(this); _this.html(Resending...).addClass(disabled); $(#login-section .otp-card .otp-box .alert).removeClass(alert-success alert-danger).hideElem().text(); $.ajax({ type: POST, dataType: json, data: { phone: customer_phone }, url: https://karaleepizza.com.au/core/ajax/resend-otp.php, success: function(data){ if(data.type ! success){ _this.html(Resend code).removeClass(disabled); $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(data.message).showElem().hideMsg(5); } else{ $(#login-section .otp-card .otp-box .alert).addClass(alert-success).text(A text message has been sent to your phone).showElem().hideMsg(5); start_otp_input(); resend_countdown(login-section .otp-card .resend-code); } }, error: function(){ _this.html(Resend code).removeClass(disabled); $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); } }); } }); $(#login-section .otp-card #login-label).click(function(){ if(!$(this).hasClass(disabled)){ if(typeof $(#login-section .otp-card .btn-2-block).data(registerwith) ! undefined && $(#login-section .otp-card .btn-2-block).data(registerwith) applesignin){ $(#login-section .customer-details-card).showElem(); } else{ $(#login-section .login-card).showElem(); } $(#login-section .otp-card).hideElem(); clearInterval(countdown_timer); $(#login-section .otp-card .resend-code).html(Resend code).removeClass(disabled); $(#login-section .otp-card .btn-2-block).prop(disabled, true); } }); $(#login-section .login-card .forgot-password).click(function(){ if(!$(this).hasClass(disabled)){ $(#login-section .login-card).hideElem(); $(#login-section .password-reset-card).showElem(); } }); $(#login-section .password-reset-card #login-label).click(function(){ if(!$(this).hasClass(disabled)){ $(#login-section .login-card).showElem(); $(#login-section .password-reset-card).hideElem(); } }); $(#login-section .password-reset-card .btn-2-block).click(function(){ var _this $(this); var email $(#login-section .password-reset-card #forgot-email); email.css(border, ).next().removeClass(active).text(); if(!$.trim(email.val()).length || !isEmail(email.val())){ email.css(border, 1px solid #ea868f).next().addClass(active).text(email.attr(placeholder)); return false; } _this.text(Please wait...).prop(disabled, true); email.prop(disabled, true); $(#login-section .password-reset-card #login-label).addClass(disabled); $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); $.ajax({ type: POST, dataType: json, url: https://karaleepizza.com.au/core/ajax/reset-password-email.php, data: {username: email.val()}, success: function(data){ _this.text(Continue).prop(disabled, false); email.prop(disabled, false); $(#login-section .password-reset-card #login-label).removeClass(disabled); if(data.type success){ email.val(); $(#login-section .password-reset-card #login-label).click(); $(#login-section .login-card .alert).removeClass(alert-success alert-danger).addClass(alert-success).text(An email has been sent to you. To reset your password use the link we just e-mailed you).showElem().hideMsg(5); } else{ email.css(border, 1px solid #ea868f).next().addClass(active).text(data.message); } }, error: function(){ _this.text(Continue).prop(disabled, false); email.prop(disabled, false); $(#login-section .password-reset-card #login-label).removeClass(disabled); $(#login-section .login-card .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); } }); }); $(#login-section .customer-details-card .slider li button).click(function(){ if($(this).hasClass(previous)){ var account_header {first:Create Account, second:Fill your delivery details, third:Profile}; $(#login-section .customer-details-card .slider li button).removeClass(active); var position $(this).removeClass(previous).attr(class); $(this).addClass(active).parent().nextAll().find(button).removeClass(previous); $(#login-section .customer-details-card .create-account class^account-:not(class*account-header)).hideElem(); $(#login-section .customer-details-card .create-account .account-+position).showElem(); $(#login-section .customer-details-card .create-account .account-header h3).text(account_headerposition); $(#login-section .customer-details-card .create-account .btn-skip, #login-section .customer-details-card .btn-2-block).removeClass(first second third update-address).addClass(position); if(position first){ createAccountRenderSize(); $(#login-section .customer-details-card .create-account .btn-skip).hideElem(); } } return false; }); $(#login-section .customer-details-card #login-label).click(function(){ if(!$(this).hasClass(disabled)){ $(#login-section .login-card).showElem(); hide_customer_form(); $(#login-section .customer-details-card #register-phone).prop(readonly, false); $(#login-section inputtypetext, #login-section inputtypetel, #login-section .customer-details-card .password-wrapper inputtypepassword).val(); } }); $j(#login-section .customer-details-card .create-account inputnamefirstName, #login-section .customer-details-card .create-account inputnamesurname, #login-section .customer-details-card .create-account inputnamebusiness_name).on(input, function(event){ if(event.target.name business_name){ $(this).val($(this).val().replace(/^a-zA-Z-& /gi, )); } else{ $(this).val($(this).val().replace(/^a-zA-Z- /gi, )); } }); $(#login-section .login-card .login-with).click().remove(); $(#login-section .login-card #phone-number-form).remove(); $(#login-section .customer-details-card .btn-2-block).click(function(){ var _this $(this), valid false; if(_this.hasClass(first)){ if(validate_form($(#login-section .customer-details-card #create-account))){ _this.prop(disabled, true); var validate_phone check_customer($(#login-section .customer-details-card #register-phone)); var validate_email check_customer($(#login-section .customer-details-card nameemail)); $.when(validate_phone, validate_email).done(function(rp, re){ if( typeof rp1 ! undefined && rp1 success && typeof rp0.isError && rp0.isError ! true && typeof re1 ! undefined && re1 success && typeof re0.isError && re0.isError ! true ){ if(typeof $(#login-section .customer-details-card #register-phone).data(registerwith) ! undefined){ $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/save_customer_details.php, data: registerwithapplesigninnewlogin&phoneNumber+$(#login-section .customer-details-card #register-phone).val().replace(/\s/g, ), success: function(data){ var json JSON.parse(data); if(typeof json.isError ! undefined && json.isError true){ if(json.errorCode existing_phone_number){ $(#login-section .existing-phone-card .existing-message).text(Your phone number is already registered with another account. Do you want to update your existing account?); $(#login-section .existing-phone-card #register-apple-update).css(display, ); $(#login-section .existing-phone-card #register-apple-cancel).addClass(btn-primary-inverted).text(No); } else{ $(#login-section .existing-phone-card .existing-message).text(json.errorMessage); $(#login-section .existing-phone-card #register-apple-update).css(display, none); $(#login-section .existing-phone-card #register-apple-cancel).removeClass(btn-primary-inverted).text(OK); } $(#login-section .customer-details-card).hideElem().next().showElem(); _this.prop(disabled, false); return false; } if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active); $(#login-section .customer-details-card .slider li button.third).addClass(active); $(#login-section .customer-details-card .create-account .account-header h3).text(Profile); $(#login-section .customer-details-card .create-account .account-first).hideElem().next().hideElem(); $(#login-section .customer-details-card .create-account .account-third).showElem(); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(first).addClass(third); } else{ $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active).parent().next(li).find(button).addClass(active); $(#login-section .customer-details-card .create-account .account-header h3).text(Fill your delivery details); $(#login-section .customer-details-card .create-account .account-first).hideElem().next().showElem(); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(first).addClass(second); } if(typeof window.login_referer ! undefined && window.login_referer ! checkout || $(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .create-account .btn-skip).showElem(); } _this.removeClass(first).addClass(second); } }); } else{ if(($(#login-section .customer-details-card .btn-2-block).data(login-type) undefined || $(#login-section .customer-details-card .btn-2-block).data(login-type) guest) && $(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .create-account .btn-skip).removeClass(first).addClass(second); _this.removeClass(first).addClass(second); setTimeout(function(){ $(#login-section .customer-details-card .create-account .btn-skip).click(); }, 300); } else{ $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active).parent().next(li).find(button).addClass(active); $(#login-section .customer-details-card .create-account .account-header h3).text(Fill your delivery details); $(#login-section .customer-details-card .create-account .account-first).hideElem().next().showElem(); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(first).addClass(second); if(typeof window.login_referer ! undefined && window.login_referer ! checkout || $(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .create-account .btn-skip).showElem(); } _this.removeClass(first).addClass(second); } } } _this.prop(disabled, false); }); } } else if(_this.hasClass(second)){ if(skip_reg){ skip_reg false; valid true; } else if(validate_form($(#login-section .customer-details-card #create-account))){ valid true; } if(valid){ if($(#login-section .customer-details-card .btn-2-block).data(login-type) ! undefined && $(#login-section .customer-details-card .btn-2-block).data(login-type) guest){ $(#login-section .customer-details-card .create-account .btn-skip).removeClass(second).addClass(third); _this.removeClass(second).addClass(third); setTimeout(function(){ if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .create-account .btn-skip).click(); } else{ _this.click(); } }, 300); } else{ $(#login-section .customer-details-card .create-account .account-header h3).text(Profile); $(#login-section .customer-details-card .create-account .btn-skip).removeClass(second).addClass(third); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .create-account .btn-skip).showElem(); $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active); $(#login-section .customer-details-card .slider li button.third).addClass(active); $(#login-section .customer-details-card .create-account .account-first).hideElem().next().hideElem(); $(#login-section .customer-details-card .create-account .account-third).showElem(); } else{ $(#login-section .customer-details-card .slider li button.active).addClass(previous).removeClass(active).parent().next(li).find(button).addClass(active); $(#login-section .customer-details-card .create-account .account-second).hideElem().next().showElem(); } _this.removeClass(second).addClass(third); } } } else if(_this.hasClass(third)){ _this.html(Please wait...).prop(disabled, true); $(#login-section .customer-details-card .create-account .btn-skip, #login-section .customer-details-card #login-label, #login-section .customer-details-card .close).addClass(disabled); var data {}, signup_email {}; $(#login-section .customer-details-card #create-account).find(name).each(function(){ var name $(this).attr(name); var value ($(this).val() ! null) ? $(this).val() : ; if(typeof $(this).attr(type) ! undefined && $(this).attr(type) ! password){ value $(div>).text(value).html(); } if(name firstName || name surname){ value $.trim(value); signup_email(name firstName ? customer_fname : customer_lname) value; } else if (name email) { signup_emailcustomer_email value; } else if (name customer_marketing_material) { value $(this).is(:checked) ? 1 : 0; } else if(name phoneNumber){ value value.replace(/\s/g, ); // remove the added spaces dataphone_number value; } if($(this).is(:disabled) false){ dataname value; } if($(this).is(:visible) && !$(this).is(:disabled)){ $(this).prop(disabled, true); } }); if(_this.data(login-type) undefined || _this.data(login-type) ! guest){ dataremember_me true; dataregister new; } else{ dataguest 1; dataguest_no_register 1; delete data.password; } datalogin_referer window.login_referer; if(typeof $(#login-section .customer-details-card #register-phone).data(registerwith) ! undefined && $(#login-section .customer-details-card #register-phone).data(registerwith) applesignin){ dataapple_user_id data.password ?? ; } $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/save_customer_details.php, data: data, success: function(data){ var resp, cart_total 0; try{ resp JSON.parse(data); cart_total (resp.cart_total ! undefined) ? resp.cart_total : 0; cart_total 1; } catch(e){ cart_total 0; if(window.login_referer checkout && (_this.data(login-type) ! undefined && _this.data(login-type) guest)){ cart_total 1; } } if(_this.data(login-type) undefined || _this.data(login-type) ! guest){ $.ajax({ type: POST, url: core/signup_email_msg.php, async: false, data: signup_email, success: function(msg){} }); } if(window.login_referer checkout && cart_total > 0){ if(resp && resp.address_err_msg ! undefined){ _this.html(Continue).prop(disabled, false); $(#login-section .customer-details-card .create-account .account-third).hideElem(); update_address(resp); } else{ window.location.href ?pagecheckout; } } else{ var url new URL(window.location.href); var location_href (url.searchParams.get(logout) ! null && url.searchParams.get(logout) true) ? ?pagebrowse : window.location.href; window.location.href location_href; window.location.reload(); } } }); } else if(_this.hasClass(update-address)){ if(validate_form($(#login-section .customer-details-card #create-account))){ _this.html(Please wait...).prop(disabled, true); $(#login-section .customer-details-card .btn-2-block + .btn-primary).prop(disabled, true); var current_address $(#login-section .customer-details-card #create-account #register-st-name).val().split(, ); var current_street (typeof current_address0 ! undefined) ? current_address0 : ; var current_suburb (typeof current_address1 ! undefined) ? current_address1 : ; var check_street $.ajax({ url: https://api2.dsoftonline.com.au/do/check_street/943/+current_street+/+current_suburb, success: function(data){ } }); $.when(check_street).done(function(cs){ if(cs.response_code 00){ var data {}; $(#login-section .customer-details-card #create-account).find(.form-control:visible).each(function(){ var name $(this).attr(name); var value ($(this).val() ! null) ? $(this).val() : ; if($(this).is(:disabled) false){ dataname value; } }); dataupdate_info address_only; $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/save_customer_details.php, data: data, success: function(data){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } }); } else{ _this.html(Continue).prop(disabled, false); $(#login-section .customer-details-card .btn-2-block + .btn-primary).prop(disabled, false); $(#login-section .customer-details-card #create-account div.alert).removeClass(alert-success alert-danger).addClass(alert-danger).text(Sorry, delivery address is not recognised. Please re-enter address.).showElem().hideMsg(5); } }); } } return false; }); $(#login-section .existing-phone-card #register-apple-update).click(function(){ $(#login-section .existing-phone-card .btn-primary).prop(disabled, true); var phone $(#login-section .customer-details-card #register-phone); $.ajax({ type: POST, url: https://karaleepizza.com.au/core/ajax/resend-otp.php, data: { phone: phone.val().replace(/\s/g, ) }, success: function(data){ var resp jQuery.parseJSON(data); $(#login-section .existing-phone-card).hideElem(); $(#login-section .otp-card .btn-2-block).data(registerwith, applesignin); $(#login-section .otp-card).showElem(); if(resp.type ! success){ $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(data.message).showElem().hideMsg(5); } else{ $(#login-section .otp-card .otp-box .alert).addClass(alert-success).text(A text message has been sent to your phone).showElem().hideMsg(5); $(#login-section .otp-card .resend-code).addClass(disabled); resend_countdown(login-section .otp-card .resend-code); $(#login-section .otp-card .otp-phone).html(phone.val()); customer_exist false; customer_phone phone.val().replace(/\s/g, ); start_otp_input(); } $(#login-section .existing-phone-card .btn-primary).prop(disabled, false); }, error: function(){ $(#login-section .otp-card .otp-box .alert).addClass(alert-danger).text(Unable to Process your request. Please try again later).showElem().hideMsg(5); $(#login-section .existing-phone-card .btn-primary).prop(disabled, false); } }); }); $(#login-section .existing-phone-card #register-apple-cancel).click(function(){ $(#login-section .existing-phone-card).hideElem().prev().showElem(); }); $(#login-section .customer-details-card .btn-2-block + .btn-primary).live(click, function(){ if(!$(this).hasClass(disabled)){ $(#login-section .customer-details-card .btn-2-block).prop(disabled, true); $(#login-section .customer-details-card .btn-2-block + .btn-primary).prop(disabled, true).html(Please wait...); location.href location.href } }); $(#login-section .customer-details-card .create-account .btn-skip).click(function(){ if(!$(this).hasClass(disabled)){ if($(#login-section .customer-details-card .btn-2-block).hasClass(second)){ skip_reg true; $(#login-section .customer-details-card #create-account .account-second input.form-control).val(); $(#login-section .customer-details-card #create-account .account-second select.form-control).empty(); $(#login-section .customer-details-card .btn-2-block).click(); } else if($(#login-section .customer-details-card .btn-2-block).hasClass(third)){ $(#login-section .customer-details-card #create-account .account-third input.form-control).val(); $(#login-section .customer-details-card #create-account .account-third select.form-control).each(function(){ $(this).prop(selectedIndex, 0); }); $(#login-section .customer-details-card .btn-2-block).click(); } } }); $(#login-section .customer-details-card #create-account .form-control.required).keyup(function(){ var invalid false, _this $(this); if(_this.data(state) submitted){ if($.trim(_this.val())){ _this.closest(.form-group).find(label.error).text(This field is required).showElem(); return true } if(_this.attr(name) email){ var regex /^(a-zA-Z0-9_\.\-\+)+\@((a-zA-Z0-9\-)+\.)+(a-zA-Z0-9{2,4})+$/; if(!regex.test(_this.val())){ _this.closest(.form-group).find(label.error).text(Please enter a valid email address).showElem(); return true; } } if(_this.attr(name) phoneNumber){ if(check_phone(_this.val())){ _this.closest(.form-group).find(label.error).text(Please enter a valid phone number).showElem(); return true; } } if(_this.attr(name) password){ if(_this.val().length 6){ _this.closest(.form-group).find(label.error).text(Please enter at least 6 characters).showElem(); return true; } } if(_this.attr(name) retypePassword){ confirm_pass _this.val(); if($(#login-section .customer-details-card #create-account inputnamepassword).val() ! confirm_pass){ _this.closest(.form-group).find(label.error).text(Passwords do not match).showElem(); return true } } _this.closest(.form-group).find(label.error).hideElem().text(); } }); $j(#login-section .customer-details-card #register-st-name).select2({ placeholder: Select your Street, width: 100%, ajax: { url: https://karaleepizza.com.au/core/ajax/find_streets.php, dataType: json, delay: 250, processResults: function(data){ var select2Data $.map(data, function (obj){ obj.id obj.street; obj.text obj.street; return obj; }); return { results: select2Data }; }, cache: false }, language: { noResults: function(){ return Street not found.; } }, minimumInputLength: 2, templateResult: function(data){ return data.street; } }).on(select2:close, function(e){ $(#login-section .customer-details-card #register-st-name).closest(.form-group).find(span.glyphicon-ok).remove(); $(#login-section .customer-details-card #register-st-name).closest(.form-group).find(span.glyphicon-remove).remove(); $(#login-section .customer-details-card #register-st-name).closest(.form-group).find(span.help-block).remove(); }); $j(window).on(resize, function(){ if($(#login-section .customer-details-card .create-account .account-first).is(:visible)){ createAccountRenderSize(); } }); createAccountRenderSize(); $j(inputnameemail).on(input, function() { const trimmedValue $(this).val().trim(); $(this).val(trimmedValue); }); });/script> div classlogin-card> div classrow> div classlogin-modal-header col-lg-12 col-md-12 col-sm-12> div idlogin-label> h3>Whats your mobile number?/h3> /div> div> i classclose fa-solid fa-xmark>/i> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div rolealert classalert styledisplay:none;>/div> div idphone-number-form classform-group> input typetext idlogin-phone namelogin-phone classform-control login value pattern/^0-9\s+$/ inputmodenumeric autocompleteoff placeholderEnter your mobile number/> div classfield-message>/div> /div> div idemail-form styledisplay:none;> div classform-group> input typetext idlogin-email namelogin-email classform-control login value placeholderEnter your email or mobile number/> div classfield-message>/div> /div> div classform-group> input typepassword idlogin-pass namelogin-pass classform-control login value placeholderEnter your password/> div classfield-message>/div> /div> /div> div> div classforgot-password styledisplay:none;>Forgot Password?/div> div classlogin-with password>Login with Password/div> div classsign-up>Sign Up/div> /div> div> button classbtn-2-block btn btn-primary mobile>Login or Sign Up/button> button classbtn-guest-checkout btn btn-primary>Checkout as Guest/button> /div> /div> div classor-login-container col-lg-12 col-md-12 col-sm-12> div classor-login-line> h4 classor-login-with>span>or login with/span>/h4> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classdisable-social>/div> div idfb-login>script> $(document).ready(function(){ callFB(); }); function login_ios_fullscreen(){ var permissions email,publish_actions,manage_pages,read_stream; var m_appId 274669840923547; var m_appUrl https://orderonline.karaleepizza.com.au/; var permissionUrl https://m.facebook.com/dialog/oauth?client_id + m_appId + &response_typecode&redirect_uri +encodeURIComponent(m_appUrl)+ &scope + permissions; window.location permissionUrl; } function callFB(){ window.fbAsyncInit function() { FB.init({ appId : 274669840923547, channelUrl : //WWW.https://www.facebook.com/karaleepizza//channel.php, status : true, cookie : true, xfbml : true, oauth : true, version : v8.0 }); }; (function(d){ var js, id facebook-jssdk; if (d.getElementById(id)) {return;} js d.createElement(script); js.id id; js.async true; d.getElementsByTagName(head)0.appendChild(js); js.src //connect.facebook.net/en_US/sdk.js; }(document)); } //LOGIN FUNCTION function login() { FB.login(function(response) { if (response.authResponse) { var access_token response.authResponse.accessToken; //get access token var user_id response.authResponse.userID; //get FB UID FB.api(/me, get, { access_token: access_token, fields: id,first_name,last_name,email }, function(response) { if(typeof response.email undefined){ $.prompt(Please provide a valid Facebook email to progress or continue to signup with your Google account.); } else{ response.access_token access_token; login_fb(response); $(#fb-login-new).html(fb:facepile> /fb>); FB.XFBML.parse(document.getElementById(fb-login-new)); } }); }else{ alert(Login Failed!); } }, {scope: email, redirect_uri:https://orderonline.karaleepizza.com.au/,display : touch }); } function login_fb(response){ var email response.email; var id response.id; var firstName response.first_name; var surname response.last_name; var access_token response.access_token; $.post(core/ajax/login.php, { email: email, fb_user_id: id, access_token: access_token, login_referer: window.login_referer}, function(msg){ var name; if($.trim(msg) ! null){ var obj jQuery.parseJSON(msg); name obj.firstName+ +obj.surname; $(#deliveryStreet).value obj.deliveryStreetSuburb; } if(obj.response_code 00){ if(obj.no_address){ update_address(obj); } else{ if(window.login_referer navbar || window.login_referer checkout){ if(window.login_referer navbar){ // login is via clicking login on navbar window.location.href ?page; } if(window.login_referer checkout){ //login is via clicking checkout on floatbox window.location.href ?pagecheckout; } }else if(window.login_referer beercheckout){ //redirect to beer2u window.location ; }else{ // default. if login_referer is undefined // OOA-1284: Check if page is browse and template is platina. Anchor user to store details // Add condition for check if the (storeSelected) is exist (storeSelected only appears on Template4) var anchor ( ($(#storeSelected).length > 0) ? #store-data : ); window.location.href ?pagebrowse + anchor; } } }else{ if(!$(#login-wrap).is(:visible)){ $(#login-wrap).fadeToggle(fast); } $(#login-section .login-card).hideElem(); $(#login-section .customer-details-card namepassword).val(); $(#login-section .customer-details-card .password-wrapper).removeClass(cover).showElem(); $(#login-section .customer-details-card).showElem(); $(#login-section .customer-details-card #login-label).parent().showElem(); $(#login-section .customer-details-card #register-phone).removeAttr(readonly); $(#login-section .customer-details-card nameemail).val(email).prop(readonly, true); $(#login-section .customer-details-card namefirstName).val(firstName); $(#login-section .customer-details-card namesurname).val(surname); $(#login-section .customer-details-card namefb_user_id).val(id); if($(#current_order_type_holder).val() pickup){ $(#login-section .customer-details-card .slider li).eq(1).hideElem(); } } }); }/script> !-- fb:login-button show-facestrue width200 max-rows1>/fb:login-button>--> div onclicklogin(); idfb-login2> div> span idfb-login-new>/span> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/facebook-16.png/> Continue with Facebook /div>/div>div idfb-root>/div>/div>div idg_id_onload data-client_id998318551514-2oa1fjg0j4olosmpbr0pjl91m4uecpr7.apps.googleusercontent.com data-contextsignin data-ux_modepopup data-callbackhandleCredentialResponse data-auto_promptfalse>/div> div classg_id_signin stylemargin-bottom:15px; data-typestandard data-themeoutline data-textcontinue_with data-sizelarge data-logo_alignmentcenter>/div> script> document.getElementsByClassName(g_id_signin)0.setAttribute(data-width, (window.innerWidth > 440 ? 400 : (window.innerWidth - 40))); /script> /div> /div> /div> div classpassword-reset-card styledisplay:none;> div classrow> div classlogin-modal-header col-lg-12 col-md-12 col-sm-12> div idlogin-label> i classfa-solid fa-chevron-left>/i> /div> div> i classclose fa-solid fa-xmark>/i> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div> i classfa-solid fa-unlock-keyhole>/i> span>Password Reset/span> span>Enter the registered email. We will send you a verification code to reset your password/span> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classform-group> input typetext idforgot-email nameforgot-email classform-control login autocompleteoff placeholderPlease enter a valid email value /> div classfield-message>/div> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div> button classbtn-2-block btn btn-primary>Continue/button> /div> /div> /div> /div> div classotp-card styledisplay:none;> div classrow> div classlogin-modal-header col-lg-12 col-md-12 col-sm-12> div idlogin-label> i classfa-solid fa-chevron-left>/i> /div> div> i classclose fa-solid fa-xmark>/i> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div> i classfa-regular fa-comment>/i> span>Enter the 6-digit verification code sent to you at span classotp-phone>/span>/span> /div> /div> div classotp-box col-lg-12 col-md-12 col-sm-12> div classalert styledisplay:none;>/div> div idotp-box classform-group> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> input typenumber nameotp-box classform-control login maxlength1 value oninputjavascript: if(this.value.length > this.maxLength) this.value this.value.slice(0, this.maxLength);/> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div>Did not receive a code? span classresend-code>Resend code/span>/div> div> button classbtn-2-block btn btn-primary disabled>Continue/button> /div> /div> /div> /div>div classcustomer-details-card styledisplay:none;> div classrow> div classlogin-modal-header col-lg-12 col-md-12 col-sm-12 styledisplay:none;> div idlogin-label> i classfa-solid fa-chevron-left>/i> /div> div> i classclose fa-solid fa-xmark>/i> /div> /div> div classslider col-lg-12 col-md-12 col-sm-12> li>button classfirst active>/button>/li> li>button classsecond>/button>/li> li>button classthird>/button>/li> /div> div classcreate-account> form idcreate-account namecreate-account> input typehidden namefb_user_id value> div classalert styledisplay:none; margin-bottom:0;>/div> div classaccount-header col-lg-12 col-md-12 col-sm-12> h3>Create Account/h3> /div> div classaccount-first> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel> Mobile Number i classfa-solid fa-circle-question data-toggletooltip data-placementbottom titleMobile number must be in a valid format. eg. 0412345678 aria-hiddentrue>/i> span classrequired>*/span> /label> input typetel idregister-phone namephoneNumber readonly classform-control required pattern/^0-9\s+$/ inputmodenumeric value/> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-6 col-md-6 col-sm-6 col-xs-12> div classfield-wrapper form-group> label classlabel>First Namespan classrequired>*/span>/label> input typetext namefirstName classform-control required value/> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-6 col-md-6 col-sm-6 col-xs-12> div classfield-wrapper form-group> label classlabel>Last Namespan classrequired>*/span>/label> input typetext namesurname classform-control required value/> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel>Emailspan classrequired>*/span>/label> input typetext nameemail classform-control required maxlength200 value/> label classerror styledisplay:none;>/label> /div> /div> div classpassword-wrapper styledisplay:none;> div classcol-lg-6 col-md-6 col-sm-6 col-xs-12> div classfield-wrapper form-group> label classlabel>Passwordspan classrequired>*/span>/label> input typepassword namepassword classform-control required maxlength64 value/> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-6 col-md-6 col-sm-6 col-xs-12> div classfield-wrapper form-group> label classlabel>Confirm Passwordspan classrequired>*/span>/label> input typepassword nameretypePassword classform-control required maxlength64 value/> label classerror styledisplay:none;>/label> /div> /div> /div> div classcol-lg-12 col-md-12 col-sm-12 customer-marketing-material-wrapper> div classfield-wrapper form-group> label forcustomer_marketing_material classlabel styleposition: relative;> span styleposition: absolute; left: 0;>input typecheckbox idcustomer_marketing_material namecustomer_marketing_material checked stylemargin-top: 0; margin-right: 5px;>/span> span stylemargin-left: 22px; white-space: normal; line-height: 1.2em; position: relative; top: -1px; display: block;>Count me in for special offers and promos/span> /label> /div> /div> /div> div classaccount-second styledisplay:none;> div classcol-lg-6 col-md-6 col-sm-6> div classfield-wrapper form-group> label classlabel>Unit Number/label> input typetext nameunitNumber classform-control autocompleteoff maxlength5 value/> /div> /div> div classcol-lg-6 col-md-6 col-sm-6> div classfield-wrapper form-group> label classlabel>House Numberspan classrequired>*/span>/label> input typetext namehouseNumber classform-control required autocompleteoff maxlength5 value/> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel>Street Namespan classrequired>*/span>/label> select idregister-st-name namedeliveryStreet classform-control required select2>/select> label classerror styledisplay:none;>/label> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel>Delivery Instructions/label> input typetext namedeliveryInstructions classform-control autocompleteoff maxlength255 value/> /div> /div> /div> div classaccount-third styledisplay:none;> div classcol-lg-6 col-md-6 col-sm-6> div classfield-wrapper form-group> label classlabel>Age/label> select classform-control nameage> option value>- Select Age -/option> option value18-24>18 - 24/option> option value25-34>25 - 34/option> option value35-44>35 - 44/option> option value45-54>45 - 54/option> option value55-64>55 - 64/option> option value65+>65+/option> /select> /div> /div> div classcol-lg-6 col-md-6 col-sm-6> div classfield-wrapper form-group> label classlabel>Gender/label> select classform-control namegender> option value>- Select Gender -/option> option>Male/option> option>Female/option> option>Other/option> /select> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel>Business Name/label> input typetext namebusiness_name classform-control value/> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div classfield-wrapper form-group> label classlabel>How did you hear about us?/label> select classform-control idregister-hear namehear_about_us> option value>- Select Option -/option> option valuegoogle>Google/option> option valueword of mouth>Word of Mouth/option> option valueprint>Print/option> option valuefacebook>Facebook/option> option valueinstagram>Instagram/option> option valueother social media>Other Social Media/option> option valueradio>Radio/option> option valuetv>TV/option> option valuesms>SMS/option> option valueemail>Email/option> /select> /div> /div> /div> div classcol-lg-12 col-md-12 col-sm-12> div> button typebutton classbtn-2-block btn btn-primary first>Continue/button> p classbtn-skip first styledisplay:none;>Skip for now/p> /div> /div> /form> /div> /div>/div>div classexisting-phone-card styledisplay:none;> div classrow> div classexisting-phone-header col-lg-12 col-md-12 col-sm-12> h3>Phone Number/h3> /div> div classcol-lg-12 col-md-12 col-sm-12> div classexisting-message>/div> div> button typebutton idregister-apple-cancel classbtn btn-primary btn-primary-inverted>No/button> button typebutton idregister-apple-update classbtn btn-primary>Yes/button> /div> /div> /div>/div> /div>/div> div idwrap classrow-offcanvas row-offcanvas-right> nav classnavbar navbar-inverse navbar-fixed-top idmain-nav rolenavigation> div classcontainer> div classtoggle-left> div>/div> div>/div> div>/div> /div> nav idleft-nav> div idstore-nav> span idnav_profile_pic> h4>b>center>Welcome to/center>/b>/h4>span>b>center>Karalee Pizza and Ribs/center>/b>/span> /span> /div> ul> li classmove-nav>a href#landing>span classglyphicon glyphicon-home>/span>span classnav-text> Home/span>/a>/li> li classmove-nav>a href#store-data>span classglyphicon glyphicon-cutlery>/span>span classnav-text> Menu/span>/a>/li> li classmove-nav>a href#about-us>span classglyphicon glyphicon-glass>/span>span classnav-text> About/span>/a>/li> li classnav-list>a href# data-togglemodal data-target#showmapmodal>span classglyphicon glyphicon-map-marker>/span> Store Location/a>/li> li classnav-list>a href?pageterms>span classglyphicon glyphicon-info-sign>/span> Terms/a>/li> li classnav-list>a href?pageprivacy>span classglyphicon glyphicon-eye-close>/span> Privacy/a>/li> li classnav-list>a href?pagefeedback>span classglyphicon glyphicon-send>/span> Feedback/a>/li> /ul> /nav> ul idnavbar-header classnav navbar-nav navbar-left> li classmove-nav>a href#landing>span classnav-text>Home/span>/a>/li> li classmove-nav>a href#store-data >span classnav-text>Menu/span>/a>/li> li classmove-nav>a href#about-us>span classnav-text>About/span>/a>/li> /ul> ul idnavbar-header classnav navbar-nav navbar-right> li idnavbar-right-ig-link> a hrefhttps://www.instagram.com/karaleepizza/?hlen target_blank> span classglyphicon>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/instagram-square-brands.png>/span> /a> /li> li idnavbar-right-fb-link> a hrefhttps://www.facebook.com/karaleepizza/ target_blank> span classglyphicon>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/facebook-square-brands.png>/span> /a> /li> !-- OOA-258 Platina - Pop up letting customers know what store they are ordering from --> li classmove-nav> a href#store-data> span classglyphicon glyphicon-map-marker>/span> span classnav-text>Karalee/span> /a> /li> li> p tabindex0 rolebutton data-togglepopover idlogin-nav> span classglyphicon>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/user-circle-solid.png>/span> span idsignIn classsignIn>sign in/span> /p> /li> li idshow_cart> div classview_cart> span classglyphicon>img stylewidth:13px; srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/shopping-bag.png>/span> span idcartTotal classcartTotal>$0.00/span> /div> /li> /ul> /div> /nav> div classcontainer mainpage> /div> !-- FULL HEADER REMOVE --> div idlanding stylebackground-image: url(https://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/uploads/9.jpg) !important; background-position: center; background-repeat: no-repeat; background-size: cover;> div iddesktopSplide classsplide stylepadding:0;> div classsplide__arrows splide__arrows--ltr>/div> ul classsplide__pagination>/ul> div classsplide__track> ul classsplide__list> li classsplide__slide desktop stylebackground-image: url(https://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/uploads/9.jpg);>/li> li classsplide__slide desktop stylebackground-image: url(https://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/uploads/8.jpg);>/li> li classsplide__slide desktop stylebackground-image: url(https://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/uploads/10.jpg);>/li> /ul> /div> /div> script> document.addEventListener(DOMContentLoaded, function () { function initializeSlider() { var screenWidth window.innerWidth; var sliderConfig; sliderConfig { type: loop, autoplay: true, interval: 5000, arrows: true, perPage: 1, rewind: true, pagination: true, pauseOnHover: false, pauseOnFocus: false, speed: 2000, breakpoints: { 768: { speed: 1000, } } }; new Splide(#desktopSplide, sliderConfig).mount(); } initializeSlider(); }); /script> div classcontainer> div idlanding-content> div idlanding-logo> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/logo.png altKaralee Pizza and Ribs Logo> /div> div idlanding-form> div idtag-line>p classp1>Where Every Slice is a Flavor Explosion!/p> p classp2>Savor our delicious, hand-crafted pizzas, perfectly cooked pastas, and tender, smoky ribs. Each dish is made with the finest ingredients, ensuring every bite is hot, fresh, and packed with flavor!/p>/div> div idform-text>/div> !-- OOA-1394 Order Now Store list Platina Feature --> /div> /div> /div> /div> div idstore-data> div classcontainer> div idstore> !-- OOA-1394 Order Now Store list Platina Feature --> div idorder-type-select classcol-lg-6 col-lg-offset-3 col-sm-offset-2 col-sm-8 styledisplay:none;> p idorder-type-select-close classstore-select2-close style>×/p> div idorder-type-select-container> div idstore-select2-tag-line>Start ordering here/div> div classform-group> div classinput-group platina-input-group> div idstore-select2-form-text>Select your order type/div> div classbtn-group btn-block btn-group-lg> button typebutton classbtn order-type-bt active header valuepickup idorder-type-bt-pickup>Pickup/button> span>or/span> button typebutton classbtn order-type-bt header valuedelivery idorder-type-bt-delivery>Delivery/button> /div> /div> /div> /div> /div> !-- Display Suburb Search --> !-- OOA-1026 Moved select suburb input field from the landing section to store data section --> div idstore-select classcol-md-6 col-md-offset-3 col-sm-12 styledisplay:none;> p idstore-select2-close classstore-select2-close style>×/p> div idstore-select-container> !-- Form Content --> div idstore-select2-tag-line styletext-align: center;>Start ordering here/div> !-- Select2 --> div classform-group> div classinput-group platina-input-group> div classnearest-location-btn> button idgetLocation classbtn btn-default typebutton data-select2-openselect2-button-addons-multi-input-group-lg> span classglyphicon glyphicon-map-marker>/span> Click here to search for your nearest store /button> /div> div idstore-select2-form-text styletext-align: center;>Or use the search bar to find which stores deliver to you/div> select classplatina-search-suburb-postcode form-control idchainStores stylewidth:100%;>/select> /div> div idplatina-order-type-container>/div> /div> /div> /div> !-- Store Details --> div idstore-details classstore-details-default-panel style> h2>Karalee Pizza and Ribs/h2> div classcol-md-3 col-md-offset-2> p idh-phone> span classglyphicon glyphicon-earphone>/span> a hreftel:0732021096 classphone-link>07 3202 1096/a> /p> p idh-address> span classglyphicon glyphicon-map-marker>/span> a idstore-location hrefhttps://www.google.com/maps/search/?api1&query13a+%2F+39+Junction+Road%2C+Karalee classaddress-link target_blank relnoopener>13a / 39 Junction Road, Karalee/a> /p> /div> div classcol-md-3> p> span classicon-delivery stylemask-image: url(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/delivery_icon.svg);>/span> span data-toggletooltip data-placementtop data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> titlediv classhours-title>Delivery Hours/div> div classhours-list> div classhours-day>Monday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Tuesday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Wednesday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Thursday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Friday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Saturday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Sunday/div>div classhours-time>4:00pm - 8:00pm/div> /div> classdelivery-time trading-hours-tooltip> Delivery: strong>04:00pm - 08:00pm/strong> /span> /p>p> i classfa-solid fa-clock stylemargin-right:5px;>/i> span data-toggletooltip data-placementtop data-htmltrue data-containerbody data-templatediv classtooltip th-tooltip roletooltip>div classtooltip-inner>/div>/div> titlediv classhours-title>Store Hours/div> div classhours-list> div classhours-day>Monday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Tuesday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Wednesday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Thursday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Friday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Saturday/div>div classhours-time>4:00pm - 8:00pm/div>div classhours-day>Sunday/div>div classhours-time>4:00pm - 8:00pm/div> /div> classstore-time-text trading-hours-tooltip> Open today: strong>04:00pm - 08:00pm/strong> /span> /p>p classmobile-estimated-time>/p> /div> div classcol-md-3> div idestimated-time>div classstore_status styledisplay:none;>closed/div>p classstore-status-info>strong>We are mark classtext-danger>CLOSED/mark> for pick-up./strong>/p>/div> /div> /div> /div> /div> /div>!-- END OF FULL HEADER --> input typehidden idclient_code valueKAR00> input typehidden idorderTotal value> input typehidden idstoreName valueKaralee Pizza and Ribs> input typehidden idorderType valuepickup> input typehidden idcustomerLoggedIn value0> input typehidden idcustomerGuest value0> input typehidden idstoreSelected value1> div classmodal fade modal-fullscreen force-fullscreen idshowmapmodal tabindex-1 roledialog aria-labelledbymyModalLabel aria-hiddentrue> div classmodal-dialog> div classmodal-content> div classmodal-header> button typebutton classclose data-dismissmodal aria-hiddentrue>×/button> h4 classmodal-title>Store Location/h4> /div> div classmodal-body> div classmapouter>div classgmap_canvas>iframe width100% height400 idgmap_canvas srchttps://google.com/maps?q13a%2F39+Junction+Road%2C+Karalee%2C+QLD&t&z14&ieUTF8&iwloc&outputembed frameborder0 scrollingno marginheight0 marginwidth0>/iframe>/div>/div> div idmodal-info> h3 idmodal-store>b>span>Karalee Pizza and Ribs/b>/span>/h3> div classcol-md-3 col-md-offset-3 map-add> p idh-address> span classglyphicon glyphicon-map-marker>/span> a hrefhttps://www.google.com/maps/search/?api1&query13a+%2F+39+Junction+Road%2C+Karalee target_blank relnoopener>13a/39 Junction Road, Karalee, QLD/a> /p> p idh-phone> span classglyphicon glyphicon-earphone>/span> a hreftel:0732021096>07 3202 1096/a> /p> /div> div classcol-md-3 map-time styletext-align: right;> p> i classfa-solid fa-bell-concierge stylemargin-right:5px;>/i> span>Delivery 04:00pm - 08:00pm/span> /p>p>i classfa-solid fa-clock stylemargin-right:5px;>/i> span classstore-time-text>Open today/span> span>04:00pm - 08:00pm/span>/p> /div> /div> /div> /div>!-- /.modal-content --> /div>!-- /.modal-dialog --> /div>!-- /.modal --> !-- /.modal for adding quantity on single items --> div classmodal modal-popup fade idadd-popup-qty roledialog> div classmodal-dialog modal-dialog-popup> div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>/h4> div classmodal-title item-description-popup modal-title-full stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;> div styletext-align:center;>label stylefont-weight: bold;>Quantity/label>/div> div styletext-align: center; margin: 10px;> button classbtn qty-btn-popup-single qty-btn-popup-minus ref-group-id>i classglyphicon glyphicon-minus>/i>/button> label id classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup-single qty-btn-popup-plus ref-group-id>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classmodal-footer styletext-align: center; position: relative;> div classitem-add-buttons stylewidth:100%> input stylepadding: 10px 0 !important; width: 47%; data-dismissmodal typebutton nameAdd valueAdd classbtn btn-primary idmodal-addbtn> input stylepadding: 10px 0 !important; width: 47%; typebutton nameCustomise valueCustomise classbtn btn-primary idmodal-customisebtn> /div> /div> /div> /div> /div> !-- /.modal for switch store --> div classmodal modal-popup fade idstoreSwitchPopup data-backdropstatic data-keyboardfalse roledialog> div classmodal-dialog modal-dialog-popup> div classmodal-content modal-content-popup> div classmodal-body stylebackground: #ececec78; text-align: center;> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/cart-notif.svg /> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600; font-size: 27px;>Switch store?/h4> p stylefont-size: 16px;>Your cart will be emptied. You are now ordering from span idstoreSwitchPopupStoreName>/span>./p> /div> div classmodal-footer styletext-align: center; position: relative;> div classitem-add-buttons stylewidth:100%> button valueok stylepadding: 10px 0 !important; width: 47%; data-dismissmodal classbtn btn-primary switch-option>Okay/button> button valuecancel stylepadding: 10px 0 !important; width: 47%; data-dismissmodal classbtn btn-danger switch-option>Cancel/button> /div> /div> /div> /div> /div> !-- /.modal for Coming Soon --> div classmodal modal-popup fade idcomingSoonStoreSwitchPopup data-backdropstatic data-keyboardfalse roledialog> div classmodal-dialog modal-dialog-popup> div classmodal-content modal-content-popup> div classmodal-body stylebackground: #ececec78; text-align: center;> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/cart-notif.svg /> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600; font-size: 27px;>Coming Soon!/h4> p stylefont-size: 16px;>The store you have selected is not available yet./p> /div> div classmodal-footer styletext-align: center; position: relative;> div classitem-add-buttons stylewidth:100%> button valuecancel stylepadding: 10px 0 !important; width: 47%; data-dismissmodal classbtn btn-danger switch-option>Okay/button> /div> /div> /div> /div> /div> !-- /.modal for locations --> div classmodal fade locationsModal idlocationsModal tabindex-1 roledialog aria-labelledbylocationsModal aria-hiddentrue> div classmodal-dialog modal-dialog-popup> div classmodal-content modal-content-popup> div classmodal-header stylebackground: #ececec78; text-align: center;> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-top: 5px; padding-bottom:5px; font-weight: 600; font-size: 27px;>Our Locations/h4> p stylefont-size: 16px;>/p> /div> div classmodal-body stylebackground: #fff; text-align: left;> div idloadin_bar styletext-align:center;>/div> div classfranchise-locations> div classcol-md-3 col-sm-3 col-xs-12 store-details-container> ul idlocationsSuburbList classlist-group list-group-flush>/ul> select namelocationsSuburbList2 idlocationsSuburbList2 classform-select>/select> /div> div idlocations-map-container classcol-md-9 col-sm-9 col-xs-12 map-container> div classlocation-map idlocation-map stylewidth: 100%; height: 100%;> div styleposition: relative; overflow: hidden; idmap_canvas>/div> /div> /div> /div> /div> /div> /div> /div> !-- /.modal for store list --> div classmodal idstoreListsModal tabindex-1> div classmodal-dialog modal-dialog-center> div classmodal-content> div classmodal-header stylebackground: #ececec78; text-align: center;> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title>List of Locations/h4> p stylefont-size: 16px;>/p> /div> div classmodal-body stylebackground: #fff; text-align: left;> div idloadin_bar styletext-align:center;>/div> !-- Accordion Content --> div> div classcontent> div classpanel-group store-list-accordion idaccordion> /div> /div> /div> /div> /div> /div> /div> !-- /.modal for store list switch store --> div classmodal fade idstoreSwitchPopup_2 tabindex-1> div classmodal-dialog modal-dialog-center> div classmodal-content> div classmodal-body stylebackground: #ececec78; text-align: center;> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/cart-notif.svg /> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600; font-size: 27px;>Switch store?/h4> p stylefont-size: 16px;>Your cart will be emptied. You are now ordering from span idstoreSwitchPopupStoreName>/span>./p> /div> div classmodal-footer styletext-align: center; position: relative;> div classitem-add-buttons stylewidth:100%> button idstorelist-switch-option-ok valueok stylepadding: 10px 0 !important; width: 47%; data-dismissmodal classbtn btn-primary storelist-switch-option>Okay/button> button idstorelist-switch-option-cancel valuecancel stylepadding: 10px 0 !important; width: 47%; data-dismissmodal classbtn btn-danger storelist-switch-option>Cancel/button> /div> /div> /div> /div> /div> !-- OOA-1472 Refer a friend Modal --> div classmodal fade idrefer-modal tabindex-1 roledialog aria-labelledbyrefer-modalLabel aria-hiddentrue data-backdropstatic data-keyboardfalse> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> button typebutton classclose data-dismissmodal aria-labelClose> span aria-hiddentrue>×/span> /button> /div> div classmodal-body> form idrefer_form> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/refer_friend.png> h1>Refer a friend/h1> p>Whos hungry? Tell them about us!/p> ul> li>input typetext namereferer_name idreferer_name classform-control stylemargin:0 auto; placeholderYour Name required>/li> li>input typetext namerefer_friend_name idrefer_friend_name classform-control stylemargin:0 auto; placeholderFriends Name required>/li> li>input typeemail namefriend_email_add idfriend_email_add classform-control stylemargin:0 auto; placeholderFriends Email Address required>/li> /ul> button typesubmit classbtn btn-primary idrefer-btn>Send Referral/button> /form> /div> /div> /div> /div> div classmodal modal-popup fade idpromo-modifier-modal tabindex-1 roledialog aria-labelledbypromo-modifier-modalLabel data-backdropstatic data-keyboardfalse> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> div classmessage-container> div classpromo-code-wrapper> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/promo_applied.png/> Promo Code: span classpromo-code-container>/span> /div> div classpromo-code-redemption-label styledisplay:none;>To complete your redemption, please select item options./div> /div> span classclose data-dismissmodal aria-labelClose>×/span> /div> div classmodal-body styledisplay:none;> div classmodifier-wrapper>/div> /div> div classmodal-footer> span data-toggletooltip data-placementtop data-htmltrue titlei classfa-solid fa-circle-exclamation>/i> Select required item option first to add promo code.> button typebutton classbtn btn-primary disabled>/button> /span> /div> /div> /div> /div> input typehidden namecurrent_order_type idcurrent_order_type_holder valuepickup/> script>$(document).ready(function(){ var bLazy new Blazy();});/script>style> /* For Merge - Style for responsive extra/current toppings */ .hide-menu-active-times{ /* display:none; */ letter-spacing:0.8px; background-color:#dc4f4f !important; border-left:5px solid #da2d2d !important; padding:5px 8px; font-size:14px; -webkit-transition: opacity 650ms ease-in-out; -moz-transition: opacity 650ms ease-in-out; -o-transition: opacity 650ms ease-in-out; transition: opacity 650ms ease-in-out; } .b-lazy { -webkit-transition: opacity 650ms ease-in-out; -moz-transition: opacity 650ms ease-in-out; -o-transition: opacity 650ms ease-in-out; transition: opacity 650ms ease-in-out; max-width: 100%; opacity: 0; } .b-lazy.b-loaded { opacity: 1; } /* FOR merge Loke at checkout page */ #order-info-loke{ background: #fff; width: 70%; float:left; display:none; } #order-info-loke #loke-order-details{ padding:6px 10px 15px; } #order-info-loke h3{ background:#222; font-family: Open Sans,sans-serif; color: #fff; margin: 0; padding: 6px; padding-left: 10px; font-weight: 300; margin-top: 0; font-size: 18px; } @media only screen and (max-width: 992px){ #order-info-loke{ width:100%; display:block; } }/style>div idbackgroundPopup>/div> div idmain-content> div classcontainer> div classlocation split-content group> center>span> /span>/center> div idloyal_container styledisplay:none;> div idloyal_banner> div typebutton idloyal_close>i classfa-solid fa-xmark>/i>/div> div idloyal_cover> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/loyalty-banner.png/> div classfade>/div> /div> div idloyal_content> span idbanner_title>Loyalty Reward/span> span idbanner_message> Complete your stamps to get attractive rewards!br> span>*Your current stamps/span> /span> div idloyal_progress> !-- This will contain the progress like star-completed and star-incomplete --> /div> div classloyal_action_box> div idloyal-redeem-btn>Redeem Here/div> /div> /div> /div>/div>div idpromotional_container styledisplay:none;> div idpromotional_banner> button typebutton idpromotional_close>×/button> div idpromotional_cover>/div> div idpromotional_content> div idpromo_text>/div> div idpromo_button>/div> /div> /div>/div>div classmodal modal-popup fade idchange-order-type-modal tabindex-1 roledialog aria-labelledbychange-order-type-modalLabel data-backdropstatic data-keyboardfalse> div classmodal-dialog roledocument> div classmodal-content> div classmodal-header> Change order type? div classclose data-dismissmodal aria-labelClose> i classfa-solid fa-xmark>/i> /div> /div> div classmodal-body> Are you sure you want to change order type? /div> div classmodal-footer> button typebutton classbtn btn-primary btn-continue-order data-dismissmodal aria-labelClose>Continue order/button> button typebutton classbtn btn-primary btn-change-type data-dismissmodal aria-labelClose>Change order type/button> /div> /div> /div>/div>div classstore-frame> div classstore-details-open styledisplay:none;> span classstore-time-clock glyphicon glyphicon-time stylemargin-right:10px;>/span> /div> div classstore-details-after-closing styledisplay:none;>/div> div classstore-details-close styledisplay:none;> div classstore-status-details> p>Store is not open for orders right now./p> /div> /div> /div>div idmenu-cont> div idmenu> div idmenu-title>Our menu/div> ul idmenu-ul classnav> li classmenu-23876 first>a href#halfhalf-block classmenu-23876 first>Half/Half /a>/li>li classmenu-23883>a href#deals-block classmenu-23883>Deals/a>/li>li classmenu-23884>a href#pizza-block classmenu-23884>Pizza/a>/li>li classmenu-23885>a href#gourmet-pizza-block classmenu-23885>Gourmet Pizza/a>/li>li classmenu-23886>a href#pasta-block classmenu-23886>Pasta/a>/li>li classmenu-23887>a href#salad-block classmenu-23887>Salad/a>/li>li classmenu-23888>a href#sides-block classmenu-23888>Sides/a>/li>li classmenu-23889>a href#chicken-wings-block classmenu-23889>Chicken Wings/a>/li>li classmenu-23890>a href#ribs-block classmenu-23890>Ribs/a>/li>li classmenu-23891>a href#dessert-block classmenu-23891>Dessert/a>/li>li classmenu-32417>a href#drinks-block classmenu-32417>Drinks/a>/li> /ul>/div> script> var last_io_selected new Array(); $(document).ready(function() { var load_once; if (typeof code_happened undefined) { window.code_happened true; load_once true; }else{ load_once false; } //WEB-589 Allow upto 99 items in 1 selection var qty_selections ; for(var i 1; i 99; i++) { qty_selections + option>+i+/option>; } $(#item-buttons .qty-select.qty).html(qty_selections); var current_width $(window).width(); var current_height $(window).height(); if(current_width 481){ var current_height1 current_height - 215; $(#menu-items .modal-popup .modal-body).css(max-height, current_height1 +px); $(#menu-items .modal-popup .modal-body).css(min-height, current_height1 +px); } if(current_width 321){ var current_height2 current_height - 225; $(#menu-items .modal-popup .modal-body).css(max-height, current_height2 +px); $(#menu-items .modal-popup .modal-body).css(min-height, current_height2 +px); } if(load_once){ $(.qty-btn-popup-minus).live(click, function(){ var parent_div $(this).closest(li).attr(id); parent_div (typeof parent_div ! undefined && parent_div ! false) ? #+parent_div+ : ; var PLU $(this).attr(ref); var group_id$(this).attr(ref-group-id); var counter $(parent_div+#qty-+group_id).text(); counter (isNaN(counter)) ? 1 : counter; counter--; if (counter 0){ counter 1; } if (group_id 0){ $(parent_div+#qty-+PLU).text(counter); }else{ $(parent_div+#qty-+group_id).text(counter); } }); $(.qty-btn-popup-plus).live(click, function(){ var parent_div $(this).closest(li).attr(id); parent_div (typeof parent_div ! undefined && parent_div ! false) ? #+parent_div+ : ; var PLU $(this).attr(ref); var group_id$(this).attr(ref-group-id); var counter $(parent_div+#qty-+group_id).text(); counter (isNaN(counter)) ? 1 : counter; counter++; if (counter > 99){ counter 99; } if (group_id 0){ $(parent_div+#qty-+PLU).text(counter); }else{ $(parent_div+#qty-+group_id).text(counter); } }); } var option_id; function priceBaseOnOrderType(parent_div) { order_type $(#order-type-bt .active).val(); // if order_type is empty or undefined // order_type is undefined when store is offline if(order_type null || order_type undefined) order_type $(#current_order_type_holder).val(); $(#+ parent_div + .extra-toppings-checkbox).each(function() { var price $(this).attr(value); var plu $(this).attr(plu); if(price 0){ price order_type pickup ? $(this).data(sell-shop) : (order_type delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); $(this).attr(value, price); $(#+ parent_div + #condiment-price-+plu).html(price); } if(price null || price undefined || !price){ price 0; $(#+ parent_div + #condiment-price-+plu).html(price); } }); return false; } function get_condiments(plu, parent_div, currentToppings, extraToppings, defaultToppings){ $(#+parent_div+ .popup-condiments).show(); $(#+parent_div+ .popup-toppings).css(opacity, 0.3); $(#+parent_div+ .lds-ring).show(); $(#+parent_div+ .modal-footer .footer_overlay).show(); $.ajax({ type: POST, url: core/ajax/get_popup_toppings.php, data: {cid: 943, plu: plu, currenttoppings: currentToppings, extratoppings: extraToppings, defaulttoppings: defaultToppings}, success: function(data) { if(data){ $(.popup-toppings).html(); $(#+parent_div+ .lds-ring).hide(); $(#+parent_div+ .popup-toppings).html(data); //WEB-395 UPSELL var upsell_id parent_div.substring(parent_div.lastIndexOf(_)+1); var upsell_container $(#menu-+upsell_id+-upsell-items); if(upsell_container.length > 0) { $(#+parent_div+ .popup-toppings).append(upsell_container.html()); $(#+parent_div+ .upsell-item-chkbox).die(change).live(change, function(){ var popup_total parseFloat($(#+parent_div+ .popup-item-price).text().substring(1)); var upsell_item_price parseFloat($(this).data(price)); if($(this).is(:checked)) { popup_total + upsell_item_price; } else { popup_total - upsell_item_price; } $(#+parent_div+ .popup-item-price).text($+formatNumber(popup_total)); }); } $(#+parent_div+ .popup-toppings).css(opacity, 1); } }, complete: function(data) { priceBaseOnOrderType(parent_div); $(#+parent_div+ .modal-footer .footer_overlay).hide(); // Reset Styles for WEB-573 Line separation on the item modal $(#+ parent_div + .item-option-radio-menu).css(border-bottom, none); $(#+ parent_div + .popup-current-toppings).css(border-top, none); $(#+ parent_div + #extra-toppings).css(border-top, none); var line_chk_01 $(#+ parent_div + .menu-item-option-popup).children().length > 0; var line_chk_02 $(#+ parent_div + .item-option-radio-menu).children().length > 0; var line_chk_03 $(#+ parent_div + .popup-current-toppings).children().length > 0; var line_chk_04 $(#+ parent_div + #extra-toppings).children().length > 0; if(line_chk_01 true && $(#+ parent_div + .item-option-radio-menu).length > 0) { $(#+ parent_div + .item-option-radio-menu)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02) && $(#+ parent_div + .popup-current-toppings).length > 0) { $(#+ parent_div + .popup-current-toppings)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02 || line_chk_03) && $(#+ parent_div + #extra-toppings).length > 0) { $(#+ parent_div + #extra-toppings)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02 || line_chk_03 || line_chk_04) && $(#+ parent_div + .upsell-header).length > 0) { $(#+ parent_div + .upsell-header)0.style.setProperty(border-top, 1px solid #00000038, important); } } }); } function item_option_list(data, groupId, menuId, io, isMultiple, multipleItemGrpId, itemCtr){ var counter 0, // for padding of the right and left side of the col-sm-6 input_type radio, padding, checked, active, item_option_html, option_name data0.option_name, option_display_name data0.option_display_name, min_option (data0.min_permitted ! undefined) ? data0.min_permitted : 0, max_option (data0.max_permitted ! undefined) ? data0.max_permitted : 1; if(!isMultiple){ item_option_html + p stylecolor:black; font-size:13.5px; width:100%>+(option_display_name ? option_display_name : option_name)+/p>; } else{ var io_required; if(min_option 0){ io_required Choose up to +max_option; } else if(min_option max_option){ io_required Required; io_required + (min_option > 1) ? - Choose +min_option : ; } else{ io_required Required - Choose between +min_option+ and +max_option; } item_option_html + div+(itemCtr > 1 ? stylemargin-top:15px; : )+ classmulti-option-select> +div classmulti-option-name item-option-group-name-+multipleItemGrpId+ styleposition:relative; float:left; width:100%;> +p stylecolor:black; font-size:15px; font-weight:600; padding-bottom:0;>+(option_display_name ? option_display_name : option_name)+/p> +span stylefont-size:15px; color:#a1a1a1;>+io_required+/span> +/div>; } $.each(data, function(key, value){ checked; active; counter++; if(counter 1){ padding padding-right:15px; padding-left:0px;; }else{ padding padding-right:0px; padding-left:15px;; counter 0; } if(!isMultiple){ if(value.default_item_option_id value.id){ checked checked; active https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png; } input_type radio; } else{ input_type checkbox; } var price_txt (value.item_price > 0) ? - $ + value.item_price : ; item_option_html + div classinput-group-radio item-option-input-group col-sm-6 style+padding+> +input type+input_type+ styledisplay:none; ref+value.id+ nameitem-option-radio-+groupId+(isMultiple ? -+multipleItemGrpId : )+ classitem-option-radio-list value+value.item_price+ iditem-option-+groupId+-+menuId+-+value.id++((!isMultiple && value.default_item_option_id ! 0) ? default-io+value.default_item_option_id+ : )+(isMultiple ? multiple-iotrue mio-id+multipleItemGrpId+ min-io+value.min_permitted+ max-io+value.max_permitted+ : )+ +checked+> +label for item-option-+groupId+-+menuId+-+value.id+ stylefont-weight:normal !important; padding:5px 10px; border-radius:5px; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; display:flex; justify-content: space-between classinput-group-label input-group-label-template2 input-group-label-default>+value.item_name+price_txt+img src+active+ classcheck-img-popup stylefloat:right; align-self:center>/label> +/div>; }); if(isMultiple){ item_option_html + /div>; } $(item_option_html).appendTo(io); } if(load_once){ $(.add-button-popup).live(click, function(){ var parent_div $(this).closest(li).attr(id); var parent_div_class $(this).closest(li).attr(class); var plu $(this).attr(ref); $(#+ parent_div + #toppings_left).hide(); $(.popup-orig-price).html(0); $(.popup-item-price).html(); var t 0; $(#+ parent_div + .input-group-label).each(function() { if($(this).hasClass(active)){ t 1; } }); if(t 0){ $(#+ parent_div + .input-group-label).each(function() { $(this).addClass(active); return false; }); } if($(#+ parent_div + .item-option-radio-listmultiple-io).length > 0){ $(#+ parent_div + .item-option-radio-listmultiple-io).each(function(){ if($(this).siblings(.input-group-label).hasClass(active)){ $(this).siblings(.input-group-label).removeClass(active); } }); } var popup_price parseFloat($(#+ parent_div + .active #popup-price).html().replace($, )); var hide_toppings $(#+ parent_div + .active).attr(hide_toppings); var active_plu $(#+ parent_div + .active).parent().find(.radio-button-popup).attr(plu); $(#+ parent_div + .modal-footer .qty).html(1); $(#+ parent_div + .popup-item-price).html($+formatNumber(popup_price)); if(hide_toppings 0){ get_condiments(active_plu, parent_div, , , ); } get_item_option(parent_div); }); } $(.qty-btn-popup).live(click, function(){ var parent_div $(this).closest(li).attr(id); var popup_price $(#+ parent_div + .active #popup-price).html(); if(popup_price){ popup_price parseFloat(popup_price.replace($, )); var popup_qty $(this).parent().find(.qty).html(); var toppings_price $(#+ parent_div + .popup-orig-price).html(); toppings_price parseFloat(toppings_price.replace($, )); var total_price parseFloat(popup_price) * parseInt(popup_qty); var toppings_toppings_price parseFloat(toppings_price) * parseInt(popup_qty); var upsell_total 0; $(#+parent_div+ .upsell-item-chkbox:checked).each(function(){ var upsell_price parseFloat($(this).data(price)); upsell_total + upsell_price; }); total_price total_price + toppings_toppings_price + upsell_total; $(this).parent().parent().parent().find(.popup-item-price).html($+formatNumber(total_price)); get_item_option(parent_div); } }); $(.item-option-radio-list).live(click, function(){ var parent_div $(this).closest(li).attr(id); var multiple_io $(this).attr(multiple-io); var mio_id $(this).attr(mio-id); if(typeof multiple_io undefined || multiple_io false){ $(#+ parent_div + .item-option-radio-list).attr(checked, false); $(this).attr(checked, true); } else{ var min_io $(this).attr(min-io); var max_io $(this).attr(max-io); if($(#+parent_div+ name+$(this).attr(name)+:checked).length > min_io){ $(this).parent().parent().css({padding:, border:}); } if(max_io 1 && $(#+parent_div+ name+$(this).attr(name)+:checked).length > 1){ $(#+parent_div+ name+$(this).attr(name)+).attr(checked, false); $(this).attr(checked, true); } else if($(#+parent_div+ name+$(this).attr(name)+:checked).length > max_io){ $(#+last_io_selectedmio_id).attr(checked, false); } last_io_selectedmio_id $(this).attr(id); } checked_io($(this), template4); get_item_option(parent_div); }); $(.menu-option-radio-list).live(click, function(){ // code for the new settings called customise_popup var group_id $(this).attr(ref); var menu_id $(this).attr(menu-id); var plu $(this).attr(plu); var old_plu $(this).siblings(.input-group-label).hasClass(active) var hide_toppings $(this).siblings(.input-group-label).attr(hide_toppings); var parent_div $(this).closest(li).attr(id); var qty $(#+ parent_div + .qty).html(); var io $(#+ parent_div + .item-option-radio); $(#+ parent_div + #toppings_left).hide(); var default_toppings $(#+parent_div+ .current-toppings-checkbox).map(function(){ return $(this).attr(plu); }).get(); var current_toppings $(#+parent_div+ .current-toppings-checkbox:checked).map(function(){ return $(this).attr(plu); }).get(); var extra_toppings $(#+parent_div+ .extra-toppings-checkbox:checked).map(function(){ return $(this).attr(plu); }).get(); if(old_plu false){ if(plu){ if(hide_toppings 0){ get_condiments(plu, parent_div, current_toppings, extra_toppings, default_toppings); }else{ $(#+ parent_div + .popup-condiments).hide(); $(#+ parent_div + .popup-toppings).empty(); } } $(.popup-item-price).html(); $(#+ parent_div + .popup-orig-price).html(0); var popup_price $(this).siblings(.input-group-label).children(#popup-price).html(); popup_price parseFloat(popup_price.replace($, )); var upsell_total 0; $(#+parent_div+ .upsell-item-chkbox:checked).each(function(){ var upsell_price parseFloat($(this).data(price)); upsell_total + upsell_price; }); var total_price (parseFloat(popup_price) * parseInt(qty)) + upsell_total; $(#+ parent_div + .popup-item-price).html($+formatNumber(total_price)); } // for the icon checked besides the label of radio button $(this).parent().parent().find(.check-img-popup).attr(src,); $(this).parent().parent().find(.input-group-label).removeClass(active); $(this).siblings(.input-group-label).children(.check-img-popup).attr(src,https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png); $(this).siblings(.input-group-label).addClass(active); //fix for safari img shown as broken image $(this).parent().parent().find(.check-img-popup).css(visibility,hidden); $(this).siblings(.input-group-label).children(.check-img-popup).css(visibility,visible); $(#+parent_div+ inputnamemenu-item-option-radio-+group_id+).attr(checked, false); $(this).attr(checked, true); $(# + group_id).attr(ref, $(this).val()); if(old_plu false){ $(#+ parent_div + .item-option-radio-menu).hide(); $(#+parent_div+ .radio-button-popup).attr(disabled,disabled); // to prevent multiple item option when radio button is spammed if (io) { io.empty(); $.ajax({ url: core/ajax/item_options.php, type: POST, data: { plu: plu }, dataType: json, success: function (data) { // For item-options that was hidden because of no item option on default size // We need to show it else hide if no data was returned if(Object.keys(data).length > 1 && data){ $(#+ parent_div + .item-option-radio-menu).show(); $(io).fadeIn(0); if(data.hasOwnProperty(multiple_io)){ delete datamultiple_io; var io_ctr 1; $.each(data, function(key, value){ item_option_list(value, group_id, menu_id, io, true, key.trim(), io_ctr); io_ctr++; }); } else{ item_option_list(data, group_id, menu_id, io, false, , 0); } }else{ $(#+ parent_div + .item-option-radio-menu).hide(); } if (!$(#+parent_div+ inputnameitem-option-radio-+group_id+:checked).val()) { // if no item option is checked, we make the first item the default //fix for safari img shown as broken image $(#+parent_div+ input:radionameitem-option-radio-+group_id+:not(:disabled):first).attr(checked, true); $(#+parent_div+ input:radionameitem-option-radio-+group_id+:not(:disabled):first).siblings(.input-group-label).children(.check-img-popup).attr(src,https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png).css(visibility,visible); $(#add-popup-+group_id+-+menu_id).find(input:not(:checked)).siblings(.input-group-label).find(.check-img-popup).css(visibility,hidden); } $(#+parent_div+ .radio-button-popup).attr(disabled, false); }, complete: function (data) { get_item_option(parent_div); // Reset Styles for WEB-573 Line separation on the item modal $(#+ parent_div + .item-option-radio-menu).css(border-bottom, none); $(#+ parent_div + .popup-current-toppings).css(border-top, none); $(#+ parent_div + #extra-toppings).css(border-top, none); var line_chk_01 $(#+ parent_div + .menu-item-option-popup).children().length > 0; var line_chk_02 $(#+ parent_div + .item-option-radio-menu).children().length > 0; var line_chk_03 $(#+ parent_div + .popup-current-toppings).children().length > 0; var line_chk_04 $(#+ parent_div + #extra-toppings).children().length > 0; if(line_chk_01 true && $(#+ parent_div + .item-option-radio-menu).length > 0) { $(#+ parent_div + .item-option-radio-menu)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02) && $(#+ parent_div + .popup-current-toppings).length > 0) { $(#+ parent_div + .popup-current-toppings)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02 || line_chk_03) && $(#+ parent_div + #extra-toppings).length > 0) { $(#+ parent_div + #extra-toppings)0.style.setProperty(border-top, 1px solid #00000038, important); } if((line_chk_01 || line_chk_02 || line_chk_03 || line_chk_04) && $(#+ parent_div + .upsell-header).length > 0) { $(#+ parent_div + .upsell-header)0.style.setProperty(border-top, 1px solid #00000038, important); } } }); } } }); function isNumeric(n) { return !isNaN(parseFloat(n)) && isFinite(n); } var items {}; var free_toppings_list ; function calculateItems() { var total 0; for (var plu in items) { total + itemsplu; } return total; } if(load_once){ $(.extra-toppings-checkbox).live(change, function () { var parent_div $(this).closest(.modal-popup).closest(li).attr(id); var popup_price $(#+ parent_div + .popup-item-price).html(); var toppings_price $(#+ parent_div + .popup-orig-price).html(); var qty $(#+ parent_div + .qty).html(); var counter_free_extras 0; var max_toppings; var num_free_extra 0; var price 0; if($(#+ parent_div + #max_toppings).length){ max_toppings $(#+ parent_div + #max_toppings p).html(); }else{ max_toppings 12; } if($(#+ parent_div + #num-free-toppings).length){ num_free_extra $(#+ parent_div + #num-free-toppings).html(); num_free_orig $(#+ parent_div + #num-free-orig).html(); } var plu $(this).attr(plu); var cur_toppings $(#+parent_div+ .extra-toppings-checkbox::checked).length; //will happen if there is no set limit var remaining_ max_toppings - cur_toppings; // the text is valid since it always being updated by priceBase function // PREVENT ADDING MORE ITEMS if (remaining_ 0) { $(#+ parent_div + #toppings_left).show().delay(1000).fadeOut(); $(#+ parent_div + #toppings_left).html(You have reached the extras limit of +max_toppings); $(this).prop(checked, false); return false; }else{ $(#+ parent_div + #toppings_left).hide(); $(#+ parent_div + #toppings_left).html(); } // Update the price fetching, now respects the order type // Please NOTE that overridden condiment prices will reflect on both pickup/delivery var order_type pickup; price $(this).attr(value); if(!price || price 0){ price order_type pickup ? $(this).data(sell-shop) : (order_type delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); } if($(#+ parent_div + #num-free-toppings).length){ if (num_free_extra > 0 && this.checked) { price 0; $(#+parent_div+ #num-free-toppings).html(parseFloat(num_free_extra) - 1); $(this).addClass(free_item); }else if(num_free_extra 0 && this.checked){ $(#+parent_div+ #num-free-toppings).html(0); $(this).removeClass(free_item); }else if(cur_toppings num_free_orig){ price 0; $(#+parent_div+ #num-free-toppings).html(parseFloat(num_free_extra) + 1); $(this).removeClass(free_item); } else if(!this.checked) { //Check if the checkbox is uncheck counter_free_extras + 1; $(this).removeClass(free_item); } } if(price null || price undefined || !price){ price 0; } var popup_orig parseFloat($(#+ parent_div + .active #popup-price).html().replace($, )); if(this.checked){ price price; }else{ if(counter_free_extras > 0){ price (price > 0) ? -+price : Math.abs(price); let free_topping_checked $(#+parent_div+ .extra-toppings-checkbox.free_item::checked).length; if(free_topping_checked num_free_orig){ $(#+parent_div+ .extra-toppings-checkbox::checked).not(.free_item).each(function(){ $(this).addClass(free_item); var free_item_price $(this).attr(value); if(!free_item_price || free_item_price 0){ free_item_price order_type pickup ? $(this).data(sell-shop) : (order_type delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); } if(!free_item_price || free_item_price undefined){ free_item_price 0; } toppings_price - free_item_price; popup_price parseFloat(popup_price.replace($, )) - free_item_price; price 0; free_topping_checked++; if(free_topping_checked > num_free_orig){ return false; } }); } } else{ price (price > 0) ? -+price : Math.abs(price); } } popup_price (typeof popup_price number) ? popup_price : parseFloat(popup_price.replace($, )); var item_total 0; var toppings_total 0; toppings_total parseFloat(price) + parseFloat(toppings_price); itemsplu parseFloat(price); $(#+ parent_div + .popup-orig-price).html(formatNumber(toppings_total)); price (qty) ? (price * qty) : price; item_total parseFloat(price) + popup_price; //Check if the free extras exceed and it will start add the price of toppings var upsell_total 0; $(#+parent_div+ .upsell-item-chkbox:checked).each(function(){ var upsell_price parseFloat($(this).data(price)); upsell_total + upsell_price; }); $(#+ parent_div + .popup-item-price).html($+formatNumber((item_total+upsell_total))); if($(#+ parent_div + #max_toppings).length){ var counter; if(this.checked){ counter 1; }else{ counter -+1; } max_toppings $(#+ parent_div + #max_toppings span).html(); var toppings_left max_toppings - counter; $(#+parent_div+ #max_toppings span).html(toppings_left); } }); } $(.customise-add-button).click(function () { if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); return; } var menu_id $(this).closest(#menu_items).attr(data-menuid); var parent_div $(this).closest(.modal-popup).closest(li).attr(id); var modal_div $(this).closest(.modal-popup).attr(id); var price $(#+ parent_div + .popup-item-price).html(); price parseFloat(price.replace($, )); var PLU $(this).attr(ref); var qty $(#+ parent_div + .qty).text(); qty (isNaN(qty)) ? 1 : qty; option_id; var mio_ids , mio_msg , mio_req 0; if($(#+ parent_div + .item-option-radio-list).length > 0){ $(#+ parent_div + .item-option-radio-list).each(function(){ if($(this).is(:checked)){ option_id + (option_id.trim()!) ? , : ; option_id + $(this).attr(ref); } if(typeof $(this).attr(mio-id) ! undefined && $(this).attr(mio_id) ! false){ mio_ids.push($(this).attr(mio-id)); } mio_ids ... new Set(mio_ids); }); if(typeof $(#+ parent_div + .item-option-radio-list:first).attr(multiple-io) ! undefined && $(#+ parent_div + .item-option-radio-list:first).attr(multiple-io) ! false){ var io_div; $.each(mio_ids, function(key, val){ var io_selected $(#+parent_div+ .item-option-radio-listmio-id+val+:checked).length, io_min $(#+parent_div+ .item-option-radio-listmio-id+val+:first).attr(min-io), io_max $(#+parent_div+ .item-option-radio-listmio-id+val+:first).attr(max-io), io_name $(#+parent_div+ .item-option-radio-listmio-id+val+:first).parent().siblings(div.item-option-group-name-+val).find(p).text(), io_container $(#+parent_div+ .item-option-radio-listmio-id+val+:first).parent().parent(); io_container.css({padding:, border:}); if(io_selected io_min){ io_container.css({padding:5px, border:1px solid red}); mio_req++; if(!io_div){ io_div io_container; } } else if(io_selected > io_max){ mio_msg.push(+io_name+ cant have more than +io_max); } }); if(mio_req > 0){ $.prompt(Please complete all sections to finish your order); $(#+modal_div+ .modal-body).scrollTop(0).scrollTop(io_div.position().top - 25); return false; } if(mio_msg.length > 0){ $.prompt(mio_msg.join(br/>)); return false; } $(#+parent_div+ .item-option-radio-list).attr(checked, false); checked_io($(#+parent_div+ .item-option-radio-list), template4); } else{ var default_io; default_io $(#+ parent_div + .item-option-radio-list:checked).attr(default-io); if(typeof default_io ! undefined && default_io ! false){ $(#+parent_div+ .item-option-radio-listref+default_io+).attr(checked, true); } else{ $(#+parent_div+ .item-option-radio-list:not(:disabled):first).attr(checked, true); } checked_io($(#+parent_div+ .item-option-radio-list:checked), template4); } } var topping_array new Array(3); var i 0; var f free_toppings_list.slice(); // to prevent mutation of the original list f.sort(); $(#+ parent_div + .toppings-checkbox).each(function () { if ($(this).hasClass(current_item) || ($(this).hasClass(extra-toppings-checkbox) && this.checked)){ var extra_plu $(this).attr(plu); var extra_price parseFloat(this.value); var unit_price parseFloat(this.value); var extra_qty (this.checked true ? 1 : -1); var is_current $(this).hasClass(current_item); var has_chargeable false; if (!extra_price) { extra_price 0; } if (!is_current || extra_qty 0 || extra_qty > 1) { if (is_current && extra_qty > 1) { extra_qty--; } if (is_current && extra_qty 0) { extra_price 0; }else if($(this).hasClass(free_item) || is_current){ extra_price 0; }else{ extra_price unit_price; } topping_arrayi new Array(3); topping_arrayi0 extra_plu; topping_arrayi1 (extra_qty * qty); topping_arrayi2 extra_price; i++; // we add it after if (has_chargeable true) { //increase the counter to prevent overwriting this index topping_arrayi new Array(3); topping_arrayi0 extra_plu; topping_arrayi1 1; topping_arrayi2 0; i++; } } } }); var payload {PLU: PLU, qty: qty, price: price, option_id: option_id, topping_array: topping_array, menu_id : menu_id}; if($(#+parent_div+ .upsell-item-chkbox:checked).length > 5){ $(#loading_bar).addClass(loading_bar).css(z-index, 911).html(div stylewidth:fit-content; background-color:#ffffff; padding:10px 15px; margin:0 15px; border-radius:5px;>+ i classfa-solid fa-circle-notch fa-spin stylefont-size:40px; margin-top:10px; margin-bottom:20px;>/i>+ br>span stylefont-size: 15px; font-weight: 600;>Adding to your cart. Almost done.../span>+ /div>); } $.ajax({ url: core/mybasket.php, type: POST, data: payload, success: function (data) { $(#view-basket).html(data); get_cart_total(); if (!$(#free_item_plu).length) { new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); } $(#+ parent_div + .popup-orig-price).html(0); option_id ; last_io_selected ; } }).done(function(){ var upsell_item {}; var c 0; $(#+parent_div+ .upsell-item-chkbox:checked).each(function(i){ var upsell_plu $(this).attr(data-plu); var upsell_price $(this).data(price); upsell_itemc.toString() { PLU: upsell_plu, price: upsell_price, qty: 1, menu_id: menu_id, is_upsell: true}; c++; }); if(Object.keys(upsell_item).length > 0) { $.ajax({ url: core/mybasket.php, type: POST, data: $.param(upsell_item), success: function (data) { $(#loading_bar).removeClass(loading_bar).css(z-index, ).html(); $(#view-basket).html(data); get_cart_total(); if (!$(#free_item_plu).length) { new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); } } }); } }); }); function get_cart_total(){ $(#cartTotal).load(core/ajax/get_cart_total.php?page+PAGE_NAME, function(data){ $(#cartTotal, .cartTotal).html($+data); }); } $(#promo_button).click(function(){ if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); return; } $(#loading_bar).html(img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/ajax-loader.gif>); $(#loading_bar).center(); var PLU $(this).find(#add-prompt).attr(ref); var qty $(#promo_button #+PLU+-qty).val(); var price $(#promo_button #+PLU+-price).val(); // greater than 1 because do not include the 1st item, which is :: Please select :: if($(#promotional_content #+PLU+-item-option option).length > 1) { var option_id $(#promotional_content #+PLU+-item-option).val(); } var menu_id $(this).parents(#menu_items).data(menuid); $.ajax({ url: core/mybasket.php, type: POST, data: { PLU:PLU, qty:qty, price:price, option_id:option_id, menu_id:menu_id }, success: function(data){ $(#loading_bar).html(); get_cart_total(); $(#view-basket).html(data); last_io_selected ; if (!$(#free_item_plu).length) { new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); } $(#promotional_container).removeClass(active); } }); }); $(.add-button).click(function(){ var parent_div $(this).closest(li).attr(id); var modal_div $(this).closest(.modal-popup).attr(id); if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); return; } $(#loading_bar).html(img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/ajax-loader.gif>); $(#loading_bar).center(); var PLU $(this).attr(ref); if(!isNaN(PLU)){ var qty $(#+parent_div).find(#+PLU+-qty).val(); var price $(#+parent_div).find(+#+PLU+-price).val(); }else{ var qty $(#+parent_div+ #+PLU+-qty).val(); var price $(#+parent_div+ #+PLU+-price).val(); } var group_id $(this).attr(id); //check if item is from promotional prompt if(qty null && price null && $(this).attr(id)promo_button){ var PLU $(this).find(#add-prompt).attr(ref); var qty $(#promo_button #+PLU+-qty).val(); var price $(#promo_button #+PLU+-price).val(); // greater than 1 because do not include the 1st item, which is :: Please select :: if($(#promotional_content #+PLU+-item-option option).length > 1) { var option_id $(#promotional_content #+PLU+-item-option).val(); } } if($(#+parent_div+ #menu-+group_id).length > 0){ price $(#+parent_div+ #menu-+group_id+ option:selected).attr(ref); qty $(#+parent_div+ #qty-+group_id).val(); if($(#+parent_div+ .qty-label-popup).length > 0){ // if popup is enabled then we override the qty qty $(#+parent_div+ #qty-+group_id).text(); var price $(#+parent_div+ inputnamemenu-item-option-radio-+group_id+:checked).attr(price); if(qty 0){ // if item option only then we override the qty qty $(#+parent_div+ #qty-+PLU).text(); } } } var default_io, mio_ids , mio_msg , mio_req 0; if($(#+ parent_div + .item-option-radio-list).length > 0){ option_id; $(#+ parent_div + .item-option-radio-list).each(function(){ if($(this).is(:checked)){ option_id + (option_id.trim()!) ? , : ; option_id + $(this).attr(ref); } if(typeof $(this).attr(mio-id) ! undefined && $(this).attr(mio_id) ! false){ mio_ids.push($(this).attr(mio-id)); } mio_ids ... new Set(mio_ids); }); if(typeof $(#+ parent_div + .item-option-radio-list:first).attr(multiple-io) ! undefined && $(#+ parent_div + .item-option-radio-list:first).attr(multiple-io) ! false){ var io_div; $.each(mio_ids, function(key, val){ var io_selected $(#+parent_div+ .item-option-radio-listmio-id+val+:checked).length, io_min $(#+parent_div+ .item-option-radio-listmio-id+val+:first).attr(min-io), io_max $(#+parent_div+ .item-option-radio-listmio-id+val+:first).attr(max-io), io_name $(#+parent_div+ .item-option-radio-listmio-id+val+:first).parent().siblings(div.item-option-group-name-+val).find(p).text(), io_container $(#+parent_div+ .item-option-radio-listmio-id+val+:first).parent().parent(); io_container.css({padding:, border:}); if(io_selected io_min){ io_container.css({padding:5px, border:1px solid red}); mio_req++; if(!io_div){ io_div io_container; } } else if(io_selected > io_max){ mio_msg.push(+io_name+ cant have more than +io_max); } }); if(mio_req > 0){ $.prompt(Please complete all sections to finish your order); $(#+modal_div+ .modal-body).scrollTop(0).scrollTop(io_div.position().top - 25); $(#loading_bar).html(); return false; } if(mio_msg.length > 0){ $.prompt(mio_msg.join(br/>)); $(#loading_bar).html(); return false; } $(#+parent_div+ .item-option-radio-list).attr(checked, false); checked_io($(#+parent_div+ .item-option-radio-list), template4); } else{ default_io $(#+ parent_div + .item-option-radio-list:checked).attr(default-io); if(typeof default_io ! undefined && default_io ! false){ $(#+parent_div+ inputnameitem-option-radio-+group_id+ref+default_io+).attr(checked, true); } else{ $(#+parent_div+ inputnameitem-option-radio-+group_id+:not(:disabled):first).attr(checked, true); } checked_io($(#+parent_div+ .item-option-radio-list:checked), template4); } } var menu_id $(this).parents(#menu_items).data(menuid); $.ajax({ url: core/mybasket.php, type: POST, data: { PLU:PLU, qty:qty, price:price, option_id:option_id, menu_id:menu_id }, success: function(data){ $(#loading_bar).html(); get_cart_total(); $(#view-basket).html(data); last_io_selected ; if (!$(#free_item_plu).length) { new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); } $(#promotional_container).removeClass(active); } }); }); $(.menu-item-option.form-control).change(function () { var parent_div $(this).closest(li).attr(id); var group_id $(this).attr(ref); var plu $(this).val(); $(#customise- + group_id).attr(ref, $(this).val()); $(# + group_id).attr(ref, $(this).val()); // we hide the custom button when it has hide-custom attr var hide_custom $(#+parent_div+ #menu- + group_id + option:selected).attr(hide-custom); if (hide_custom){ $(#+parent_div+ #menu-+ group_id).parent().siblings(.item-add-buttons).children(.customise-page).css(display, none); }else{ $(#+parent_div+ #menu-+ group_id).parent().siblings(.item-add-buttons).children(.customise-page).css(display, inline-block); } var io $(this).closest(li).find(.item-options); if (io) { var item_option io.val(); $(io).attr(id,plu+-option-id); io.empty(); $.ajax({ url: core/ajax/item_options.php, type: POST, data: { plu: plu }, dataType: json, success: function (data) { // For item-options that was hidden because of no item option on default size // We need to show it else hide if no data was returned if(data.length > 1 && data){ $(io).fadeIn(0); var io_ids data.map(function(key, value) { return keyid; }); }else{ var io_ids ; $(io).fadeOut(0); } var option_selected; $.each(data, function (key, value) { //console.log(value.option_id); var price_txt (value.item_price > 0) ? - $ + value.item_price : ; if(item_option ! null && io_ids.includes(item_option)){ option_selected item_option; } else{ if(value.default_item_option_id value.id){ option_selected value.id; } } $(option />, { value: value.id, text: value.item_name + price_txt, ref: value.price }).appendTo(io) }); if(option_selected){ io.val(option_selected); } } }); option_id $(this).closest(li).find(.item-options).val(); } }); if(check_store_stat() offline) { $(#item-buttons .add-button, .item-add-buttons .customise-add-button).live(click, function(){ if (check_store_stat() online) { location.reload(); } }); } //if condition end //end Refresh page function }); //Refresh page function when closing modal OOA-1543 function check_store_stat() { var client_code $(#client_code).val(); var data_status ; $.ajax({ type: POST, async: false, url: core/ajax/check_store_status.php, data: {client_code: client_code}, success: function(data) { data_status data; } }); //ajax end return data_status; } //function check_store_stat() end function get_item_option(parent_div){ option_id ; if($(#+ parent_div + .item-option-radio-list).length){ var popup_price $(#+ parent_div + .active #popup-price).html(); if(popup_price){ popup_price parseFloat(popup_price.replace($, )); var item_option_price 0; var item_option_ref; if($(#+ parent_div + .item-option-radio-list:checked).length){ $(#+ parent_div + .item-option-radio-list:checked).each(function(){ item_option_price + ($(this).val() ! undefined) ? parseFloat($(this).val()) : 0; item_option_ref + (item_option_ref.trim()!) ? , : ; item_option_ref + $(this).attr(ref); }); } var toppings_price $(#+ parent_div + .popup-orig-price).html(); toppings_price parseFloat(toppings_price.replace($, )); var popup_qty $(#+ parent_div + .qty).html(); var toppings_toppings_price parseFloat(toppings_price) * parseInt(popup_qty); item_option_price item_option_price * parseInt(popup_qty); popup_price popup_price * parseInt(popup_qty); var upsell_total 0; $(#+parent_div+ .upsell-item-chkbox:checked).each(function(){ var upsell_price parseFloat($(this).data(price)); upsell_total + upsell_price; }); var total_prices popup_price + toppings_toppings_price + item_option_price + upsell_total; $(#+ parent_div + .popup-item-price).html($+formatNumber(total_prices)); option_id $(#+ parent_div + .item-option-radio-list:checked).attr(ref); } } } /script> div idmenu-items styledisplay:block>div classmenu-item mi-23876 idhalfhalf-block style> h1>Half/Half /h1> div idmenu_items data-menuid23876> div idmenu-desc-header>div classalert alert-danger halfhalf-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>* $1 Surcharge applies/div> ul idhalf/half-> li idHalfHalf_569004_23876 style classsingle data-track-itemstrue data-pluHH data-item-nameHalf/Half data-item-categoryHalf/Half data-price2 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Half/Half/div>div classitem-price>span classdollar-sign>$/span>2/div>/div>div classclear>/div>div classitem-description>Half Half include $1 surcharge and Order extras $1 each/div>div iditem-buttons>div classmodal modal-popup modal-hh fade idadd-popup-HH roledialog> div classmodal-dialog modal-dialog-popup> div classmodal-content modal-content-popup> div classmodal-header stylebackground-color:unset;> p classclose close-popup hh-close-popup stylecolor:#000 !important; data-dismissmodal>×/p> div idmodal-header-main> h4 classmodal-title stylecolor:#000 !important;>Half/Half/h4> div classmodal-title item-description-popup stylecolor:#000 !important;>/div> /div> div idmodal-header-hh classhide> h4 classmodal-title stylefloat:left; color:#000 !important;>Choose Your First Half/h4> div classreturn-btn stylefloat:right;> button idback-to-main>← Back/button> /div> div stylefloat:right; classreturn-btn hide> button idback-to-pizza classchange-half>← Change Pizza/button> /div> /div> /div> div classmodal-body> div idmodal-body-main>p classhh-size> span stylecolor:#000 !important;>Select Size/span>br>span stylecolor:#000 !important; classhh-surcharge surcharge2>*includes $2 surcharge/span>/p> div classmenu-item-option stylepadding:15px 15px 0px 15px;> div classmenu-item-option menu-item-option-popup stylewidth:100% !important; display:inline-table; padding-bottom:0; margin-bottom:0;>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-HHS classmenu-item-option-radio-HHS valueGluten+Free idHHS-Gluten Free > label forHHS-Gluten Free classinput-group-label>GLUTEN FREE/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-HHS classmenu-item-option-radio-HHS valueLarge idHHS-Large checked> label forHHS-Large classinput-group-label>LARGE/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-HHS classmenu-item-option-radio-HHS valueSmall idHHS-Small > label forHHS-Small classinput-group-label>SMALL/label> /div> /div> /div> div idhh-pizza-container> div classlds-ring styledisplay:none;> div>/div> div>/div> div>/div> /div> div classhh-pizza-container> p classhh-pizza> span stylecolor:#000 !important;>Select Your Pizzas/span>br> span stylecolor:#000 !important;>Required/span> /p> div stylepadding:10px 15px;> p classhh-first> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/first_half.png/> span classhh-first-item-label stylecolor:#000 !important;>Select your first half/span> span classhh-first-icon glyphicon glyphicon-chevron-right>/span> /p> p classhh-second> img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/second_half.png/> span classhh-second-item-label stylecolor:#000 !important;>Select your second half/span> span classhh-second-icon glyphicon glyphicon-chevron-right>/span> /p> /div> /div> /div> /div> div idmodal-body-hh classhide> div idhh-first classhide> div classlds-ring styledisplay:none;> div>/div> div>/div> div>/div> /div> div idhh-first-selected classhide>/div> div idhh-first-item-list stylepadding:30px 15px 10px 15px;>ul>li classhh-item> div classadd-half reffirst pluLP01 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Sams Specialspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Pepperoni, Mushroom, Olives, Capsicum (Ham Optional)/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP04 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Vegetarianspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Onion, Olives, Capsicum, Pineapple, Mushroom/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP02 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Hawaiispan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Pineapple/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP12 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Bbq Chickenspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>BBQ Base, Cheese, Chicken, Pineapple, Mushroom/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP06 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Aussiespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Bacon, Onion, Egg/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP05 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Pepperonispan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Pepperoni/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP08 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Meat Loversspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>BBQ Base, Cheese, Beef, Ham, Bacon, Salami, Cabanossi/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP09 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Seafoodspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Prawns, Clams, Anchovies, Garlic/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP15 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Hot And Spicyspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Beef, Capsicum, Onion, Pepperoni, Jalapenos, Chilli Flakes/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP14 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Capri Cosaspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Salami, Olives, Mushroom, (Ham Optional)/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP11 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Super Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Beef, Salami, Cabanossi, Onion, Mushroom, Capsicum, Pineapple/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP07 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Bacon, Onion, Mushroom, Salami, Cabanossi, Capsicum/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP13 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Chicken Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Chicken, Onion, Mushroom, Capsicum/p> /div>/li>li classhh-item> div classadd-half reffirst pluLP03 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Margheritaspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP05 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Karalee Specialspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, pepperoni, sundried tomato, roasted capsicum, chorizo, artichoke and olives/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP01 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Dutchmanspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Hollandaise, Cheese, Ham, Broccoli/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP02 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Garden Classicspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, mushroom, spinach, broccoli, roasted capsicum, sundried tomato, olives/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP03 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Athensspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, spinach, garlic, sundried tomato, beef, chicken, feta/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP04 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Chicken Bombayspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Curry Sauce, Cheese, chicken, pineapple, cashews/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP06 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Pumpkin Magicspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, pumpkin, sweet potato, feta, olives/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP07 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Tuscanyspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Roast Capsicum, Sundried Tomato, olives, zucchini, eggplant/p> /div>/li>li classhh-item> div classadd-half reffirst pluLGP08 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg San Marcospan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato base, Cheese, Prawns, Feta, Chilli Flakes, Garlic/p> /div>/li>/ul> /div> /div> div idhh-second classhide> div classlds-ring styledisplay:none;> div>/div> div>/div> div>/div> /div> div idhh-second-selected classhide>/div> div idhh-second-item-list stylepadding:30px 15px 10px 15px;>ul>li classhh-item> div classadd-half refsecond pluLP01 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Sams Specialspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Pepperoni, Mushroom, Olives, Capsicum (Ham Optional)/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP04 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Vegetarianspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Onion, Olives, Capsicum, Pineapple, Mushroom/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP02 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Hawaiispan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Pineapple/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP12 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Bbq Chickenspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>BBQ Base, Cheese, Chicken, Pineapple, Mushroom/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP06 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Aussiespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Bacon, Onion, Egg/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP05 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Pepperonispan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Pepperoni/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP08 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Meat Loversspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>BBQ Base, Cheese, Beef, Ham, Bacon, Salami, Cabanossi/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP09 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Seafoodspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Prawns, Clams, Anchovies, Garlic/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP15 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Hot And Spicyspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Beef, Capsicum, Onion, Pepperoni, Jalapenos, Chilli Flakes/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP14 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Capri Cosaspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Salami, Olives, Mushroom, (Ham Optional)/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP11 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Super Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Ham, Beef, Salami, Cabanossi, Onion, Mushroom, Capsicum, Pineapple/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP07 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Bacon, Onion, Mushroom, Salami, Cabanossi, Capsicum/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP13 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Chicken Supremespan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Chicken, Onion, Mushroom, Capsicum/p> /div>/li>li classhh-item> div classadd-half refsecond pluLP03 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Margheritaspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP05 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Karalee Specialspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, pepperoni, sundried tomato, roasted capsicum, chorizo, artichoke and olives/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP01 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Dutchmanspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Hollandaise, Cheese, Ham, Broccoli/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP02 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Garden Classicspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, mushroom, spinach, broccoli, roasted capsicum, sundried tomato, olives/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP03 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Athensspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>tomato base, Cheese, spinach, garlic, sundried tomato, beef, chicken, feta/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP04 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Chicken Bombayspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Curry Sauce, Cheese, chicken, pineapple, cashews/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP06 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Pumpkin Magicspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, pumpkin, sweet potato, feta, olives/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP07 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg Tuscanyspan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato Base, Cheese, Roast Capsicum, Sundried Tomato, olives, zucchini, eggplant/p> /div>/li>li classhh-item> div classadd-half refsecond pluLGP08 cgroup_id2596 subid196> p classhh-item-name stylecolor:#555 !important;>Lrg San Marcospan classitem-icons>/span>/p> p classhh-item-desc stylecolor:#555 !important;>Tomato base, Cheese, Prawns, Feta, Chilli Flakes, Garlic/p> /div>/li>/ul> /div> /div> /div> /div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 footer-space stylepadding:0;>/div> div classcol-md-6 footer-buttons> div idmodal-footer-add> button classbtn stylepadding:10px 0 !important; width:100%; border-radius:0px !important; idadd-half-half menu-id23876>Add/button> /div> div idmodal-footer-next classhide> button classbtn stylepadding:10px 0 !important; width:100%; border-radius:0px !important;>Next/button> /div> input typehidden namefirst-half-plu idfirst-half-plu value/> input typehidden namesecond-half-plu idsecond-half-plu value/> /div> div classcol-md-3 footer-price stylepadding:0; float:right;> p classhalf-half-total stylecolor:#555 !important;>$0.00/p> div classhh-remaining-topping-orig styledisplay:none;>12/div> div classhh-remaining-topping styledisplay:none;>12/div> /div> /div> /div> /div> /div> /div> div classitem-add-popup> input typebutton nameAdd valueAdd classhh-button-popup data-togglemodal data-target#add-popup-HH data-backdropstatic data-keyboardfalse/> /div>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23883 iddeals-block style> h1>Deals/h1> div idmenu_items data-menuid23883> div idmenu-desc-header>div classalert alert-danger deals-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul iddeals> li idAnyLargePizzaandGarlicBread_568933_23883 style classsingle display-special-always0 data-track-itemstrue data-pluDEAL01 data-item-nameAny Large Pizza and Garlic Bread data-item-categoryDeals data-price24 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Any Large Pizza and Garlic Bread/div>div classitem-price pt-0>span classdollar-sign>$/span>24/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons>input nameAdd Deal typebutton valueAdd classadd-deal pluDEAL01 deal-id16424 menu-id23883>/div>/div>/li>li idLargePizzaGarlicBread_568970_23883 style classsingle display-special-always0 data-track-itemstrue data-pluDEAL02 data-item-name2 Large Pizza + Garlic Bread data-item-categoryDeals data-price45 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>2 Large Pizza + Garlic Bread/div>div classitem-price pt-0>span classdollar-sign>$/span>45/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons>input nameAdd Deal typebutton valueAdd classadd-deal pluDEAL02 deal-id16425 menu-id23883>/div>/div>/li>li idLargePizzaSMLGarlicPizza_568971_23883 style classsingle display-special-always0 data-track-itemstrue data-pluDEAL03 data-item-name3 Large Pizza + SML Garlic Pizza data-item-categoryDeals data-price66 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>3 Large Pizza + SML Garlic Pizza/div>div classitem-price pt-0>span classdollar-sign>$/span>66/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons>input nameAdd Deal typebutton valueAdd classadd-deal pluDEAL03 deal-id16426 menu-id23883>/div>/div>/li>li idLargeRibsandLRGGarlicPizza_7113211_23883 style classsingle display-special-always0 data-track-itemstrue data-pluDEAL05 data-item-name3 Large Ribs and LRG Garlic Pizza data-item-categoryDeals data-price84 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>3 Large Ribs and LRG Garlic Pizza/div>div classitem-price pt-0>span classdollar-sign>$/span>84/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons>input nameAdd Deal typebutton valueAdd classadd-deal pluDEAL05 deal-id29509 menu-id23883>/div>/div>/li>li idLargeRibsSMLGarlicPizza_568973_23883 style classsingle display-special-always0 data-track-itemstrue data-pluDEAL04 data-item-name2 Large Ribs + SML Garlic Pizza data-item-categoryDeals data-price56 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>2 Large Ribs + SML Garlic Pizza/div>div classitem-price pt-0>span classdollar-sign>$/span>56/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons>input nameAdd Deal typebutton valueAdd classadd-deal pluDEAL04 deal-id16427 menu-id23883>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23884 idpizza-block style> h1>Pizza/h1> div idmenu_items data-menuid23884> div idmenu-desc-header>div classalert alert-danger pizza-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idpizza> li idSamsSpecial_43732_23884 style classgroup data-track-itemstrue data-plu data-item-nameSams Special data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Sams Special/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Pepperoni, Mushroom, Olives, Capsicum (Ham Optional)/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43732-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Sams Special/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Pepperoni, Mushroom, Olives, Capsicum (Ham Optional)/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43732 ref43732>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43732 class radio-button-popup menu-option-radio-list valueGFP01 price24 ref43732 id43732-GFP01 pluGFP01 menu-id23884 > label for43732-GFP01 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43732 class radio-button-popup menu-option-radio-list valueLP01 price22 ref43732 id43732-LP01 pluLP01 menu-id23884 checkedchecked> label for43732-LP01 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43732 class radio-button-popup menu-option-radio-list valueSP01 price15 ref43732 id43732-SP01 pluSP01 menu-id23884 > label for43732-SP01 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div classitem-option-radio item-option-radio-menu row>p stylefont-weight:600; padding-bottom:0px; width:100%>Ham Option/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref25008 nameitem-option-radio-43732 classitem-option-radio-list value0 iditem-option-43732-23884-25008 checked> label foritem-option-43732-23884-25008 stylefont-weight:normal !important; padding:5px 10px; border-radius:5px; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; display:flex; justify-content: space-between classinput-group-label input-group-label-template2 input-group-label-default>No Hamimg srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:0px; padding-left:15px;> input typeradio styledisplay:none; ref25009 nameitem-option-radio-43732 classitem-option-radio-list value0 iditem-option-43732-23884-25009 > label foritem-option-43732-23884-25009 stylefont-weight:normal !important; padding:5px 10px; border-radius:5px; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; display:flex; justify-content: space-between classinput-group-label input-group-label-template2 input-group-label-default>Add Hamimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43732>i classglyphicon glyphicon-minus>/i>/button> label idqty-43732 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43732>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43732 refLP01/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43732-23884 id43732 menu-id23884 refLP01 />/div>/div>/li>li idVegetarian_43734_23884 style classgroup data-track-itemstrue data-plu data-item-nameVegetarian data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Vegetarian/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Onion, Olives, Capsicum, Pineapple, Mushroom/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43734-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Vegetarian/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Onion, Olives, Capsicum, Pineapple, Mushroom/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43734 ref43734>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43734 class radio-button-popup menu-option-radio-list valueGFP04 price24 ref43734 id43734-GFP04 pluGFP04 menu-id23884 > label for43734-GFP04 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43734 class radio-button-popup menu-option-radio-list valueLP04 price22 ref43734 id43734-LP04 pluLP04 menu-id23884 checkedchecked> label for43734-LP04 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43734 class radio-button-popup menu-option-radio-list valueSP04 price15 ref43734 id43734-SP04 pluSP04 menu-id23884 > label for43734-SP04 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43734>i classglyphicon glyphicon-minus>/i>/button> label idqty-43734 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43734>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43734 refLP04/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43734-23884 id43734 menu-id23884 refLP04 />/div>/div>/li>li idHawaii_43745_23884 style classgroup data-track-itemstrue data-plu data-item-nameHawaii data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Hawaii/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Ham, Pineapple/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43745-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Hawaii/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Ham, Pineapple/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43745 ref43745>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43745 class radio-button-popup menu-option-radio-list valueGFP02 price24 ref43745 id43745-GFP02 pluGFP02 menu-id23884 > label for43745-GFP02 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43745 class radio-button-popup menu-option-radio-list valueLP02 price22 ref43745 id43745-LP02 pluLP02 menu-id23884 checkedchecked> label for43745-LP02 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43745 class radio-button-popup menu-option-radio-list valueSP02 price15 ref43745 id43745-SP02 pluSP02 menu-id23884 > label for43745-SP02 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43745>i classglyphicon glyphicon-minus>/i>/button> label idqty-43745 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43745>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43745 refLP02/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43745-23884 id43745 menu-id23884 refLP02 />/div>/div>/li>li idBBQChicken_43742_23884 style classgroup data-track-itemstrue data-plu data-item-nameBBQ Chicken data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>BBQ Chicken/div>/div>div classclear>/div>div classitem-description>BBQ Base, Cheese, Chicken, Pineapple, Mushroom/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43742-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>BBQ Chicken/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>BBQ Base, Cheese, Chicken, Pineapple, Mushroom/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43742 ref43742>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43742 class radio-button-popup menu-option-radio-list valueGFP12 price24 ref43742 id43742-GFP12 pluGFP12 menu-id23884 > label for43742-GFP12 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43742 class radio-button-popup menu-option-radio-list valueLP12 price22 ref43742 id43742-LP12 pluLP12 menu-id23884 checkedchecked> label for43742-LP12 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43742 class radio-button-popup menu-option-radio-list valueSP12 price15 ref43742 id43742-SP12 pluSP12 menu-id23884 > label for43742-SP12 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43742>i classglyphicon glyphicon-minus>/i>/button> label idqty-43742 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43742>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43742 refLP12/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43742-23884 id43742 menu-id23884 refLP12 />/div>/div>/li>li idAussie_43736_23884 style classgroup data-track-itemstrue data-plu data-item-nameAussie data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Aussie/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Ham, Bacon, Onion, Egg/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43736-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Aussie/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Ham, Bacon, Onion, Egg/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43736 ref43736>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43736 class radio-button-popup menu-option-radio-list valueGFP06 price24 ref43736 id43736-GFP06 pluGFP06 menu-id23884 > label for43736-GFP06 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43736 class radio-button-popup menu-option-radio-list valueLP06 price22 ref43736 id43736-LP06 pluLP06 menu-id23884 checkedchecked> label for43736-LP06 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43736 class radio-button-popup menu-option-radio-list valueSP06 price15 ref43736 id43736-SP06 pluSP06 menu-id23884 > label for43736-SP06 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43736>i classglyphicon glyphicon-minus>/i>/button> label idqty-43736 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43736>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43736 refLP06/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43736-23884 id43736 menu-id23884 refLP06 />/div>/div>/li>li idPepperoni_43735_23884 style classgroup data-track-itemstrue data-plu data-item-namePepperoni data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Pepperoni/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Pepperoni/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43735-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Pepperoni/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Pepperoni/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43735 ref43735>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43735 class radio-button-popup menu-option-radio-list valueGFP05 price24 ref43735 id43735-GFP05 pluGFP05 menu-id23884 > label for43735-GFP05 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43735 class radio-button-popup menu-option-radio-list valueLP05 price22 ref43735 id43735-LP05 pluLP05 menu-id23884 checkedchecked> label for43735-LP05 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43735 class radio-button-popup menu-option-radio-list valueSP05 price15 ref43735 id43735-SP05 pluSP05 menu-id23884 > label for43735-SP05 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43735>i classglyphicon glyphicon-minus>/i>/button> label idqty-43735 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43735>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43735 refLP05/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43735-23884 id43735 menu-id23884 refLP05 />/div>/div>/li>li idMeatLovers_43738_23884 style classgroup data-track-itemstrue data-plu data-item-nameMeat Lovers data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Meat Lovers/div>/div>div classclear>/div>div classitem-description>BBQ Base, Cheese, Beef, Ham, Bacon, Salami, Cabanossi/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43738-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Meat Lovers/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>BBQ Base, Cheese, Beef, Ham, Bacon, Salami, Cabanossi/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43738 ref43738>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43738 class radio-button-popup menu-option-radio-list valueGFP08 price24 ref43738 id43738-GFP08 pluGFP08 menu-id23884 > label for43738-GFP08 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43738 class radio-button-popup menu-option-radio-list valueLP08 price22 ref43738 id43738-LP08 pluLP08 menu-id23884 checkedchecked> label for43738-LP08 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43738 class radio-button-popup menu-option-radio-list valueSP08 price15 ref43738 id43738-SP08 pluSP08 menu-id23884 > label for43738-SP08 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43738>i classglyphicon glyphicon-minus>/i>/button> label idqty-43738 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43738>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43738 refLP08/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43738-23884 id43738 menu-id23884 refLP08 />/div>/div>/li>li idSeafood_43739_23884 style classgroup data-track-itemstrue data-plu data-item-nameSeafood data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Seafood/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Prawns, Clams, Anchovies, Garlic/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43739-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Seafood/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Prawns, Clams, Anchovies, Garlic/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43739 ref43739>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43739 class radio-button-popup menu-option-radio-list valueGFP09 price24 ref43739 id43739-GFP09 pluGFP09 menu-id23884 > label for43739-GFP09 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43739 class radio-button-popup menu-option-radio-list valueLP09 price22 ref43739 id43739-LP09 pluLP09 menu-id23884 checkedchecked> label for43739-LP09 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43739 class radio-button-popup menu-option-radio-list valueSP09 price15 ref43739 id43739-SP09 pluSP09 menu-id23884 > label for43739-SP09 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43739>i classglyphicon glyphicon-minus>/i>/button> label idqty-43739 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43739>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43739 refLP09/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43739-23884 id43739 menu-id23884 refLP09 />/div>/div>/li>li idHotandSpicy_43740_23884 style classgroup data-track-itemstrue data-plu data-item-nameHot and Spicy data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Hot and Spicy/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Beef, Capsicum, Onion, Pepperoni, Jalapenos, Chilli Flakes/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43740-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Hot and Spicy/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Beef, Capsicum, Onion, Pepperoni, Jalapenos, Chilli Flakes/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43740 ref43740>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43740 class radio-button-popup menu-option-radio-list valueSP10 price15 ref43740 id43740-SP10 pluSP10 menu-id23884 > label for43740-SP10 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43740 class radio-button-popup menu-option-radio-list valueLP15 price22 ref43740 id43740-LP15 pluLP15 menu-id23884 checkedchecked> label for43740-LP15 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43740 class radio-button-popup menu-option-radio-list valueGFP10 price24 ref43740 id43740-GFP10 pluGFP10 menu-id23884 > label for43740-GFP10 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43740>i classglyphicon glyphicon-minus>/i>/button> label idqty-43740 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43740>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43740 refLP15/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43740-23884 id43740 menu-id23884 refLP15 />/div>/div>/li>li idCapriCosa_43744_23884 style classgroup data-track-itemstrue data-plu data-item-nameCapri Cosa data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Capri Cosa/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Salami, Olives, Mushroom, (Ham Optional)/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43744-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Capri Cosa/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Salami, Olives, Mushroom, (Ham Optional)/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43744 ref43744>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43744 class radio-button-popup menu-option-radio-list valueGFP14 price24 ref43744 id43744-GFP14 pluGFP14 menu-id23884 > label for43744-GFP14 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43744 class radio-button-popup menu-option-radio-list valueLP14 price22 ref43744 id43744-LP14 pluLP14 menu-id23884 checkedchecked> label for43744-LP14 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43744 class radio-button-popup menu-option-radio-list valueSP14 price15 ref43744 id43744-SP14 pluSP14 menu-id23884 > label for43744-SP14 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div classitem-option-radio item-option-radio-menu row>p stylefont-weight:600; padding-bottom:0px; width:100%>Ham Option/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref25008 nameitem-option-radio-43744 classitem-option-radio-list value0 iditem-option-43744-23884-25008 checked> label foritem-option-43744-23884-25008 stylefont-weight:normal !important; padding:5px 10px; border-radius:5px; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; display:flex; justify-content: space-between classinput-group-label input-group-label-template2 input-group-label-default>No Hamimg srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:0px; padding-left:15px;> input typeradio styledisplay:none; ref25009 nameitem-option-radio-43744 classitem-option-radio-list value0 iditem-option-43744-23884-25009 > label foritem-option-43744-23884-25009 stylefont-weight:normal !important; padding:5px 10px; border-radius:5px; user-select:none; -moz-user-select:none; -webkit-user-select:none; -ms-user-select:none; display:flex; justify-content: space-between classinput-group-label input-group-label-template2 input-group-label-default>Add Hamimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43744>i classglyphicon glyphicon-minus>/i>/button> label idqty-43744 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43744>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43744 refLP14/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43744-23884 id43744 menu-id23884 refLP14 />/div>/div>/li>li idSuperSupreme_43741_23884 style classgroup data-track-itemstrue data-plu data-item-nameSuper Supreme data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Super Supreme/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Ham, Beef, Salami, Cabanossi, Onion, Mushroom, Capsicum, Pineapple/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43741-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Super Supreme/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Ham, Beef, Salami, Cabanossi, Onion, Mushroom, Capsicum, Pineapple/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43741 ref43741>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43741 class radio-button-popup menu-option-radio-list valueGFP11 price24 ref43741 id43741-GFP11 pluGFP11 menu-id23884 > label for43741-GFP11 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43741 class radio-button-popup menu-option-radio-list valueLP11 price22 ref43741 id43741-LP11 pluLP11 menu-id23884 checkedchecked> label for43741-LP11 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43741 class radio-button-popup menu-option-radio-list valueSP11 price15 ref43741 id43741-SP11 pluSP11 menu-id23884 > label for43741-SP11 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43741>i classglyphicon glyphicon-minus>/i>/button> label idqty-43741 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43741>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43741 refLP11/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43741-23884 id43741 menu-id23884 refLP11 />/div>/div>/li>li idSupreme_43737_23884 style classgroup data-track-itemstrue data-plu data-item-nameSupreme data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Supreme/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Bacon, Onion, Mushroom, Salami, Cabanossi, Capsicum/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43737-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Supreme/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Bacon, Onion, Mushroom, Salami, Cabanossi, Capsicum/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43737 ref43737>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43737 class radio-button-popup menu-option-radio-list valueGFP07 price24 ref43737 id43737-GFP07 pluGFP07 menu-id23884 > label for43737-GFP07 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43737 class radio-button-popup menu-option-radio-list valueLP07 price22 ref43737 id43737-LP07 pluLP07 menu-id23884 checkedchecked> label for43737-LP07 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43737 class radio-button-popup menu-option-radio-list valueSP07 price15 ref43737 id43737-SP07 pluSP07 menu-id23884 > label for43737-SP07 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43737>i classglyphicon glyphicon-minus>/i>/button> label idqty-43737 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43737>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43737 refLP07/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43737-23884 id43737 menu-id23884 refLP07 />/div>/div>/li>li idChickenSupreme_43743_23884 style classgroup data-track-itemstrue data-plu data-item-nameChicken Supreme data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Chicken Supreme/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Chicken, Onion, Mushroom, Capsicum/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43743-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Chicken Supreme/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Chicken, Onion, Mushroom, Capsicum/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43743 ref43743>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43743 class radio-button-popup menu-option-radio-list valueGFP13 price24 ref43743 id43743-GFP13 pluGFP13 menu-id23884 > label for43743-GFP13 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43743 class radio-button-popup menu-option-radio-list valueLP13 price22 ref43743 id43743-LP13 pluLP13 menu-id23884 checkedchecked> label for43743-LP13 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43743 class radio-button-popup menu-option-radio-list valueSP13 price15 ref43743 id43743-SP13 pluSP13 menu-id23884 > label for43743-SP13 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43743>i classglyphicon glyphicon-minus>/i>/button> label idqty-43743 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43743>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43743 refLP13/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43743-23884 id43743 menu-id23884 refLP13 />/div>/div>/li>li idMargherita_43733_23884 style classgroup data-track-itemstrue data-plu data-item-nameMargherita data-item-categoryPizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Margherita/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43733-23884 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Margherita/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43733 ref43733>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43733 class radio-button-popup menu-option-radio-list valueGFP03 price24 ref43733 id43733-GFP03 pluGFP03 menu-id23884 > label for43733-GFP03 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43733 class radio-button-popup menu-option-radio-list valueLP03 price22 ref43733 id43733-LP03 pluLP03 menu-id23884 checkedchecked> label for43733-LP03 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43733 class radio-button-popup menu-option-radio-list valueSP03 price15 ref43733 id43733-SP03 pluSP03 menu-id23884 > label for43733-SP03 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43733>i classglyphicon glyphicon-minus>/i>/button> label idqty-43733 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43733>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43733 refLP03/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43733-23884 id43733 menu-id23884 refLP03 />/div>/div>/li> /ul> div classspacer>/div> /div> div idmenu-23884-upsell-items styledisplay:none> div classupsell-container>div classupsell-header>You may also like:/div>label forupsell-item-23884-DES01 classupsell-item>div classupsell-description p-upsell> h5>b>NUTELLA CALZONE/b>/h5>p>/p>h5 classtext-muted>b>$18/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23884-DES01 classupsell-item-chkbox data-pluDES01 data-price18 typecheckbox> span>/span> /div>/label>label forupsell-item-23884-DR02 classupsell-item>div classupsell-description p-upsell> h5>b>1.25L DRINK/b>/h5>p>/p>h5 classtext-muted>b>$7/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23884-DR02 classupsell-item-chkbox data-pluDR02 data-price7 typecheckbox> span>/span> /div>/label>label forupsell-item-23884-SID01 classupsell-item>div classupsell-description p-upsell> h5>b>GARLIC BREAD ROLL/b>/h5>p>/p>h5 classtext-muted>b>$5.50/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23884-SID01 classupsell-item-chkbox data-pluSID01 data-price5.5 typecheckbox> span>/span> /div>/label>/div> /div> /div>div classmenu-item mi-23885 idgourmet-pizza-block style> h1>Gourmet Pizza/h1> div idmenu_items data-menuid23885> div idmenu-desc-header>div classalert alert-danger gourmet-pizza-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idgourmet-pizza> li idKaraleeSpecial_43748_23885 style classgroup data-track-itemstrue data-plu data-item-nameKaralee Special data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Karalee Special/div>/div>div classclear>/div>div classitem-description>tomato base, Cheese, pepperoni, sundried tomato, roasted capsicum, chorizo, artichoke and olives/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43748-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Karalee Special/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>tomato base, Cheese, pepperoni, sundried tomato, roasted capsicum, chorizo, artichoke and olives/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43748 ref43748>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43748 class radio-button-popup menu-option-radio-list valueGFGP05 price24 ref43748 id43748-GFGP05 pluGFGP05 menu-id23885 > label for43748-GFGP05 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43748 class radio-button-popup menu-option-radio-list valueLGP05 price22 ref43748 id43748-LGP05 pluLGP05 menu-id23885 checkedchecked> label for43748-LGP05 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43748 class radio-button-popup menu-option-radio-list valueSGP05 price15 ref43748 id43748-SGP05 pluSGP05 menu-id23885 > label for43748-SGP05 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43748>i classglyphicon glyphicon-minus>/i>/button> label idqty-43748 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43748>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43748 refLGP05/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43748-23885 id43748 menu-id23885 refLGP05 />/div>/div>/li>li idDutchman_43753_23885 style classgroup data-track-itemstrue data-plu data-item-nameDutchman data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Dutchman/div>/div>div classclear>/div>div classitem-description>Hollandaise, Cheese, Ham, Broccoli/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43753-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Dutchman/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Hollandaise, Cheese, Ham, Broccoli/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43753 ref43753>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43753 class radio-button-popup menu-option-radio-list valueSGP01 price15 ref43753 id43753-SGP01 pluSGP01 menu-id23885 > label for43753-SGP01 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43753 class radio-button-popup menu-option-radio-list valueLGP01 price22 ref43753 id43753-LGP01 pluLGP01 menu-id23885 checkedchecked> label for43753-LGP01 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43753 class radio-button-popup menu-option-radio-list valueGFGP01 price24 ref43753 id43753-GFGP01 pluGFGP01 menu-id23885 > label for43753-GFGP01 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43753>i classglyphicon glyphicon-minus>/i>/button> label idqty-43753 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43753>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43753 refLGP01/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43753-23885 id43753 menu-id23885 refLGP01 />/div>/div>/li>li idGardenClassic_43746_23885 style classgroup data-track-itemstrue data-plu data-item-nameGarden Classic data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Garden Classic/div>/div>div classclear>/div>div classitem-description>tomato base, Cheese, mushroom, spinach, broccoli, roasted capsicum, sundried tomato, olives/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43746-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Garden Classic/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>tomato base, Cheese, mushroom, spinach, broccoli, roasted capsicum, sundried tomato, olives/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43746 ref43746>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43746 class radio-button-popup menu-option-radio-list valueLGP02 price22 ref43746 id43746-LGP02 pluLGP02 menu-id23885 checkedchecked> label for43746-LGP02 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43746 class radio-button-popup menu-option-radio-list valueSGP02 price15 ref43746 id43746-SGP02 pluSGP02 menu-id23885 > label for43746-SGP02 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43746 class radio-button-popup menu-option-radio-list valueGFGP02 price24 ref43746 id43746-GFGP02 pluGFGP02 menu-id23885 > label for43746-GFGP02 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43746>i classglyphicon glyphicon-minus>/i>/button> label idqty-43746 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43746>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43746 refLGP02/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43746-23885 id43746 menu-id23885 refLGP02 />/div>/div>/li>li idAthens_43751_23885 style classgroup data-track-itemstrue data-plu data-item-nameAthens data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Athens/div>/div>div classclear>/div>div classitem-description>tomato base, Cheese, spinach, garlic, sundried tomato, beef, chicken, feta/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43751-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Athens/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>tomato base, Cheese, spinach, garlic, sundried tomato, beef, chicken, feta/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43751 ref43751>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43751 class radio-button-popup menu-option-radio-list valueSGP03 price15 ref43751 id43751-SGP03 pluSGP03 menu-id23885 > label for43751-SGP03 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43751 class radio-button-popup menu-option-radio-list valueLGP03 price22 ref43751 id43751-LGP03 pluLGP03 menu-id23885 checkedchecked> label for43751-LGP03 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43751 class radio-button-popup menu-option-radio-list valueGFGP03 price24 ref43751 id43751-GFGP03 pluGFGP03 menu-id23885 > label for43751-GFGP03 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43751>i classglyphicon glyphicon-minus>/i>/button> label idqty-43751 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43751>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43751 refLGP03/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43751-23885 id43751 menu-id23885 refLGP03 />/div>/div>/li>li idChickenBombay_43747_23885 style classgroup data-track-itemstrue data-plu data-item-nameChicken Bombay data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Chicken Bombay/div>/div>div classclear>/div>div classitem-description>Curry Sauce, Cheese, chicken, pineapple, cashews/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43747-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Chicken Bombay/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Curry Sauce, Cheese, chicken, pineapple, cashews/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43747 ref43747>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43747 class radio-button-popup menu-option-radio-list valueGFGP04 price24 ref43747 id43747-GFGP04 pluGFGP04 menu-id23885 > label for43747-GFGP04 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43747 class radio-button-popup menu-option-radio-list valueLGP04 price22 ref43747 id43747-LGP04 pluLGP04 menu-id23885 checkedchecked> label for43747-LGP04 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43747 class radio-button-popup menu-option-radio-list valueSGP04 price15 ref43747 id43747-SGP04 pluSGP04 menu-id23885 > label for43747-SGP04 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43747>i classglyphicon glyphicon-minus>/i>/button> label idqty-43747 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43747>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43747 refLGP04/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43747-23885 id43747 menu-id23885 refLGP04 />/div>/div>/li>li idPumpkinMagic_43749_23885 style classgroup data-track-itemstrue data-plu data-item-namePumpkin Magic data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Pumpkin Magic/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, pumpkin, sweet potato, feta, olives/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43749-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Pumpkin Magic/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, pumpkin, sweet potato, feta, olives/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43749 ref43749>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43749 class radio-button-popup menu-option-radio-list valueGFGP06 price24 ref43749 id43749-GFGP06 pluGFGP06 menu-id23885 > label for43749-GFGP06 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43749 class radio-button-popup menu-option-radio-list valueLGP06 price22 ref43749 id43749-LGP06 pluLGP06 menu-id23885 checkedchecked> label for43749-LGP06 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43749 class radio-button-popup menu-option-radio-list valueSGP06 price15 ref43749 id43749-SGP06 pluSGP06 menu-id23885 > label for43749-SGP06 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43749>i classglyphicon glyphicon-minus>/i>/button> label idqty-43749 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43749>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43749 refLGP06/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43749-23885 id43749 menu-id23885 refLGP06 />/div>/div>/li>li idTuscany_43752_23885 style classgroup data-track-itemstrue data-plu data-item-nameTuscany data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Tuscany/div>/div>div classclear>/div>div classitem-description>Tomato Base, Cheese, Roast Capsicum, Sundried Tomato, olives, zucchini, eggplant/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43752-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Tuscany/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato Base, Cheese, Roast Capsicum, Sundried Tomato, olives, zucchini, eggplant/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43752 ref43752>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43752 class radio-button-popup menu-option-radio-list valueGFGP07 price24 ref43752 id43752-GFGP07 pluGFGP07 menu-id23885 > label for43752-GFGP07 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43752 class radio-button-popup menu-option-radio-list valueLGP07 price22 ref43752 id43752-LGP07 pluLGP07 menu-id23885 checkedchecked> label for43752-LGP07 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43752 class radio-button-popup menu-option-radio-list valueSGP07 price15 ref43752 id43752-SGP07 pluSGP07 menu-id23885 > label for43752-SGP07 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43752>i classglyphicon glyphicon-minus>/i>/button> label idqty-43752 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43752>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43752 refLGP07/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43752-23885 id43752 menu-id23885 refLGP07 />/div>/div>/li>li idSanMarco_43750_23885 style classgroup data-track-itemstrue data-plu data-item-nameSan Marco data-item-categoryGourmet Pizza >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>San Marco/div>/div>div classclear>/div>div classitem-description>Tomato base, Cheese, Prawns, Feta, Chilli Flakes, Garlic/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43750-23885 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>San Marco/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Tomato base, Cheese, Prawns, Feta, Chilli Flakes, Garlic/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43750 ref43750>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43750 class radio-button-popup menu-option-radio-list valueLGP08 price22 ref43750 id43750-LGP08 pluLGP08 menu-id23885 checkedchecked> label for43750-LGP08 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$22/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43750 class radio-button-popup menu-option-radio-list valueSGP08 price15 ref43750 id43750-SGP08 pluSGP08 menu-id23885 > label for43750-SGP08 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$15/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43750 class radio-button-popup menu-option-radio-list valueGFGP08 price24 ref43750 id43750-GFGP08 pluGFGP08 menu-id23885 > label for43750-GFGP08 class input-group-label hide_toppings0 stylefont-weight: normal; >Gluten Free span idpopup-price>$24/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43750>i classglyphicon glyphicon-minus>/i>/button> label idqty-43750 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43750>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43750 refLGP08/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43750-23885 id43750 menu-id23885 refLGP08 />/div>/div>/li> /ul> div classspacer>/div> /div> div idmenu-23885-upsell-items styledisplay:none> div classupsell-container>div classupsell-header>You may also like:/div>label forupsell-item-23885-DES01 classupsell-item>div classupsell-description p-upsell> h5>b>NUTELLA CALZONE/b>/h5>p>/p>h5 classtext-muted>b>$18/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23885-DES01 classupsell-item-chkbox data-pluDES01 data-price18 typecheckbox> span>/span> /div>/label>label forupsell-item-23885-DR02 classupsell-item>div classupsell-description p-upsell> h5>b>1.25L DRINK/b>/h5>p>/p>h5 classtext-muted>b>$7/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23885-DR02 classupsell-item-chkbox data-pluDR02 data-price7 typecheckbox> span>/span> /div>/label>label forupsell-item-23885-SID01 classupsell-item>div classupsell-description p-upsell> h5>b>GARLIC BREAD ROLL/b>/h5>p>/p>h5 classtext-muted>b>$5.50/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23885-SID01 classupsell-item-chkbox data-pluSID01 data-price5.5 typecheckbox> span>/span> /div>/label>/div> /div> /div>div classmenu-item mi-23886 idpasta-block style> h1>Pasta/h1> div idmenu_items data-menuid23886> div idmenu-desc-header>div classalert alert-danger pasta-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idpasta> li idLasagna_568951_23886 style classsingle data-track-itemstrue data-pluPAS01 data-item-nameLasagna data-item-categoryPasta data-price17 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Lasagna/div>div classitem-price>span classdollar-sign>$/span>17/div>/div>div classclear>/div>div classitem-description>Tomato sauce, Beef, cheese/div>div iditem-buttons> select nameqty idPAS01-qty refPAS01 classqty-select qty form-control>/select> input typehidden value17 idPAS01-price />select classitem-options form-control styledisplay:none; idPAS01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS01 refPAS01/>/div>/div>/li>li idHotandSpicy_568949_23886 style classsingle data-track-itemstrue data-pluPAS02 data-item-nameHot and Spicy data-item-categoryPasta data-price16 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Hot and Spicy/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>Tomato sauce, beef, capsicum, onion, garlic, herbs, chilli/div>div iditem-buttons> select nameqty idPAS02-qty refPAS02 classqty-select qty form-control>/select> input typehidden value16 idPAS02-price />select classitem-options form-control styledisplay:none; idPAS02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS02 refPAS02/>/div>/div>/li>li idBolognaise_568948_23886 style classsingle data-track-itemstrue data-pluPAS03 data-item-nameBolognaise data-item-categoryPasta data-price16 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Bolognaise/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>tomato sauce, beef, capsicum, onion, garlic, herbs/div>div iditem-buttons> select nameqty idPAS03-qty refPAS03 classqty-select qty form-control>/select> input typehidden value16 idPAS03-price />select classitem-options form-control styledisplay:none; idPAS03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS03 refPAS03/>/div>/div>/li>li idCarbonara_568947_23886 style classsingle data-track-itemstrue data-pluPAS04 data-item-nameCarbonara data-item-categoryPasta data-price16 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Carbonara/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>Creamy sauce, bacon, herbs/div>div iditem-buttons> select nameqty idPAS04-qty refPAS04 classqty-select qty form-control>/select> input typehidden value16 idPAS04-price />select classitem-options form-control styledisplay:none; idPAS04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS04 refPAS04/>/div>/div>/li>li idMarinara_568946_23886 style classsingle data-track-itemstrue data-pluPAS05 data-item-nameMarinara data-item-categoryPasta data-price16 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Marinara/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>tomato sauce OR Creamy sauce, mixed seafood/div>div iditem-buttons> select nameqty idPAS05-qty refPAS05 classqty-select qty form-control>/select> input typehidden value16 idPAS05-price />select classitem-options form-control styledisplay:none; idPAS05-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS05 refPAS05/>/div>/div>/li>li idPestoAllaGenovese_568945_23886 style classsingle data-track-itemstrue data-pluPAS06 data-item-namePesto Alla Genovese data-item-categoryPasta data-price16 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Pesto Alla Genovese/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>ground pinenuts, pecorino cheese, olive oil, garlic, herbs/div>div iditem-buttons> select nameqty idPAS06-qty refPAS06 classqty-select qty form-control>/select> input typehidden value16 idPAS06-price />select classitem-options form-control styledisplay:none; idPAS06-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-PAS06 refPAS06/>/div>/div>/li> /ul> div classspacer>/div> /div> div idmenu-23886-upsell-items styledisplay:none> div classupsell-container>div classupsell-header>You may also like:/div>label forupsell-item-23886-DES01 classupsell-item>div classupsell-description p-upsell> h5>b>NUTELLA CALZONE/b>/h5>p>/p>h5 classtext-muted>b>$18/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23886-DES01 classupsell-item-chkbox data-pluDES01 data-price18 typecheckbox> span>/span> /div>/label>label forupsell-item-23886-DR02 classupsell-item>div classupsell-description p-upsell> h5>b>1.25L DRINK/b>/h5>p>/p>h5 classtext-muted>b>$7/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23886-DR02 classupsell-item-chkbox data-pluDR02 data-price7 typecheckbox> span>/span> /div>/label>label forupsell-item-23886-SID01 classupsell-item>div classupsell-description p-upsell> h5>b>GARLIC BREAD ROLL/b>/h5>p>/p>h5 classtext-muted>b>$5.50/b>/h5>/div> div classupsell-chkbox-container p-upsell> input idupsell-item-23886-SID01 classupsell-item-chkbox data-pluSID01 data-price5.5 typecheckbox> span>/span> /div>/label>/div> /div> /div>div classmenu-item mi-23887 idsalad-block style> h1>Salad/h1> div idmenu_items data-menuid23887> div idmenu-desc-header>div classalert alert-danger salad-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idsalad> li idGarden_568940_23887 style classsingle data-track-itemstrue data-pluSAL01 data-item-nameGarden data-item-categorySalad data-price12 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Garden/div>div classitem-price>span classdollar-sign>$/span>12/div>/div>div classclear>/div>div classitem-description>mixed lettuce, tomato, onion, capsicum, italian dressing/div>div iditem-buttons> select nameqty idSAL01-qty refSAL01 classqty-select qty form-control>/select> input typehidden value12 idSAL01-price />select classitem-options form-control styledisplay:none; idSAL01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SAL01 refSAL01/>/div>/div>/li>li idCaesar_568939_23887 style classsingle data-track-itemstrue data-pluSAL02 data-item-nameCaesar data-item-categorySalad data-price13 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Caesar/div>div classitem-price>span classdollar-sign>$/span>13/div>/div>div classclear>/div>div classitem-description>Mixed Lettuce, tomato, onion, capsicum, olives, parmesan, croutons, bacon (Anchovies on Request) ceasar dressing/div>div iditem-buttons> select nameqty idSAL02-qty refSAL02 classqty-select qty form-control>/select> input typehidden value13 idSAL02-price />select classitem-options form-control styledisplay:none; idSAL02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SAL02 refSAL02/>/div>/div>/li>li idMediterranean_568938_23887 style classsingle data-track-itemstrue data-pluSAL03 data-item-nameMediterranean data-item-categorySalad data-price12 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Mediterranean/div>div classitem-price>span classdollar-sign>$/span>12/div>/div>div classclear>/div>div classitem-description>mixed lettuce, tomato, cucumber, onion, capsicum, olives, feta cheese, balsamic herbs/div>div iditem-buttons> select nameqty idSAL03-qty refSAL03 classqty-select qty form-control>/select> input typehidden value12 idSAL03-price />select classitem-options form-control styledisplay:none; idSAL03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SAL03 refSAL03/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23888 idsides-block style> h1>Sides/h1> div idmenu_items data-menuid23888> div idmenu-desc-header>div classalert alert-danger sides-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idsides> li idGarlicBreadRoll_568944_23888 style classsingle data-track-itemstrue data-pluSID01 data-item-nameGarlic Bread Roll data-item-categorySides data-price5.50 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Garlic Bread Roll/div>div classitem-price pt-0>span classdollar-sign>$/span>5.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID01-qty refSID01 classqty-select qty form-control>/select> input typehidden value5.5 idSID01-price />select classitem-options form-control styledisplay:none; idSID01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID01 refSID01/>/div>/div>/li>li idGarlicpizzaBase_43754_23888 style classgroup data-track-itemstrue data-plu data-item-nameGarlic pizza Base data-item-categorySides >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Garlic pizza Base/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43754-23888 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>Garlic pizza Base/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43754 ref43754>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43754 class radio-button-popup menu-option-radio-list valueSID02 price12 ref43754 id43754-SID02 pluSID02 menu-id23888 > label for43754-SID02 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$12/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43754 class radio-button-popup menu-option-radio-list valueSID03 price17 ref43754 id43754-SID03 pluSID03 menu-id23888 checkedchecked> label for43754-SID03 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$17/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43754>i classglyphicon glyphicon-minus>/i>/button> label idqty-43754 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43754>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43754 refSID03/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43754-23888 id43754 menu-id23888 refSID03 />/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23889 idchicken-wings-block style> h1>Chicken Wings/h1> div idmenu_items data-menuid23889> div idmenu-desc-header>div classalert alert-danger chicken-wings-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idchicken-wings> li idBBQandSweetChilli_568934_23889 style classsingle data-track-itemstrue data-pluWING01 data-item-nameBBQ and Sweet Chilli data-item-categoryChicken Wings data-price20 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>BBQ and Sweet Chilli/div>div classitem-price>span classdollar-sign>$/span>20/div>/div>div classclear>/div>div classitem-description>Side of garlic roast potatos/div>div iditem-buttons> select nameqty idWING01-qty refWING01 classqty-select qty form-control>/select> input typehidden value20 idWING01-price />select classitem-options form-control styledisplay:none; idWING01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-WING01 refWING01/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23890 idribs-block style> h1>Ribs/h1> div idmenu_items data-menuid23890> div idmenu-desc-header>div classalert alert-danger ribs-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul idribs> li idBBQPorkRibs_43755_23890 style classgroup data-track-itemstrue data-plu data-item-nameBBQ Pork Ribs data-item-categoryRibs >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>BBQ Pork Ribs/div>/div>div classclear>/div>div classitem-description>Side of Garlic Roast Potatoes/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-43755-23890 roledialog> div classmodal-dialog modal-dialog-popup > div classmodal-content modal-content-popup> div classmodal-header> p classclose close-popup data-dismissmodal>×/p> h4 classmodal-title stylecolor: black; padding-bottom: 5px; font-weight: 600;>BBQ Pork Ribs/h4> div classmodal-title item-description-popup stylefont-size: 13px; font-weight: 600;>Side of Garlic Roast Potatoes/div> /div> div classmodal-body stylebackground: #ececec78;> p classalert alert-danger idtoppings_left>/p> p stylecolor:black; font-size:15px; font-weight:600;>Choose one/p> div classmenu-item-option> div classmenu-item-option menu-item-option-popup idmenu-43755 ref43755>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43755 class radio-button-popup menu-option-radio-list valueRIB02 price28 ref43755 id43755-RIB02 pluRIB02 menu-id23890 checkedchecked> label for43755-RIB02 class active input-group-label hide_toppings0 stylefont-weight: normal; >Large span idpopup-price>$28/span>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-43755 class radio-button-popup menu-option-radio-list valueRIB01 price22 ref43755 id43755-RIB01 pluRIB01 menu-id23890 > label for43755-RIB01 class input-group-label hide_toppings0 stylefont-weight: normal; >Small span idpopup-price>$22/span>img src classcheck-img-popup stylefloat: right; align-self:center>/label> /div>/div>/div>div styledisplay:none; classitem-option-radio item-option-radio-menu row>/div>div classpopup-condiments>div classlds-ring>div>/div>div>/div>div>/div>/div>div classpopup-toppings>/div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons> div classcol-md-3 stylepadding: 0;> div classqty-selection> button classbtn qty-btn-popup qty-btn-popup-minus ref-group-id43755>i classglyphicon glyphicon-minus>/i>/button> label idqty-43755 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-id43755>i classglyphicon glyphicon-plus>/i>/button> /div> /div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton valueAdd data-dismissmodal classcustomise-add-button id43755 refRIB02/> /div> div classcol-md-3 stylepadding: 0;> p classpopup-orig-price styletext-align: right; display:none;>0/p> p classpopup-item-price styletext-align: right;>/p> /div> /div> /div>/div>/div>/div>div classitem-add-popup>input typebutton nameAdd valueAdd classadd-button-popup data-togglemodal data-target#add-popup-43755-23890 id43755 menu-id23890 refRIB02 />/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-23891 iddessert-block style> h1>Dessert/h1> div idmenu_items data-menuid23891> div idmenu-desc-header>div classalert alert-danger dessert-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul iddessert> li idNutellaCalzone_568942_23891 style classsingle data-track-itemstrue data-pluDES01 data-item-nameNutella Calzone data-item-categoryDessert data-price18 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Nutella Calzone/div>div classitem-price pt-0>span classdollar-sign>$/span>18/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDES01-qty refDES01 classqty-select qty form-control>/select> input typehidden value18 idDES01-price />select classitem-options form-control styledisplay:none; idDES01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DES01 refDES01/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-32417 iddrinks-block style> h1>Drinks/h1> div idmenu_items data-menuid32417> div idmenu-desc-header>div classalert alert-danger drinks-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>/div> ul iddrinks> li idCan_569006_32417 style classsingle data-track-itemstrue data-pluDR01 data-item-nameCan data-item-categoryDrinks data-price3 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Can/div>div classitem-price pt-0>span classdollar-sign>$/span>3/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR01-qty refDR01 classqty-select qty form-control>/select> input typehidden value3 idDR01-price />select classitem-options form-control styledisplay:none; idDR01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR01 refDR01/>/div>/div>/li>li idLDrink_569007_32417 style classsingle data-track-itemstrue data-pluDR02 data-item-name1.25L Drink data-item-categoryDrinks data-price7 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>1.25L Drink/div>div classitem-price pt-0>span classdollar-sign>$/span>7/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR02-qty refDR02 classqty-select qty form-control>/select> input typehidden value7 idDR02-price />select classitem-options form-control styledisplay:none; idDR02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR02 refDR02/>/div>/div>/li>li idLDrink_2535360_32417 style classsingle data-track-itemstrue data-pluDR03 data-item-name2L Drink data-item-categoryDrinks data-price9 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>2L Drink/div>div classitem-price pt-0>span classdollar-sign>$/span>9/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR03-qty refDR03 classqty-select qty form-control>/select> input typehidden value9 idDR03-price />select classitem-options form-control styledisplay:none; idDR03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR03 refDR03/>/div>/div>/li>li idWater_569009_32417 style classsingle data-track-itemstrue data-pluDR04 data-item-nameWater data-item-categoryDrinks data-price3 >span classmi-loader styledisplay:none;>/span>div classitem-block-no-image>div classitem-title-container>div classitem-title styleword-break: break-word; padding-bottom: 5px;>Water/div>div classitem-price pt-0>span classdollar-sign>$/span>3/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR04-qty refDR04 classqty-select qty form-control>/select> input typehidden value3 idDR04-price />select classitem-options form-control styledisplay:none; idDR04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR04 refDR04/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>script>$(document).ready(function(){pullMenuActiveTime(true); var bLazy new Blazy();});/script>/div>/div>script> var hh_cur_toppings 0, hh_cur_toppings_tmp 0, hh_max_toppings 12, deal_max_toppings 12, deal_num_free_extra 0, deal_toppings_list new Array(), deal_hh_left_plu new Array(), deal_hh_right_plu new Array(), deal_hh_item_option new Array(), deal_hh_left_array new Array(), deal_hh_right_array new Array(), deal_toppings_ajax, deal_hh_toppings_ajax, hh_item_option_ajax, hh_toppings_ajax; /** * checks if the limit is reached. returns FALSE for INVALID */ function checkMaxToppingsLimit(isDeal, dealPLU, ref, whichHalf){ var first_toppings 0; var second_toppings 0; if(!hh_max_toppings){ var _lo_max_toppings 12; // default // this value is set by cache }else{ var _lo_max_toppings hh_max_toppings; } if(isDeal undefined){ first_toppings $(.first-accordion li input:checked).length; second_toppings $(.second-accordion li input:checked).length; } else{ first_toppings $(.+dealPLU+-+ref+-first-accordion li input:checked).length; second_toppings $(.+dealPLU+-+ref+-second-accordion li input:checked).length; } var remaining _lo_max_toppings - (first_toppings + second_toppings); if(remaining 0){ remaining 0; } if(isDeal undefined){ $(.hh-remaining-topping).html(remaining); } else{ $(.modal-deals .modal-body #deal-modal-body-hh-selection-+dealPLU+-+ref+ .deal-hh-remaining-topping).html(remaining); $(#deal-hh-remaining-topping-+dealPLU+-+ref).val(remaining); } if((first_toppings + second_toppings) > _lo_max_toppings){ return false; } return true; } function dealCheckMaxToppings(dealPLU, itemPLU, section){ var deal_toppings 0; $(#accordion-+dealPLU+-+itemPLU+-+section+ li input:checked).each(function(){ deal_toppings parseFloat(deal_toppings) + 1; }); return deal_toppings; } function deal_hh_extra_toppings(dealPLU, whichHalf, ref){ var cssClass, extra_price 0, currency $(#deal-price-+dealPLU).text(), halfhalftotal Number(currency.replace(/^0-9\.+/g,)), item_total 0, remaining 0; if(whichHalf first){ cssClass dealPLU+-second-+ref; } else if(whichHalf second){ cssClass dealPLU+-first-+ref; } else{ return false; } if($(.+cssClass+-accordion li input:checked).length > 0){ $(.+cssClass+-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } item_total halfhalftotal + extra_price; remaining hh_max_toppings - ($(.+dealPLU+-+ref+-first-accordion li input:checked).length + $(.+dealPLU+-+ref+-second-accordion li input:checked).length); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+dealPLU+-+ref+ .deal-hh-remaining-topping).html(remaining); $(#deal-hh-remaining-topping-+dealPLU+-+ref).val(remaining); $(#deal-price-+dealPLU).html($+formatNumber(item_total)); } function dealGetTotal(dealPLU, closeModal){ var surcharge 0, item_option 0, toppings 0, hh_price 0, hh_item_option 0, hh_surcharge 0, deal_selection_price new Array(); if($(.deal-selected-item-+dealPLU).length > 0){ $(.deal-selected-item-+dealPLU).each(function(){ var hh_price_selection 0, surcharge_selection 0; if($(this).val() HH){ var ref $(this).attr(ref); if(typeof $(this).attr(price) ! undefined && $(this).attr(price) ! false){ hh_price_selection parseFloat($(this).attr(price)); hh_price + hh_price_selection; } if(typeof $(this).attr(hh-item-option-price) ! undefined && $(this).attr(hh-item-option-price) ! false){ hh_item_option + parseFloat($(this).attr(hh-item-option-price)); } if(typeof $(this).attr(hh-surcharge-price) ! undefined && $(this).attr(hh-surcharge-price) ! false){ hh_surcharge + parseFloat($(this).attr(hh-surcharge-price)); } } else if($(this).hasClass(hh-upgrade)){ if(typeof $(this).attr(hh-surcharge-price) ! undefined && $(this).attr(hh-surcharge-price) ! false){ hh_surcharge + parseFloat($(this).attr(hh-surcharge-price)); } } else{ var section $(this).attr(ref); var PLU $(this).val(); if(typeof $(this).attr(price) ! undefined && $(this).attr(price) ! false){ surcharge_selection parseFloat($(this).attr(price)); surcharge + surcharge_selection; } if($(inputnamedeal-item-option-+dealPLU+-+PLU+-+section+:checked).length > 0){ $(inputnamedeal-item-option-+dealPLU+-+PLU+-+section+:checked).each(function(){ if(typeof $(this).attr(price) ! undefined && $(this).attr(price) ! false){ item_option + parseFloat($(this).attr(price)); } }); } $(#accordion-+dealPLU+-+PLU+-+section+ li input:checked).each(function(){ if(!$(this).hasClass(free_item)){ toppings + parseFloat($(this).val()); } }); } deal_selection_price.push(formatNumber((hh_price_selection + surcharge_selection))); }); } if(typeof $(#add-popup-deals-+dealPLU).attr(deal-bogo) ! undefined && $(#add-popup-deals-+dealPLU).attr(deal-bogo) ! false && $(#add-popup-deals-+dealPLU).attr(deal-bogo) ! 0 && typeof $(#add-popup-deals-+dealPLU).attr(deal-selection) ! undefined && $(#add-popup-deals-+dealPLU).attr(deal-selection) ! false && $(#add-popup-deals-+dealPLU).attr(deal-selection) 2 && typeof closeModal undefined && deal_selection_price.length){ $(#deal-price-+dealPLU).html($+(Math.max(...deal_selection_price) + hh_item_option + hh_surcharge + item_option + toppings)); } else{ $(#deal-price-+dealPLU).html($+formatNumber((parseFloat($(#deal-price-+dealPLU).attr(orig-price)) + hh_price + hh_item_option + hh_surcharge + surcharge + item_option + toppings))); } } function modal_height(elem){ var target_modal $(elem); if($(window).width() 768){ var new_height $(window).height() - (target_modal.find(.modal-header).outerHeight() + target_modal.find(.modal-footer).outerHeight()) - 2; } else{ var new_height $(window).height() - (target_modal.find(.modal-header).outerHeight() + target_modal.find(.modal-footer).outerHeight()) - 150; } target_modal.find(.modal-body).css(min-height, new_height); target_modal.find(.modal-body).css(max-height, new_height); } // Array checking length on free items function isEmpty(obj){ for(var key in obj){ if(obj.hasOwnProperty(key)) return false; } return true; } function formatNumber(num){ // return num % 1 0 ? num.toString() : num.toFixed(2); return num.toFixed(2); } function deals_popup(resp, menu_id){ var menu_id (typeof menu_id undefined) ? PROMO : menu_id, deal_parent_id resp.deal_parent_id; deal_id resp.deal_id, deal_plu resp.promotional_plu, deal_promo_code resp.promocode, deal_modal_id deal_plu+-+menu_id, promo_modal_id #menu-items > #add-popup-deals-+deal_modal_id; $.ajax({ type: POST, url: core/ajax/deals_popup.php, async: true, data: { menu_id: menu_id, deal_id: deal_id, deal_plu: deal_plu, ...(menu_id UPSELL ? { upsell: 1 } : {}), }, beforeSend: function(){ if(!$(body > #menu-items).length){ $(div>, {id: menu-items}).css({display: block}).appendTo(body); } let mheader_class deal-loader-shimmer, mheader_style , mheader_text ; if(PROMO, UPSELL.includes(menu_id) || typeof deal_parent_id undefined){ mheader_text Retrieving deal details...; } else{ const deal_name $(#+deal_parent_id+ .item-title-container .item-title) .clone() // Clone the element .children(.item-icons-container) // Target the child to remove .remove() // Remove the icons container .end() // Go back to the cloned element .text() // Get the text content .trim(), deal_desc $(#+deal_parent_id+ .item-description).text(); mheader_class ; mheader_style background-color: unset;; mheader_text h4 classmodal-title stylecolor:#000 !important;>+deal_name+/h4>+ div classmodal-title item-description-popup stylecolor:#000 !important;>+deal_desc+/div> } $(body > #menu-items).prepend(+ div classmodal modal-popup modal-deals fade idadd-popup-deals-+deal_modal_id+ roledialog data-backdropstatic data-keyboardfalse>+ div classmodal-dialog modal-dialog-popup>+ div classmodal-content modal-content-popup>+ div classmodal-header+mheader_class+ style+mheader_style+>+ mheader_text+ /div>+ div classmodal-body stylemin-height:300px;>+ div classdeal-loader-shimmer title-line>/div>+ div classdeal-loader-shimmer title-line>/div>+ div classdeal-loader-shimmer title-line>/div>+ div classdeal-loader-shimmer title-line>/div>+ /div>+ div classmodal-footer styletext-align: center; position: relative;>+ div>+ /div>+ /div>+ /div> ); $j(promo_modal_id).modal(show); setTimeout(function(){ modal_height(promo_modal_id); }, 200); }, success: function(resp){ if(PROMO, UPSELL.includes(menu_id)){ $(promo_modal_id).addClass(deals-promo); } $(promo_modal_id+ > .modal-dialog > .modal-content).html(resp); $(promo_modal_id).attr(deal-selection, $(promo_modal_id+ > .modal-dialog > .modal-content > .modal-header).attr(deal-selection)); $(promo_modal_id).attr(deal-bogo, $(promo_modal_id+ > .modal-dialog > .modal-content > .modal-header).attr(deal-bogo)); $(promo_modal_id+ > .modal-dialog > .modal-content > .modal-header).removeAttr(deal-selection); $(promo_modal_id+ > .modal-dialog > .modal-content > .modal-header).removeAttr(deal-bogo); if(menu_id PROMO){ $(promo_modal_id+ .modal-header .message-container .promo-code-container).text(deal_promo_code); } $(modal-deals .modal-body .lds-ring).css(top, 30%); $(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+, .modal-deals .modal-footer).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id).data(menu-id, null).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id+ button).prop(disabled, false); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_modal_id+ button).prop(disabled, true); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id).removeData(menu-id); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id).removeData(upsell); if(!PROMO, UPSELL.includes(menu_id)){ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id).data(menu-id, menu_id); } else if(menu_id UPSELL){ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_modal_id).data(upsell, 1) } if($(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items).length){ if($(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items).length 1){ var auto_expand $(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items).attr(auto-expand); if(typeof auto_expand ! undefined && auto_expand ! false){ if(auto_expand deal_selection){ $(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items).click(); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_modal_id+ button).text(Add to Order); } else if(auto_expand auto_customized_btn){ $(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items button.deal-selection-item).click(); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_modal_id+ button).text(Add to Order); } } } $(.modal-deals .modal-body #deal-modal-body-main-+deal_modal_id+ .deal-selection-items).each(function(){ var ref $(this).attr(ref); deal_hh_left_arrayparseInt(ref) - 1 ; deal_hh_right_arrayparseInt(ref) - 1 ; }); if(typeof $(#add-popup-deals-+deal_modal_id).attr(deal-bogo) ! undefined && $(#add-popup-deals-+deal_modal_id).attr(deal-bogo) 1){ $(.modal-deals .modal-body #deal-modal-body-selection-+deal_modal_id+ .deal-selected-item.auto-ds).each(function(){ $(this).attr(price, $(this).attr(auto-plu-price)); }); } } modal_height(promo_modal_id); }, error: function(xhr, status, error){ $(promo_modal_id+ .modal-header).removeClass(deal-loader-shimmer).addClass(header-error).html(+ Oops!+ p classclose close-popup deals-close-popup data-dismissmodal>×/p> ); $(promo_modal_id+ .modal-body).addClass(body-error).html(div styledisplay:flex; column-gap:5px; align-items:center;>i classfa-regular fa-circle-xmark>/i>span>Sorry, something went wrong. Please try again later./span>/div>); } }); } jQuery.fn.center function(){ this.css(position,absolute); this.css(top, ( $(window).height() - this.height() ) / 2+$(window).scrollTop() + px); this.css(left, ( $(window).width() - this.width() ) / 2+$(window).scrollLeft() + px); return this; } $(document).ready(function(){ function get_cart_total(){ $(#cartTotal).load(https://karaleepizza.com.au/core/ajax/get_cart_total.php?page+PAGE_NAME, function(data){ $(#cartTotal, .cartTotal).html($+data); }); } $(.accordion div.item).die().live(click, function(){ var id $(this).parent().parent().attr(id); /* FIRST SECTION */ // slideup or hide all the Submenu $(#+id+ li).children(div.sub-item).slideUp(fast); if($(this).parent().hasClass(open)){ $(this).parent().removeClass(open); } else{ // remove all the Over class, so that the arrow reset to default $(#+id+ div.item).each(function(){ if($(this).attr(rel)!){ $(this).removeClass($(this).attr(rel)+Over); } }); $(#+id+ div.item).parent().removeClass(open); $(this).parent().addClass(open); /* SECOND SECTION */ // show the selected submenu $(this).siblings(div.sub-item).slideDown(fast); // add Over class, so that the arrow pointing down $(this).children(a).addClass($(this).children(li a).attr(rel)+Over); } return false; }); /* Deals */ //Close the deals modal when clicked outside the deals modal $(document).mouseup(function (e) { var modalId $(.modal-deals.fade.in).attr(id); if(!$(# + modalId + .modal-dialog-popup).is(e.target) && !$(# + modalId + .modal-dialog-popup).has(e.target).length && !$(.jqifade:visible).length) { $(# + modalId + .deals-close-popup).click(); } if(modalId){ $j(#+modalId).on(hidden.bs.modal, function(e){ $(body > #menu-items).remove(); if($(.upsell_btn).length){ $(.upsell_btn).html(Add).prop(disabled, false); } }); } }); $(.deals-close-popup).die().live(click, function(){ var deal_plu $(this).attr(plu); $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-message-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body .deal-modal-body-customize-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body .deal-modal-body-hh-+deal_plu).addClass(hide); $(.modal-deals .modal-body .deal-modal-body-hh-selection-+deal_plu).addClass(hide); $(.modal-deals .modal-body .deal-hh-first-selection-+deal_plu+, .modal-deals .modal-body .deal-hh-second-selection-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu).addClass(hide); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-main-deal-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-selection-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-selection-+deal_plu).parent().data(item-ref, ); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().removeClass(hide); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(ref); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(return-to); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(hh-ref); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).removeAttr(ref); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).removeAttr(hh-ref); $(.modal-deals .modal-body p.deal-selection).css(background-color, ).removeAttr(customizable); $(.modal-deals .deal-selection .deal-selection-name .deal-item-name-selected).html(); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ h4.modal-title).html(Half/Half); $(.modal-deals .deal-selection .deal-selection-icon, .modal-deals .auto-deal-selection.multi .deal-selection-icon).removeClass(glyphicon-chevron-right glyphicon-ok).addClass(glyphicon-chevron-right); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).not(.auto-ds).val(); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).not(.auto-ds).removeAttr(selection-id); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).removeAttr(price); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).removeAttr(loaded); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).removeClass(hh-upgrade); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).removeClass(hh-surcharge-price); $(.modal-deals #deal-modal-body-selection-+deal_plu+ .deal-selected-item).removeClass(hh-item-option-price); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).data(menu-id, ); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button, .modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).removeAttr(ref); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).removeAttr(ref); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).removeAttr(hh-ref); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).removeClass(add-deal-hh); $(.modal-deals .modal-body .deal-modal-body-customize-+deal_plu).empty(); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+ .deal-hh-remaing-topping-+deal_plu).val(hh_max_toppings); $(.modal-deals .modal-body .deal-hh-first-item-list-+deal_plu+, .modal-deals .modal-body .deal-hh-second-item-list-+deal_plu).removeClass(hide); $(.modal-deals .modal-body .deal-hh-first-selected-+deal_plu+, .modal-deals .modal-body .deal-hh-second-selected-+deal_plu).addClass(hide).empty(); $(.modal-deals .modal-body .deal-hh-first-+deal_plu+ span.deal-hh-first-item-label).html(Select your first half); $(.modal-deals .modal-body .deal-hh-second-+deal_plu+ span.deal-hh-second-item-label).html(Select your second half); $(.modal-deals .modal-body .deal-hh-first-+deal_plu+ span.deal-hh-first-icon, .modal-deals .modal-body .deal-hh-second-+deal_plu+ span.deal-hh-second-icon).removeClass(glyphicon-ok).addClass(glyphicon-chevron-right); $(.modal-deals .modal-body .first-half-plu-+deal_plu+, .modal-deals .modal-body .second-half-plu-+deal_plu).val(); deal_hh_left_plu ; deal_hh_right_plu ; deal_hh_item_option ; deal_hh_left_array ; deal_hh_right_array ; dealGetTotal(deal_plu, true); }); $(.add-deal).die().live(click, function(){ var deal_parent_id $(this).closest(li).attr(id); var deal_id $(this).attr(deal-id); var menu_id $(this).attr(menu-id); var deal_plu $(this).attr(plu)+-+menu_id; deals_popup({deal_parent_id: deal_parent_id, deal_id: deal_id, promotional_plu: $(this).attr(plu), promocode: }, menu_id); }); $(.deal-selection).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(plu); var customizable $(this).attr(customizable); if($(#deal-selected-item-+deal_plu+-+ref).val() HH){ $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-header #deal-modal-header-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-main-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body .deal-modal-body-hh-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).attr({ref: ref, return-to: deal-main-selection}); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, false).attr(ref, ref).addClass(add-deal-hh); } else{ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).addClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).removeClass(hide); $(#back-to-selection-+deal_plu).parent().data(item-ref, ref); if(!$(#deal-selected-item-+deal_plu+-+ref).val() || (typeof customizable ! undefined && customizable ! false && customizable false)){ $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-list-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+ .modal-title).html(Choose - +$(this).find(span.deal-selection-name).attr(selection-label)); if($(#add-popup-deals-+deal_plu).attr(deal-selection) > 1){ $(#back-to-main-deal-+deal_plu).parent().removeClass(hide); } $(#back-to-selection-+deal_plu).parent().data(item-selection, $(.modal-deals .modal-header #deal-modal-header-+deal_plu+ .modal-title).html()); } else{ $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body #deal-modal-body-customize-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu).removeClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+ .modal-title).html(Customise); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, false); if($(#add-popup-deals-+deal_plu).attr(deal-selection) > 1){ $(#back-to-main-deal-+deal_plu).parent().addClass(hide); } $(#back-to-selection-+deal_plu).parent().data(item-selection, Choose - +$(this).find(span.deal-selection-name).attr(selection-label)); $(#back-to-selection-+deal_plu).parent().removeClass(hide); } } modal_height(#add-popup-deals-+deal_plu); }); $(.back-to-main).die().live(click, function(){ var deal_plu $(this).attr(plu); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body .deal-modal-body-customize-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).prop(disabled, false); $(#back-to-main-deal-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-body).scrollTop($(.modal-body).offset().top); modal_height(#add-popup-deals-+deal_plu); }); $(.deal-selection-item, .deal-item-thumb).die().live(click, function(){ if($(this).hasClass(deal-item-thumb)){ var ref $(this).prev().attr(ref); var item_plu $(this).prev().attr(item-plu); var deal_plu $(this).prev().attr(deal-plu); var selection_id $(this).prev().attr(selection-id); var surcharge $(this).prev().attr(price); var deal_item_name $(this).prev().find(p.deal-item-name).html(); } else{ var ref $(this).attr(ref); var item_plu $(this).attr(item-plu); var deal_plu $(this).attr(deal-plu); var selection_id $(this).attr(selection-id); var surcharge $(this).attr(price); var deal_item_name $(this).find(p.deal-item-name).html(); } if(surcharge undefined){ surcharge 0; } if($(this).parent().parent().hasClass(auto-deal-selection)){ $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).addClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).removeClass(hide); $(#back-to-main-deal-+deal_plu).parent().addClass(hide); $(#back-to-selection-+deal_plu).parent().addClass(hide); if($(this).hasClass(multi)){ $(#deal-selection-+deal_plu+-+ref+ .deal-selection-icon).removeClass(glyphicon-chevron-right glyphicon-ok).addClass(glyphicon-ok); } } else{ $(#deal-selection-+deal_plu+-+ref+ .deal-selection-icon).removeClass(glyphicon-chevron-right glyphicon-ok).addClass(glyphicon-ok); $(#deal-selection-+deal_plu+-+ref+ .deal-item-name-selected).html( - +deal_item_name); } $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body #deal-modal-body-customize-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+ .modal-title).html(Customise); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).attr(ref, ref); if(!$(this).parent().parent().hasClass(auto-deal-selection)){ $(#back-to-main-deal-+deal_plu).parent().addClass(hide); $(#back-to-selection-+deal_plu).parent().removeClass(hide); } if(typeof $(#deal-selected-item-+deal_plu+-+ref).attr(loaded) undefined || $(#deal-selected-item-+deal_plu+-+ref).attr(loaded) false){ $(.modal-deals .modal-body .lds-ring).show(); $(#deal-selected-item-+deal_plu+-+ref).attr(loaded, 1); if(!$(this).parent().parent().hasClass(auto-deal-selection)){ $(#deal-selected-item-+deal_plu+-+ref).attr({selection-id: selection_id, price: surcharge}).val(item_plu); } deal_toppings_ajax $.ajax({ type: POST, url: core/ajax/get_extra_toppings_popup_deals.php, data: deal_plu+deal_plu+&item_plu+item_plu+§ion+ref, success: function(data){ $(.modal-deals .modal-body .lds-ring).hide(); modal_height(#add-popup-deals-+deal_plu); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+-+ref).html(data); $(.modal-deals .modal-footer #deal-max-toppings-+deal_plu).html(deal_max_toppings); $(.modal-deals .modal-footer #deal-num-free-extra-+deal_plu).html(deal_num_free_extra); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, false); if($(#+deal_plu+-+item_plu+-+ref+-topping-ctr).length){ $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).click(); $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref).attr(customizable, false); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(loaded); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+-+ref).empty(); } else{ $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref).removeAttr(customizable); if($(div.deal-item-option-container-+ref).length 1 && !$(div.deal-item-option-container-+ref).hasClass(multi)){ if($(inputnamedeal-item-option-+deal_plu+-+item_plu+-+ref+).length > 0 && !$(inputnamedeal-item-option-+deal_plu+-+item_plu+-+ref+:checked).length){ // if no item option is checked, we make the first item the default $(inputnamedeal-item-option-+deal_plu+-+item_plu+-+ref+:first).attr(checked, true); } } } dealGetTotal(deal_plu); } }); } else{ if($(this).parent().parent().hasClass(auto-deal-selection)){ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, false); } } }); $(.deal-item-option-radio).die().live(click, function(){ var deal_plu $(this).attr(plu); dealGetTotal(deal_plu); }); $(.back-to-selection).die().live(click, function(){ var ref $(this).parent().data(item-ref); var deal_plu $(this).attr(plu); if(deal_toppings_ajax.status ! 200){ deal_toppings_ajax.abort(); $(.modal-deals .modal-body .lds-ring).hide(); } $(this).parent().addClass(hide); if($(#add-popup-deals-+deal_plu).attr(deal-selection) > 1){ $(#back-to-main-deal-+deal_plu).parent().removeClass(hide); } $(#deal-selected-item-+deal_plu+-+ref).removeAttr(selection-id).val(); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(price); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(loaded); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+ .modal-title).html($(this).parent().data(item-selection)); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body .deal-modal-body-customize-+deal_plu).addClass(hide); $(.modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-list-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+-+ref).empty(); $(#deal-selection-+deal_plu+-+ref+ .deal-selection-icon).removeClass(glyphicon-ok glyphicon-chevron-right).addClass(glyphicon-chevron-right); $(#deal-selection-+deal_plu+-+ref+ .deal-item-name-selected).html(); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, true); dealGetTotal(deal_plu); modal_height(#add-popup-deals-+deal_plu); }); $(.deal-modal-footer-next).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(plu); var parent_div $(this).closest(li).attr(id); var modal_div $(this).closest(.modal-popup).attr(id); if(parent_div undefined){ parent_div modal_div; } var mio_ids , mio_msg , mio_req 0; $(#+ parent_div + .deal-item-option-radioref+ref+).each(function(){ if(typeof $(this).attr(mio-id) ! undefined && $(this).attr(mio_id) ! false){ mio_ids.push($(this).attr(mio-id)); } mio_ids ... new Set(mio_ids); }); var io_div; $.each(mio_ids, function(key, val){ var io_selected $(#+parent_div+ .deal-item-option-radio-+val+-+ref+:checked).length, io_min $(#+parent_div+ .deal-item-option-radio-+val+-+ref+:first).attr(min-io), io_max $(#+parent_div+ .deal-item-option-radio-+val+-+ref+:first).attr(max-io), io_name $(#+parent_div+ .deal-item-option-radio-+val+-+ref+:first).parent().siblings(div.deal-item-option-group-name-+val+-+ref).find(p).text(), io_container $(#+parent_div+ .deal-item-option-radio-+val+-+ref+:first).parent().parent(); io_container.css({padding:, border:}); if(io_selected io_min){ io_container.css({padding:5px, border:1px solid #dc3545}); mio_req++; if(!io_div){ io_div io_container; } } else if(io_selected > io_max){ mio_msg.push(+io_name+ cant have more than +io_max); } }); if(mio_req > 0){ $.prompt(Please complete all sections to finish your order); $(#+modal_div+ .modal-body).scrollTop(0).scrollTop(io_div.position().top - 25); return false; } if(mio_msg.length > 0){ $.prompt(mio_msg.join(br/>)); return false; } $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body .deal-modal-body-selection-list-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-customize-+deal_plu+, .modal-deals .modal-body .deal-modal-body-customize-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).removeClass(hide); $(#back-to-selection-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).prop(disabled, false); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu+ button).prop(disabled, true); $(#deal-selection-+deal_plu+-+ref).css(background-color, ); modal_height(#add-popup-deals-+deal_plu); if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).click(); } }); $(.deal-modal-footer-add).die().live(click, function(){ if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); if(check_store_stat() online){ location.reload(); } return; } var _this $(this); var deal_plu $(this).attr(plu); var special_plu $(this).attr(spec-plu); var valid false; if($(.deal-selected-item-+deal_plu).length > 0){ valid true; $(.deal-selected-item-+deal_plu).each(function(){ if(!$(this).val()){ $(#deal-selection-+deal_plu+-+$(this).attr(ref)).css(background-color, #e74c3c9c); valid false; } else if(typeof $(this).attr(deal-multi-item-option-required) ! undefined && $(this).attr(deal-multi-item-option-required) ! false){ if($(#deal-modal-body-customize-+deal_plu+-+$(this).attr(ref)).is(:empty)){ $(#deal-selection-+deal_plu+-+$(this).attr(ref)).css(background-color, #e74c3c9c); valid false; } } }); } if(!valid){ $.prompt(Please complete all sections to finish your order); return false; } else{ var i 0, item_array new Array(), left_plus, right_plus, left_toppings, right_toppings, item_options; $(.deal-selected-item-+deal_plu).each(function(){ var option_id; var price 0; var section $(this).attr(ref); var PLU $(this).val(); var selection_id $(this).attr(selection-id); var surcharge $(this).attr(price); if($(this).val() HH){ if(surcharge undefined){ surcharge 0; } if(selection_id undefined){ selection_id; } var item_details new Array(, 1, option_id, surcharge, price, selection_id, , , HH); } else{ if($(inputnamedeal-item-option-+deal_plu+-+PLU+-+section+:checked).length > 0){ $(inputnamedeal-item-option-+deal_plu+-+PLU+-+section+:checked).each(function(){ option_id + (option_id.trim()!) ? , : ; option_id + $(this).val(); }); } else if(typeof $(this).attr(deal-item-option-id) ! undefined && $(this).attr(deal-item-option-id) ! false){ option_id + (option_id.trim()!) ? , : ; option_id + $(this).attr(deal-item-option-id); } var extra_array new Array(); var ii 0; if($(#current-toppings-list-ul-deals-+deal_plu+-+PLU+-+section+ li input:not(:checked)).length > 0){ $(#current-toppings-list-ul-deals-+deal_plu+-+PLU+-+section+ li input:not(:checked)).each(function(){ var plu $(this).attr(plu); var extra_price $(this).val(); var extras new Array(plu, extra_price, -1, true); if(typeof extras ! undefined){ extra_arrayii extras; } ii++; }); } if($(#deal-modal-body-customize-+deal_plu+-+section+ li input:checked).length > 0){ $(#deal-modal-body-customize-+deal_plu+-+section+ li input:checked).each(function(){ var plu $(this).attr(plu); var extra_price $(this).val(); if(!$(this).hasClass(current_item)){ var extras new Array(plu, extra_price, 1, false); if(typeof extras ! undefined){ extra_arrayii extras; } ii++; } }); } if(extra_array undefined){ extra_array; } if (surcharge undefined){ surcharge 0; } if(selection_id undefined){ selection_id; } // mimic the format of the original free_toppings from priceBaseOnOrderType() function var f_tops { free_toppings_list: }; if(deal_toppings_listdeal_plu ! undefined && !isEmpty(deal_toppings_listdeal_plusection_+(i+1))){ f_tops deal_toppings_listdeal_plusection_+(i+1); } var item_details new Array(PLU, 1, option_id, surcharge, price, selection_id, extra_array, f_tops.free_toppings_list); } item_arrayi item_details; i++; }); left_plus deal_hh_left_plu; right_plus deal_hh_right_plu; left_toppings deal_hh_left_array; right_toppings deal_hh_right_array; item_options deal_hh_item_option; setTimeout(function(){ $(.deals-close-popup-+deal_plu).click(); }, 50); $.post(core/ajax/add_special.php, { special_plu: special_plu, price: 0, item_array: item_array, menu_id: $(this).parent().data(menu-id), promotional_code_used: 0, deal_minimum_order: $(this).attr(min-order), left_plus: left_plus, right_plus: right_plus, left_toppings: left_toppings, right_toppings: right_toppings, item_options: item_options }).done(function(data){ try{ if (data && data.response_code ! undefined && data.response_code ! 00) { $.prompt(data.message); return false; } } catch(e){ } $(#view-basket).load(core/mybasket.php, function(){ get_cart_total(); if(!$(#free_item_plu).length){ new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); } }); }); } }); $(.deal_add_extra).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(deal-plu); var item_plu $(this).attr(item-plu); var topping_plu $(this).attr(topping-plu); deal_max_toppings $(.modal-deals .modal-footer #deal-max-toppings-+deal_plu).html(); deal_num_free_extra $(.modal-deals .modal-footer #deal-num-free-extra-+deal_plu).html(); var deal_cur_toppings dealCheckMaxToppings(deal_plu, item_plu, ref); if(deal_cur_toppings > deal_max_toppings){ $.prompt(You have reached the extras limit of +deal_max_toppings); return false; } var price $(#current_order_type_holder).val() pickup ? $(this).data(sell-shop) : ($(#current_order_type_holder).val() delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); if(!price){ price $(this).attr(value); } if(deal_num_free_extra > 0 && deal_num_free_extra > deal_toppings_listdeal_plusection_+reffree_toppings_list.length){ price 0; } if($(this).prop(checked)){ if(deal_cur_toppings deal_max_toppings && deal_cur_toppings > 0){ if(deal_num_free_extra && price 0){ if(deal_num_free_extra > deal_toppings_listdeal_plusection_+reffree_toppings_list.length){ deal_toppings_listdeal_plusection_+reffree_toppings_list.push(topping_plu); $(this).addClass(free_item); } } } } else{ var position deal_toppings_listdeal_plusection_+reffree_toppings_list.indexOf(topping_plu); if(position > 0){ // only remove if its found; has index of 0 or greater deal_toppings_listdeal_plusection_+reffree_toppings_list.splice(position, 1); // clean the array free item checker $(this).removeClass(free_item); } } dealGetTotal(deal_plu); deal_cur_toppings dealCheckMaxToppings(deal_plu, item_plu, ref); var toppings_left deal_max_toppings - deal_cur_toppings; var free_toppings_left deal_num_free_extra - deal_toppings_listdeal_plusection_+reffree_toppings_list.length; $(.deal-remaining-topping-+deal_plu+-+item_plu+-+ref).html(toppings_left); $(.deal-free-remaining-topping-+deal_plu+-+item_plu+-+ref).html(free_toppings_left); }); if($(.upgrade-to-hh).length > 0){ $(.upgrade-to-hh).parent().parent().css(padding, 15px 15px 10px 15px); } $(.upgrade-to-hh).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(plu); var total_hh_item_option 0; var item_option_price 0; var hh_surcharge_price 0; var original_price $(#deal-price-+deal_plu).attr(orig-price); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-list-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu).addClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu).removeClass(hide); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).attr({ref: ref, return-to: deal-main-selection}); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).val(HH).addClass(hh-upgrade); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, true).attr({ref: ref}); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref+ .deal-hh-remaining-topping).html(hh_max_toppings); $(#deal-hh-remaining-topping-+deal_plu+-+ref).val(hh_max_toppings); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(topping-first); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(topping-second); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(hh-surcharge); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(hh-item-option-price) if($(.modal-deals .modal-body namedeal-hh-item-option-+deal_plu+-+ref+).length > 0){ $(.modal-deals .modal-body namedeal-hh-item-option-+deal_plu+-+ref+:first).attr(checked, true); } if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Add to Order); } if ($(#deal-modal-body-hh-+deal_plu+-+ref+ .deal-hh-item-option .deal-hh-item-option-radio).length>0){ $(#deal-modal-body-hh-+deal_plu+-+ref+ .deal-hh-item-option .deal-hh-item-option-radio).each(function(){ if ($(this).attr(checked)!undefined){ item_option_price $(this).attr(price)??0; $(#deal-selected-item-+deal_plu+-+ref).attr(hh-item-option-price,item_option_price).val(HH) } }) } if ($(#deal-modal-body-hh-+deal_plu+-+ref + .deal-hh-option .hh-surcharge).attr(surcharge)!undefined){ hh_surcharge_price $(#deal-modal-body-hh-+deal_plu+-+ref + .deal-hh-option .hh-surcharge).attr(surcharge)??0; $(#deal-selected-item-+deal_plu+-+ref).attr(hh-surcharge-price,hh_surcharge_price).val(HH) } else if ($(#deal-modal-body-hh-+deal_plu+-+ref + .deal-hh-pizza .hh-surcharge).attr(surcharge)!undefined){ hh_surcharge_price $(#deal-modal-body-hh-+deal_plu+-+ref + .deal-hh-pizza .hh-surcharge).attr(surcharge)??0; $(#deal-selected-item-+deal_plu+-+ref).attr(hh-surcharge-price,hh_surcharge_price).val(HH) } dealGetTotal(deal_plu) }); $(.deal-hh-item-option-radio).die().live(change,function(){ var deal_plu $(this).attr(plu); var item_option_price $(this).attr(price)??0; var deal_plu_ref ($(this).attr(id).replace(deal-hh-item-option-,)).replace(-+$(this).val().toString(),) var original_price $(#deal-price-+deal_plu).attr(orig-price); var first_plu $(.modal-deals .modal-body #first-half-plu-+deal_plu_ref).val(); var second_plu $(.modal-deals .modal-body #second-half-plu-+deal_plu_ref).val(); if ($(#deal-modal-body-hh-+deal_plu_ref+ .deal-hh-item-option .deal-hh-item-option-radio).length>0){ $(#deal-modal-body-hh-+deal_plu_ref+ .deal-hh-item-option .deal-hh-item-option-radio).each(function(){ if ($(this).is(:checked)){ item_option_price $(this).attr(price)??0; $(#deal-selected-item-+deal_plu_ref).attr(hh-item-option-price,item_option_price).val(HH); } }) } dealGetTotal(deal_plu) }); $(.back-to-main-deal-hh).die().live(click, function(){ var ref $(this).attr(ref); var hh_ref $(this).attr(hh-ref); var return_to $(this).attr(return-to); var deal_plu $(this).attr(plu); if(typeof ref ! undefined && ref ! false && typeof return_to ! undefined && return_to ! false){ if(return_to deal-main-selection){ $(this).removeAttr(ref); $(this).removeAttr(return-to); $(this).removeAttr(hh-ref); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-selection-+deal_plu+, .modal-deals .modal-body #deal-modal-body-selection-list-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeClass(hh-upgrade); $(.modal-deals .modal-footer #deal-modal-footer-next-+deal_plu).removeClass(hide); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).removeAttr(ref); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).removeAttr(hh-ref); $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref+ .deal-selection-icon).removeClass(glyphicon-ok glyphicon-chevron-right).addClass(glyphicon-chevron-right); $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref+ .deal-item-name-selected).html(); $(.modal-deals .modal-body #deal-hh-first-+deal_plu+-+ref+ span.deal-hh-first-item-label).html(Select your first half); $(.modal-deals .modal-body #deal-hh-second-+deal_plu+-+ref+ span.deal-hh-second-item-label).html(Select your second half); $(.modal-deals .modal-body #deal-hh-first-+deal_plu+-+ref+ span.deal-hh-first-icon, .modal-deals .modal-body #deal-hh-second-+deal_plu+-+ref+ span.deal-hh-second-icon).removeClass(glyphicon-ok).addClass(glyphicon-chevron-right); $(.modal-deals .modal-body #deal-hh-first-selected-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-second-selected-+deal_plu+-+ref).addClass(hide).empty(); $(.modal-deals .modal-body #deal-hh-first-item-list-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-second-item-list-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref+, .modal-deals .modal-body #second-half-plu-+deal_plu+-+ref).val(); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeAttr(selection-id).val(); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeAttr(price); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeAttr(loaded); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeAttr(hh-surcharge-price); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).removeAttr(hh-item-option-price); if($(#add-popup-deals-+deal_plu).attr(deal-selection) > 1){ $(#back-to-main-deal-+deal_plu).parent().removeClass(hide); } dealGetTotal(deal_plu); delete deal_hh_left_pluparseInt(ref) - 1; delete deal_hh_right_pluparseInt(ref) - 1; delete deal_hh_item_optionparseInt(ref) - 1; deal_hh_left_arrayparseInt(ref) - 1 ; deal_hh_right_arrayparseInt(ref) - 1 ; } else if(return_to hh-main-selection){ $(this).attr(return-to, deal-main-selection); $(this).removeAttr(hh-ref); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ h4.modal-title).html(Half/Half); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-hh-first-selection-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-second-selection-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).removeClass(hide); if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Add to Order); } if($(.modal-deals .modal-body #deal-hh-first-+deal_plu+-+ref+ span.deal-hh-first-icon).hasClass(glyphicon-ok) || $(.modal-deals .modal-body #deal-hh-second-+deal_plu+-+ref+ span.deal-hh-second-icon).hasClass(glyphicon-ok)){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, false).addClass(add-deal-hh); } } } else{ $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+, .modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu).removeClass(hide); $(.modal-deals .modal-body #deal-modal-body-main-+deal_plu+, .modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).removeClass(hide); } $(.modal-deals .modal-body #deal-modal-body-selection-list-+deal_plu+-+ref).scrollTop($(.modal-body).offset().top); modal_height(#add-popup-deals-+deal_plu); }); $(.modal-deals .deal-hh-first).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(plu); if(!$(this).hasClass(disabled)){ $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-first-selection-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ h4.modal-title).html(Choose Your First Half); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).attr({ref: ref, return-to: hh-main-selection, hh-ref: first}); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).attr({ref: ref, hh-ref: first}).removeClass(add-deal-hh); $(#add-popup-deals-+deal_plu+ .modal-body).scrollTop(0); if($(.modal-deals .modal-body #deal-hh-first-+deal_plu+-+ref+ span.deal-hh-first-icon).hasClass(glyphicon-chevron-right)){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, true); } else if($(.modal-deals .modal-body #deal-hh-first-+deal_plu+-+ref+ span.deal-hh-first-icon).hasClass(glyphicon-ok)){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, false); } if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Next); } if($(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref).val()){ $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).attr({ref: ref, hh-ref: first}).parent().removeClass(hide); } if($(#+deal_plu+-+ref+-first-topping-ctr).length){ $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().removeClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).click(); } else{ if($(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref).val()){ $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-body #deal-hh-first-selected-+deal_plu+-+ref).removeClass(hide); } } modal_height(#add-popup-deals-+deal_plu); } }); $(.modal-deals .deal-hh-second).die().live(click, function(){ var ref $(this).attr(ref); var deal_plu $(this).attr(plu); if(!$(this).hasClass(disabled)){ $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-second-selection-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ h4.modal-title).html(Choose Your Second Half); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).attr({ref: ref, return-to: hh-main-selection, hh-ref: second}); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).attr({ref: ref, hh-ref: second}).removeClass(add-deal-hh); $(#add-popup-deals-+deal_plu+ .modal-body).scrollTop(0); if($(.modal-deals .modal-body #deal-hh-second-+deal_plu+-+ref+ span.deal-hh-second-icon).hasClass(glyphicon-chevron-right)){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, true); } else if($(.modal-deals .modal-body #deal-hh-second-+deal_plu+-+ref+ span.deal-hh-second-icon).hasClass(glyphicon-ok)){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, false); } if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Next); } if($(.modal-deals .modal-body #second-half-plu-+deal_plu+-+ref).val()){ $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).attr({ref: ref, hh-ref: second}).parent().removeClass(hide); } if($(#+deal_plu+-+ref+-second-topping-ctr).length){ $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().removeClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).click(); } else{ if($(.modal-deals .modal-body #second-half-plu-+deal_plu+-+ref).val()){ $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-body #deal-hh-second-selected-+deal_plu+-+ref).removeClass(hide); } } modal_height(#add-popup-deals-+deal_plu); } }); $(.deal-hh-selection-item, .deal-hh-item-thumb).die().live(click, function(e){ if($(this).hasClass(deal-hh-item-thumb)){ var plu $(this).prev().attr(item-plu); var deal_plu $(this).prev().attr(deal-plu); var ref $(this).prev().attr(ref); var which_half $(this).prev().attr(hh-ref); var cgroup_id $(this).prev().attr(cgroup_id); var subid $(this).prev().attr(subid); var selection_id $(this).prev().attr(selection-id); var item_name $(this).prev().find(p.deal-hh-item-name).html(); } else{ var plu $(this).attr(item-plu); var deal_plu $(this).attr(deal-plu); var ref $(this).attr(ref); var which_half $(this).attr(hh-ref); var cgroup_id $(this).attr(cgroup_id); var subid $(this).attr(subid); var selection_id $(this).attr(selection-id); var item_name $(this).find(p.deal-hh-item-name).html(); } //if HH has price, include the price when selection is finished var price (typeof $(this).attr(price) ! undefined && $(this).attr(price) ! false) ? parseFloat($(this).attr(price)) : 0; var charge_item (typeof $(this).attr(data-charge-item) ! undefined && $(this).data(chargeItem) 1); var split_hh (typeof $(this).attr(data-split-half-price) ! undefined && $(this).data(splitHalfPrice) 1); hh_cur_toppings hh_cur_toppings - hh_cur_toppings_tmp; $(.modal-deals .modal-body #+which_half+-half-plu-+deal_plu+-+ref).val(plu).attr(price, price); $(.modal-deals .modal-body #deal-hh-+which_half+-item-list-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-hh-+which_half+-selected-+deal_plu+-+ref).addClass(hide).html(); $(.modal-deals .modal-body #deal-hh-+which_half+-selection-+deal_plu+-+ref+ .lds-ring).show(); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ .back-to-pizza-deal-hh).attr({ref: ref, hh-ref: which_half}); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().removeClass(hide); $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).attr(selection-id, selection_id).val(HH); deal_hh_toppings_ajax $.ajax({ type: POST, url: core/ajax/get_extra_toppings_popup.php, data: plu+plu+&condiment_group_id+cgroup_id+&sub_cat_id+subid+&which_half+which_half+&is_dealtrue&deal_plu+deal_plu+&ref+ref, success: function(data){ $(.modal-deals .modal-body #deal-hh-+which_half+-selection-+deal_plu+-+ref+ .lds-ring).hide(); $(.modal-deals .modal-body #deal-hh-+which_half+-selected-+deal_plu+-+ref).removeClass(hide).html(data); $(.modal-deals .modal-body #deal-hh-+which_half+-+deal_plu+-+ref+ span.deal-hh-+which_half+-item-label).html(item_name); $(.modal-deals .modal-body #deal-hh-+which_half+-+deal_plu+-+ref+ span.deal-hh-+which_half+-icon).removeClass(glyphicon-chevron-right).addClass(glyphicon-ok); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).attr({ref: ref, hh-ref: which_half}).prop(disabled, false); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref+ .deal-hh-remaining-topping).html($(#deal-hh-remaining-topping-+deal_plu+-+ref).val()); if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Next); } if($(#+deal_plu+-+ref+-+which_half+-topping-ctr).length){ if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Add to Order); } $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).click(); $(.modal-deals .modal-body #deal-hh-+which_half+-selected-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-hh-+which_half+-item-list-+deal_plu+-+ref).removeClass(hide); } } }); var first_half_elem $(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref); var second_half_elem $(.modal-deals .modal-body #second-half-plu-+deal_plu+-+ref); var first_plu first_half_elem.val(); var second_plu second_half_elem.val(); var section_id $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref+ .deal-selection-name).attr(selection-section-id); var has_price ((typeof first_half_elem.attr(price) ! undefined || typeof second_half_elem.attr(price) ! undefined) && (parseFloat(first_half_elem.attr(price)) > 0 || parseFloat(second_half_elem.attr(price)) > 0)); if(first_plu && second_plu){ $.ajax({ type: POST, url: core/ajax/get_half_half_price.php, data: first_plu+first_plu+&second_plu+second_plu+§ion_id+section_id+&is_specialtrue+(has_price ? : &remove_price1), success: function(data){ if(data){ var price parseFloat(data.trim()); var extra_price 0; $(#deal-selected-item-+deal_plu+-+ref).attr(hh-surcharge, price).val(HH); if($(.+deal_plu+-+ref+-first-accordion li input:checked).length > 0){ $(.+deal_plu+-+ref+-first-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; var extra_price 0; if($(.+deal_plu+-+ref+-second-accordion li input:checked).length > 0){ $(.+deal_plu+-+ref+-second-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; if(price > 0) { $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).attr(price, price); } dealGetTotal(deal_plu); } } }); } }); $(.add_deal_hh_extra).die().live(click,function(){ var extra_price parseFloat($(this).val()); var price 0; var deal_plu $(this).attr(deal-plu); var ref $(this).attr(ref); var which_half ($(this).attr(id).replace(extra-+deal_plu+-+ref+-,)).replace(-+$(this).attr(plu),) var topping_limit$(#deal-hh-+which_half+-selected-+deal_plu+-+ref).find(.deal-hh-remaining-topping).text()??0; var topping_price 0; if($(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half)!undefined){ topping_price parseFloat($(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half))??0; } if($(this).is(:checked)){ if (topping_limit > 0){ if($(#deal-selected-item-+deal_plu+-+ref).attr(price) ! undefined ){ price parseFloat($(#deal-selected-item-+deal_plu+-+ref).attr(price)) + extra_price } else{ price price + extra_price; } topping_price topping_price + extra_price; $(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half, parseFloat(topping_price)); $(#deal-selected-item-+deal_plu+-+ref).attr(price, price); } } else{ if($(#deal-selected-item-+deal_plu+-+ref).attr(price) ! undefined ){ price parseFloat($(#deal-selected-item-+deal_plu+-+ref).attr(price)) - extra_price } else{ price price - extra_price; } topping_price topping_price - extra_price; $(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half, topping_price); $(#deal-selected-item-+deal_plu+-+ref).attr(price, price).val(HH); } var maxToppingValid checkMaxToppingsLimit(true, deal_plu, ref); var _lo_max_toppings hh_max_toppings; if(!_lo_max_toppings){ _lo_max_toppings 12; } if(maxToppingValid false){ $.prompt(You have reached the extras limit of +_lo_max_toppings); return false; } var currency $(#deal-price-+deal_plu).text(); var halfhalftotal Number(currency.replace(/^0-9\.+/g,)); var price $(#current_order_type_holder).val() pickup ? $(this).data(sell-shop) : ($(#current_order_type_holder).val() delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); if(!price){ price $(this).attr(value); //this is the original value of price } var item_total halfhalftotal; if($(this).prop(checked)){ item_total halfhalftotal + parseFloat(price); } else{ item_total halfhalftotal - parseFloat(price); } $(#deal-price-+deal_plu).html($+formatNumber(item_total)); checkMaxToppingsLimit(true, deal_plu, ref); }); $(.back-to-pizza-deal-hh).die().live(click, function(){ var ref $(this).attr(ref); var which_half $(this).attr(hh-ref); var deal_plu $(this).attr(plu); var hh_toppings 0; var first_plu $(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref).val(); var second_plu $(.modal-deals .modal-body #second-half-plu-+deal_plu+-+ref).val(); if(deal_hh_toppings_ajax.status ! 200){ deal_hh_toppings_ajax.abort(); $(.modal-deals .modal-body #deal-hh-+which_half+-selection-+deal_plu+-+ref+ .lds-ring).hide(); } $(.modal-deals .modal-body #deal-hh-+which_half+-item-list-+deal_plu+-+ref).removeClass(hide); $(.modal-deals .modal-body #deal-hh-+which_half+-selected-+deal_plu+-+ref).addClass(hide).empty(); $(.modal-deals .modal-body #+which_half+-half-plu-+deal_plu+-+ref).val(); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().removeClass(hide); $(this).parent().addClass(hide); $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).prop(disabled, true); $(.modal-deals .modal-body #deal-hh-+which_half+-+deal_plu+-+ref+ span.deal-hh-+which_half+-item-label).html(Select your +which_half+ half); $(.modal-deals .modal-body #deal-hh-+which_half+-+deal_plu+-+ref+ span.deal-hh-+which_half+-icon).removeClass(glyphicon-ok).addClass(glyphicon-chevron-right); var extra_price0; var hh_extra 0; var hh_surcharge 0; if ($(#deal-selected-item-+deal_plu+-+ref).attr(price)!undefined){ hh_toppings parseFloat($(#deal-selected-item-+deal_plu+-+ref).attr(price))??0; } if (first_plu && second_plu){ if ($(#deal-selected-item-+deal_plu+-+ref).attr(hh-surcharge)!undefined){ hh_surcharge parseFloat($(#deal-selected-item-+deal_plu+-+ref).attr(hh-surcharge))??0; } } if ($(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half)!undefined){ hh_extra parseFloat ($(#deal-selected-item-+deal_plu+-+ref).attr(topping-+which_half)) } if (which_halffirst){ deal_hh_left_arrayparseInt(ref) - 1 ; } else if(which_half second){ deal_hh_right_arrayparseInt(ref) - 1 ; } $(#deal-selected-item-+deal_plu+-+ref).removeAttr(hh-surcharge) $(.modal-deals .modal-body #deal-selected-item-+deal_plu+-+ref).attr(price, formatNumber(parseFloat(hh_toppings - (hh_surcharge + hh_extra)))); $(#deal-selected-item-+deal_plu+-+ref).removeAttr(topping-+which_half) dealGetTotal(deal_plu); deal_hh_extra_toppings(deal_plu, which_half, ref); }); $(button.deal-hh-modal-footer-next).die().live(click, function(){ var ref $(this).attr(ref); var which_half $(this).attr(hh-ref); var deal_plu $(this).attr(plu); if(!$(this).hasClass(add-deal-hh)){ $(this).addClass(add-deal-hh); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).parent().addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-selection-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-+which_half+-selection-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-body #deal-hh-+which_half+-selected-+deal_plu+-+ref+, .modal-deals .modal-body #deal-hh-+which_half+-item-list-+deal_plu+-+ref).addClass(hide); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).parent().removeClass(hide); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).attr({ref: ref, return-to: deal-main-selection}); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).removeClass(hide).scrollTop($(.modal-body).offset().top); if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-hh-modal-footer-next-+deal_plu+ button).text(Add to Order); } } else{ var first_plu $(.modal-deals .modal-body #first-half-plu-+deal_plu+-+ref).val(); var second_plu $(.modal-deals .modal-body #second-half-plu-+deal_plu+-+ref).val(); var half first, second; if($(.modal-deals .modal-body namedeal-hh-item-option-+deal_plu+-+ref+).length > 0){ if($(.modal-deals .modal-body namedeal-hh-item-option-+deal_plu+-+ref+:checked).length > 0){ deal_hh_item_optionparseInt(ref) - 1 $(.modal-deals .modal-body namedeal-hh-item-option-+deal_plu+-+ref+:checked).val(); } else{ $.prompt(You must select an Option); return false; } } else{ deal_hh_item_optionparseInt(ref) - 1 ; } deal_hh_left_pluparseInt(ref) - 1 first_plu; deal_hh_right_pluparseInt(ref) - 1 second_plu; jQuery.each(half, function(index, item){ if($(#deal-hh-+item+-selected-+deal_plu+-+ref+ li inputtypecheckbox).length > 0){ var i 0; $(#deal-hh-+item+-selected-+deal_plu+-+ref+ li inputtypecheckbox).each(function(){ if((!$(this).hasClass(current_item) && $(this).prop(checked)) || ($(this).hasClass(current_item) && !$(this).prop(checked))){ var plu $(this).attr(plu); var extra_price $(this).val(); var qty 1; if($(this).hasClass(current_item) && !$(this).prop(checked)){ qty -1; } var is_current $(this).hasClass(current_item); var extras new Array(plu, extra_price, qty, is_current); if(item first){ deal_hh_left_arrayparseInt(ref) - 1i extras; } else{ deal_hh_right_arrayparseInt(ref) - 1i extras; } i++; } }); } }); if(!first_plu || !second_plu){ $.prompt(You must select both halves); return false; } else{ $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref+ .deal-selection-icon).removeClass(glyphicon-chevron-right glyphicon-ok).addClass(glyphicon-ok); $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref+ .deal-item-name-selected).html( - Half/Half); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu).addClass(hide); $(.modal-deals .modal-body #deal-modal-body-hh-+deal_plu+, .modal-deals .modal-body #deal-modal-body-hh-+deal_plu+-+ref).addClass(hide); $(this).parent().addClass(hide); $(.modal-deals .modal-header #deal-modal-header-main-+deal_plu+, .modal-deals .modal-body #deal-modal-body-main-+deal_plu).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu).removeClass(hide); $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).prop(disabled, false); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(ref); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(return-to); $(.modal-deals .modal-header #back-to-main-deal-hh-+deal_plu).removeAttr(hh-ref); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).removeAttr(ref); $(.modal-deals .modal-header #back-to-pizza-deal-hh-+deal_plu).removeAttr(hh-ref); $(.modal-deals .modal-header #deal-hh-modal-header-+deal_plu+ h4.modal-title).html(Half/Half); $(.modal-deals .modal-body #deal-selection-+deal_plu+-+ref).css(background-color, ); if($(#add-popup-deals-+deal_plu).attr(deal-selection) 1){ $(.modal-deals .modal-footer #deal-modal-footer-add-+deal_plu+ button).click(); } } } modal_height(#add-popup-deals-+deal_plu); }); /* Deals - END */ }); /script>script> if (sessionStorage.customisedItem) sessionStorage.removeItem(customisedItem); // remove data of customisedItem so when you return to customise_item page it will only display all the default toppings //var monitorDebugMode false; /** * This was based on id set in menu caching - In charge of display notif for menu active time * This is tightly coupled to the structure of menu blocks `{menu name}-block` */ function setMenuActiveTime(menuName, hide, data){ // Followed how menu-items.php sanitize title menuName menuName.replace(/\/,); // For some reason the php only puts quot instead of " in the className // This will handle and htmlencoded chars • which becaome • menuName menuName.replace(/(?&;).?/g,); menuName menuName.replace(/^a-zA-Z0-9_ ()-/g,); // CRM #5090 menu active times not working when it have slash, same regex in menu-items.php menuName menuName.replace(/()/g,) // CRM #5090 menu active times not working when it have parenthesis, same regex in menu-items.php menuName menuName.replace(/^0-9-+/g,); // WD-524 Unavailable item still adding on the cart (Platina), removed number at the start of menu-title var menuId (data && data.menuId ! undefined) ? data.menuId : ; if(data && data.newMenuNotif ! undefined){ $(#+menuName+-block.mi-+menuId+ #menu-desc-header .+menuName+-block-active-time).html(data.newMenuNotif); } $(#+menuName+-block.mi-+menuId+ #item-buttons span).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .activetime_span:not(.deal_end_time)).remove(); // Menu is disabled - Hide the menu and show notif if(hide){ if (data.hide_when_unavailable 1) { $(#+menuName+-block.mi-+menuId).hide(); $(#menu #menu-ul li.menu- + menuId).hide(); } $(#+menuName+-block.mi-+menuId+ #menu-desc-header .+menuName+-block-active-time).show(); $(#+menuName+-block.mi-+menuId+ #item-buttons input).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .add-half-half-bt).hide(); // for half half button still showing CRM # 5095 $(#+menuName+-block.mi-+menuId+ #item-buttons .qty-select).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .menu-item-option select).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .item-options).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .item-options).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons .item-options).hide(); $(#+menuName+-block.mi-+menuId+ .menu-item-outofstock).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons).append(span classactivetime_span styleclear:both;display:inline-block;color:#da2d2d;font-style:italic;padding:5px 0;>Unavailable at this moment/span>); if($(#+menuName+-block.mi-+menuId+ ul#+menuName+ li)){ $(#+menuName+-block.mi-+menuId+ ul#+menuName+ li).each(function(){ if($(this).find(.visual-tag-container).length){ $(this).find(.item-title).after($(this).find(.visual-tag-container .item-price)); } }); $(#+menuName+-block.mi-+menuId+ ul#+menuName+ .visual-tag-container).css(display, none); } }else{ if (data.hide_when_unavailable 1) { $(#+menuName+-block.mi-+menuId).show(); $(#menu #menu-ul li.menu- + menuId).show(); } $(# + menuName + -block.mi- + menuId + #menu-desc-header . + menuName + -block-active-time).hide(); $(#+menuName+-block.mi-+menuId+ #item-buttons input).show(); $(#+menuName+-block.mi-+menuId+ #item-buttons .qty-select).show(); $(#+menuName+-block.mi-+menuId+ #item-buttons .menu-item-option select).show(); $(#+menuName+-block.mi-+menuId+ #item-buttons .item-options).each(function(){ // Certain item option is hidden because they the item doesnt have a value // So we first check if we this option has a value before we display // As we dont wanna display blank item options if($(this).val()){ $(this).show(); } }); $(#+menuName+-block.mi-+menuId+ #item-buttons span).show(); if($(#+menuName+-block.mi-+menuId+ ul#+menuName+ li)){ $(#+menuName+-block.mi-+menuId+ ul#+menuName+ li).each(function(){ if($(this).find(.visual-tag-container).length){ $(this).find(.visual-tag-container > .badge).after($(this).find(.item-price)); } }); $(#+menuName+-block.mi-+menuId+ ul#+menuName+ .visual-tag-container).css(display, flex); } // Additional check to hide menu items with empty ul const menuItem $(# + menuName + -block.mi- + menuId); const item_ul menuItem.find(ul); if (item_ul.length && item_ul.children().length 0) { menuItem.hide(); $(#menu #menu-ul li.menu- + menuId).hide(); } } } // Checks the menu on initial load var monitorIntervalArray ; //used for clearing interval. When changing delivery or pickup function pullMenuActiveTime(first_load){ $.ajax({ url:core/ajax/menu-active-times.php, async: true, type:post, data:{initial:first_load}, success: function(data){ var res JSON.parse(data); monitorIntervalArray.forEach(function(x){ clearTimeout(x); }); //remove previous binding events. monitorIntervalArray ; // clean the array placeholder res.forEach(function(x){ monitorIntervalArray.push(monitorActiveTime(x)); //push the return id of setInterval used for clearing previous interval var dayOnly {}, hide false; if(x.today inactive && x.days_available.length > 0){ var newMessage Available day+((x.days_available.length) 1 ? :s)+ : +x.days_available.join(,); dayOnlynewMenuNotif newMessage; } if(x && x.menu_id ! undefined){ dayOnlymenuId x.menu_id; } if(x.menu_status inactive || x.today inactive){ hide true; } dayOnlyhide_when_unavailable x.hide_when_unavailable; dayOnlyend_remaining_time x.end_remaining_time; dayOnlystart_remaining_time x.start_remaining_time; setMenuActiveTime(x.menu_title.replace(/\./, \\.), hide, dayOnly); /* Activate the menu warnings*/ }); } }); } /** * In charge of tracking the time base on the difference of this client and server. * * diff here is the seconds difference server time and client time * Its value represent the seconds since this function started * If diff value is higher than start_time means the menu is open. * If diff value is higher than the end_time means the menu is closed. * These checkings will only be done if the active_time detected that its active for today * */ function monitorActiveTime(data){ return setInterval(function(){ var currentDate new Date(); var now Math.floor(currentDate.getTime() / 1000); var diff now - data.s_time; //detect if menu only has days and no time is set var dayOnly {}; if(data.today inactive && data.days_available.length > 0){ var newMessage Available day+((data.days_available.length) 1 ? :s)+ : +data.days_available.join(,); dayOnlynewMenuNotif newMessage; } if(data && data.menu_id ! undefined){ dayOnlymenuId data.menu_id; } /*if (data.today inactive && data.hide_when_unavailable 0 && data.end_remaining_time > 0 && data.start_remaining_time 0) { data.today active; }*/ dayOnlyhide_when_unavailable data.hide_when_unavailable; dayOnlyend_remaining_time data.end_remaining_time; dayOnlystart_remaining_time data.start_remaining_time; if(data.today active){ /** * We need to compute the two factor separately * - this will enable us to switch on two states */ if(diff > data.start_remaining_time && (data.start_remaining_time ! 0 && data.end_remaining_time ! 0) ){ setMenuActiveTime(data.menu_title.replace(/\./, \\.), false, dayOnly); } if(diff > data.end_remaining_time && (data.start_remaining_time ! 0 && data.end_remaining_time ! 0)){ setMenuActiveTime(data.menu_title.replace(/\./, \\.), true, dayOnly); } // This will show the menu, if it store is active today but no time is set if(data.end_remaining_time 0 && data.start_remaining_time 0){ setMenuActiveTime(data.menu_title.replace(/\./, \\.), false, dayOnly); } }else{ setMenuActiveTime(data.menu_title.replace(/\./, \\.), true, dayOnly); } /* if(monitorDebugMode){ console.log(%c Diff %c >%c +diff + + %c Menu %c >%c +data.menu_title + + %c Start Remaining %c >%c +data.start_remaining_time + + %c End Remaining %c >%c +data.end_remaining_time, color:white;background: #2d6d48;,color:#d3d0d0,color:blue, color:white;background: #2d6d48;,color:#d3d0d0,color:#f3780c, color:white;background: #2d6d48;,color:#d3d0d0,color:blue, color:white;background: #2d6d48;,color:#d3d0d0,color:blue, ); //For debugging } */ }, 1500); } /** * Adds a specified number of seconds to a given time in HMMSS format. */ function addSeconds(time, secondsToAdd) { let hours Math.floor(time / 10000); let minutes Math.floor((time % 10000) / 100); let seconds time % 100; seconds + secondsToAdd; // Add seconds // Handle overflow if(seconds > 60){ seconds - 60; minutes++; } if(minutes > 60){ minutes - 60; hours++; } if(hours > 24){ hours - 24; client_current_day++; } if(client_current_day > 7){ client_current_day - 7; } // Format back to integer return hours * 10000 + minutes * 100 + seconds; } function newItem(){ $(.visual-tag-container .visual-tag-label.new-item).each(function(){ let itemAddedTimestamp $(this).attr(date-added); let itemAddedDate new Date(itemAddedTimestamp * 1000); // convert to javascript date let localDate new Date(itemAddedDate.getFullYear(), itemAddedDate.getMonth(), itemAddedDate.getDate()); let currentDate new Date(); currentDate.setHours(0, 0, 0, 0); // remove time part let diffTime currentDate - localDate; let diffDays diffTime / (1000 * 60 * 60 * 24); // calculate the difference in days if(diffDays > 30){ if($(this).siblings().attr(class)){ $(this).remove(); } else{ const visual_tag_container $(this).closest(.visual-tag-container); visual_tag_container.find(.item-price).clone().appendTo(visual_tag_container.siblings(.item-title-container)); visual_tag_container.remove(); } } }); } let deal_before_time, client_current_day, client_start_time; function dealEndBeforeTime(){ if($(#menu-items lispecial-before-time).length){ $(#menu-items lispecial-before-time).each(function(){ let days_available_array, hide_special false, remove_special true, is_available_today true, days_available ($(this).attr(special-days-available) ! undefined ? $(this).attr(special-days-available) : undefined), start_time ($(this).attr(special-after-time) ! undefined ? parseInt($(this).attr(special-after-time)) : undefined), end_time parseInt($(this).attr(special-before-time)); if(days_available ! undefined){ days_available_array days_available.split(,).map(Number); if(!days_available_array.includes(client_current_day)){ hide_special true; remove_special false; is_available_today false; } } if(!hide_special){ if(start_time ! undefined){ if(start_time end_time){ // Deal does NOT cross midnight if(client_start_time start_time || client_start_time > end_time){ hide_special true; remove_special false; } } else{ // Deal crosses midnight if(client_start_time start_time && client_start_time > end_time){ hide_special true; remove_special false; } } } else{ if(client_start_time > end_time){ hide_special true; remove_special true; } } } if(hide_special){ if($(this).attr(display-special-always) 0){ if(remove_special){ $(this).remove(); } else{ $(this).addClass(hide); } // WEB-1799 - Hide Menu Category When All Items Are Set to Specific Order Type const parent $(this).parent().closest(.menu-item); const ul_parent parent.find(ul); if(ul_parent.length && ul_parent.children(:visible).length 0){ const className parent.attr(class); const menuId getIdFromClass(className); if (menuId) { $(#menu #menu-ul li.menu- + menuId).hide(); } parent.hide(); } } else{ start_time $(this).attr(special-start-time); end_time $(this).attr(special-end-time); let unavailable_message (start_time ! undefined) ? between +start_time+ and : before ; unavailable_message + end_time; if(remove_special){ $(this).find(#item-buttons).empty(); } else{ $(this).find(#item-buttons .activetime_span.deal_end_time).remove(); } if(is_available_today){ $(this) .find(#item-buttons) .append(span classactivetime_span deal_end_time styleclear:both;display:inline-block;color:#da2d2d;font-style:italic;letter-spacing:0.8px;padding:5px;>Unavailable. Please order +unavailable_message+/span>); } if(remove_special){ $(this).removeAttr(display-special-always).removeAttr(special-after-time).removeAttr(special-before-time); } } } else{ if($(this).hasClass(hide)){ $(this).removeClass(hide); } if($(this).find(#item-buttons .activetime_span.deal_end_time).length){ $(this).find(#item-buttons .activetime_span.deal_end_time).remove(); } } }); } else{ clearInterval(deal_before_time); } client_start_time addSeconds(client_start_time, 2); } function extra_toppings(whichHalf){ var extra_price 0; if(whichHalf first){ whichHalf second; } else if(whichHalf second){ whichHalf first; } else{ return false; } if($(.+whichHalf+-accordion li input:checked).length > 0){ $(.+whichHalf+-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } $(.hh-remaining-topping).html(hh_max_toppings - ($(.first-accordion li input:checked).length + $(.second-accordion li input:checked).length)); $(.half-half-total).html($+formatNumber(extra_price)); } function getHHTotal(hh_price){ var price hh_price; var hh_surcharge 0; var extra_price 0; var first_plu $(#first-half-plu).val(); var second_plu $(#second-half-plu).val(); if($(.first-accordion li input:checked).length > 0){ $(.first-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; var extra_price 0; if($(.second-accordion li input:checked).length > 0){ $(.second-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; if($(.modal-hh .menu-item-option-radio-HHIO).length>0){ $(.modal-hh .menu-item-option-radio-HHIO).each(function(){ if($(this).attr(checked)!undefined){ var item_option_price parseFloat($(this).attr(price)); price price + item_option_price; } }); } else{ if($(.modal-hh .item-option-per-hh).length>0){ $(.modal-hh .item-option-per-hh).each(function(){ if($(this).attr(checked)!undefined){ var item_option_price parseFloat($(this).attr(price)); price price + item_option_price; } }); } } if(!(first_plu && second_plu)){ if($(.hh-size .hh-surcharge).attr(surcharge) !undefined){ hh_surcharge parseFloat($(.hh-size .hh-surcharge).attr(surcharge)); price price + hh_surcharge; } } $(.half-half-total).html($+formatNumber(price)); } function lastreorderbutton(){ $(#lastreorderbutton).click(function(){ var reOrderBtn $(this); if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); }else{ $(buttonnamereorder).attr(disabled,disabled); reOrderBtn.after(span classglyphicon glyphicon-refresh glyphicon-refresh-animate>/span>); reOrderBtn.remove(); $.ajax({ type: POST, url: core/ajax/reorder.php, data: {order_id: this.value} }).done(function(obj){ $(#view-basket).load(core/mybasket.php); if(reOrderBtn.next().hasClass(glyphicon-refresh)){ reOrderBtn.next().remove(); } document.cookiereorder1;max-age3600 window.location.href ?pagebrowse; }); } }); } $(document).ready(function(){ client_current_day 7; client_start_time 51636; newItem(); dealEndBeforeTime(); deal_before_time setInterval(dealEndBeforeTime, 2000); $(#view-customer-details).load(core/view_customer_details.php); $(.customise-page).live(click, function(){ var parent_div $(this).closest(li).attr(id); var group_id $(this).attr(ref); var menu_id $(this).parents(#menu_items).data(menuid); var plu $(#menu-+group_id+ :selected).val(); if($(#+parent_div+ .input-group-radio).length > 0){ // check if radio button is available var plu $(#+parent_div+ inputnamemenu-item-option-radio-+group_id+:checked).val() } if(!plu){ var plu $(this).attr(plu); } option_id $(#+parent_div+ #+plu+-option-id).val(); if($(#+parent_div+ inputnameitem-option-radio-+group_id+:checked).val() && option_id undefined){ // if item has menu-item-option var option_id $(#+parent_div+ inputnameitem-option-radio-+group_id+:checked).val(); } else if(option_id undefined){ // if item has no menu-item-option var option_id $(#+parent_div+ inputnameitem-option-radio-+plu+:checked).val(); } window.location ?pagecustomise_item&PLU+plu+&group_id+group_id+&option_id+option_id+&menu_id+menu_id; }); $(#promotional_close).live(click, function(){ $(#promotional_container).removeClass(active); }); $(#new_customer_details).load(core/view_customer_details.php); $(#empty-button).click(function(){ $(#loading_bar).html(img srcimages/ajax-loader.gif>); $(#loading_bar).center(); $.ajax({ type: POST, url: core/ajax/empty_mybasket.php, success: function(data) { $(#view-basket).load(core/mybasket.php, function(){ $(#loading_bar).html(); get_cart_total(); }); } }); }); $(.add-button-popup).live(click, function(){ var parent_div $(this).closest(li).attr(id); var menu_id $(this).attr(menu-id); var group_id $(this).attr(id); var PLU $(this).attr(ref); /** *This triggers when Allow Addition is Disabled but have item-options *if no item option is checked, we make the first item the default *else if have value and the item is duplicate */ if(typeof $(#+parent_div+ .item-option-radio-list:first).attr(multiple-io) ! undefined && $(#+parent_div+ .item-option-radio-list:first).attr(multiple-io) ! false){ $(#+parent_div+ .item-option-radio-list).attr(checked, false); $(#+parent_div+ .item-option-radio-list).parent().parent().css({padding:, border:}); last_io_selected ; get_item_option(parent_div); } else{ if(!$(#+parent_div+ inputnameitem-option-radio-+PLU+:checked).val()){ $(#+parent_div+ input:radionameitem-option-radio-+PLU+:not(:disabled):first).attr(checked, true); }else{ //fix for item option have default item but does not select it due to duplicate item in the menu var default_io $(#+ parent_div + inputnameitem-option-radio-+PLU+:checked).attr(default-io); if(typeof default_io ! undefined && default_io ! false){ $(#+parent_div+ input:radionameitem-option-radio-+PLU+ref+default_io+).attr(checked, true); } else{ $(#+parent_div+ input:radionameitem-option-radio-+PLU+:not(:disabled):first).attr(checked, true); } } $(#+parent_div+ inputnameitem-option-radio-+PLU+:not(:checked)).attr(checked, false); } // if no menu item option is checked, we make the first item the default if(!$(#+parent_div+ inputnamemenu-item-option-radio-+group_id+:checked).val()){ $(#+parent_div+ input:radionamemenu-item-option-radio-+group_id+:not(:disabled):first).attr(checked, true); } if(group_id undefined || group_id 0){ // if item has no menu-item-option but have item-option then we override the group_id to PLU var group_id PLU; } // if no default item-option selected then we add src on the checked items img $(#add-popup-+group_id+-+menu_id).find(input:checked).siblings(.input-group-label).find(.check-img-popup).attr(src, https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/icon-check.png).css(visibility, visible); $(#add-popup-+group_id+-+menu_id).find(input:not(:checked)).siblings(.input-group-label).find(.check-img-popup).css(visibility, hidden); if(window.innerWidth > 768 && window.innerHeight 650){ setTimeout(function(){ modal_height(#add-popup-+group_id+-+menu_id); }, 200); } }); // move the menuitems-reorder div inside menu-items div $(#menu-items).prepend($(#menuitems-reorder-container).html() ); $(#menuitems-reorder-container).html(); // Half-half $(.hh-button-popup).live(click, function(){ $(.half-half-total).removeAttr(price); var hh_surcharge 0 if ($(.hh-size .hh-surcharge).attr(surcharge)!undefined){ hh_surcharge parseFloat($(.hh-size .hh-surcharge).attr(surcharge)); } if($(.modal-hh).hasClass(reload)){ $(.modal-hh .menu-item-option-radio-HHS:checked).click(); } else{ if(!$(.modal-hh .menu-item-option-radio-HHS:checked).val()){ $(.modal-hh .menu-item-option-radio-HHS:first).attr(checked, true).click(); } if($(.modal-hh .menu-item-option-radio-HHIO).length > 0){ if(!$(.modal-hh .menu-item-option-radio-HHIO:checked).val()){ // if no item option is checked, we make the first item the default $(.modal-hh .menu-item-option-radio-HHIO:first).attr(checked, true); } } } if ($(.modal-hh .menu-item-option-radio-HHIO).length>0){ $(.modal-hh .menu-item-option-radio-HHIO).each(function(){ if ($(this).attr(checked)!undefined){ var item_option_price $(this).attr(price); $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(parseFloat(item_option_price)+ hh_surcharge))) } }) } else{ $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(hh_surcharge))) } setTimeout(function(){ modal_height(.modal-hh); }, 500); }); $(.menu-item-option-radio-HHIO).live(click,function(){ var item_option_price $(this).attr(price); var first_plu $(#first-half-plu).val(); var second_plu $(#second-half-plu).val(); var hh_surcharge 0; if ($(.hh-size .hh-surcharge).attr(surcharge)!undefined){ hh_surcharge parseFloat($(.hh-size .hh-surcharge).attr(surcharge)); } if (first_plu && second_plu){ getHHTotal(parseFloat($(.half-half-total).attr(price))) } else if(first_plu || second_plu){ var price 0; var extra_price 0; if($(.first-accordion li input:checked).length > 0){ $(.first-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; var extra_price 0; if($(.second-accordion li input:checked).length > 0){ $(.second-accordion li input:checked).each(function(){ if($(this).val()){ extra_price + (parseFloat($(this).val())); } }); } price price + extra_price; price price + parseFloat(item_option_price) + hh_surcharge; $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(price))) } else{ $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(parseFloat(item_option_price) + hh_surcharge))) } }) //Close the half-half modal when clicked outside the half-half modal $(document).mouseup(function (e) { var modalId $(.modal-hh.fade.in).attr(id); if(!$(# + modalId + .modal-dialog-popup).is(e.target) && !$(# + modalId + .modal-dialog-popup).has(e.target).length && !$(.jqifade:visible).length) { $(# + modalId + .hh-close-popup).click(); } }); $(.hh-close-popup).live(click, function(){ $(.modal-hh).addClass(reload); }); $(.modal-hh .menu-item-option-radio-HHS).live(click, function(){ hh_cur_toppings 0; hh_cur_toppings_tmp 0; var hh_surcharge 0; if ($(.hh-size .hh-surcharge).attr(surcharge)){ hh_surcharge parseFloat($(.hh-size .hh-surcharge).attr(surcharge)); } var size_group $(this).val(); $(.modal-hh .half-half-total).html($0.00); $(#hh-pizza-container .lds-ring).show(); $(#hh-pizza-container .hh-pizza-container).empty(); $(#modal-footer-add button, #modal-footer-next button).prop(disabled, true); $(#first-half-plu, #second-half-plu).val(); $(#back-to-main).parent().removeClass(hide); $(#back-to-pizza).parent().addClass(hide); $(#modal-header-hh, #modal-body-hh, #hh-first-selected, #hh-second-selected, #modal-footer-next).addClass(hide); $(#modal-header-main, #modal-body-main, #hh-first-item-list, #hh-second-item-list, #modal-footer-add).removeClass(hide); $(#hh-first-selected, #hh-second-selected).empty(); $(.hh-remaining-topping).html($(.modal-hh .modal-footer .hh-remaining-topping-orig).html()); hh_item_option_ajax $.ajax({ type: POST, url: core/ajax/get_options_halfhalf_popup.php, data: size_group+size_group, beforeSend: function(){ if(hh_item_option_ajax ! null){ hh_item_option_ajax.abort(); } }, success: function(data){ $(#hh-pizza-container .lds-ring).hide(); $(#hh-pizza-container .hh-pizza-container).html(data); $(.hh-pizza-container .hh-first, .hh-pizza-container .hh-second).addClass(disabled); $(#modal-footer-add button, #modal-footer-next button).prop(disabled, false); if($(.modal-hh .menu-item-option-radio-HHIO).length > 0){ if(!$(.modal-hh .menu-item-option-radio-HHIO:checked).val()){ // if no item option is checked, we make the first item the default $(.modal-hh .menu-item-option-radio-HHIO:first).attr(checked, true); } } if ($(.modal-hh .menu-item-option-radio-HHIO).length>0){ $(.modal-hh .menu-item-option-radio-HHIO).each(function(){ if ($(this).attr(checked)!undefined){ var item_option_price $(this).attr(price); $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(parseFloat(item_option_price) + hh_surcharge))) } }) } else{ $(.modal-hh .half-half-total).html($+ formatNumber(parseFloat(hh_surcharge))) } $(#hh-first-item-list).load(core/ajax/get_halfhalf_selections_popup.php?size_group+size_group+&halffirst, function(){ $(.hh-pizza-container .hh-first).removeClass(disabled); }); $(#hh-second-item-list).load(core/ajax/get_halfhalf_selections_popup.php?size_group+size_group+&halfsecond, function(){ $(.hh-pizza-container .hh-second).removeClass(disabled); }); } }); }); $(.modal-hh .hh-first).live(click, function(){ if(!$(this).hasClass(disabled)){ $(#modal-header-main, #modal-body-main, #hh-second, #modal-footer-add).addClass(hide); $(#modal-header-hh .modal-title).html(Choose Your First Half); $(#back-to-main).parent().removeClass(hide); $(#back-to-pizza).parent().addClass(hide); $(#modal-header-hh, #modal-body-hh, #hh-first, #modal-footer-next).removeClass(hide); $(.modal-hh .modal-body).scrollTop(0); if($(.hh-first span.hh-first-icon).hasClass(glyphicon-chevron-right)){ $(#modal-footer-next button).prop(disabled, true); } else if($(.hh-first span.hh-first-icon).hasClass(glyphicon-ok)){ $(#modal-footer-next button).prop(disabled, false); } if($(#first-half-plu).val()){ $(#back-to-pizza).attr(ref, first).parent().removeClass(hide); } if($(#first-topping-ctr).length){ $(#back-to-main).parent().removeClass(hide); $(#back-to-pizza).parent().addClass(hide); $(.change-half).click(); } else{ if($(#first-half-plu).val()){ $(#back-to-main).parent().addClass(hide); } } modal_height(.modal-hh); } }); $(.modal-hh .hh-second).live(click, function(){ if(!$(this).hasClass(disabled)){ $(#modal-header-main, #modal-body-main, #hh-first, #modal-footer-add).addClass(hide); $(#modal-header-hh .modal-title).html(Choose Your Second Half); $(#back-to-main).parent().removeClass(hide); $(#back-to-pizza).parent().addClass(hide); $(#modal-header-hh, #modal-body-hh, #hh-second, #modal-footer-next).removeClass(hide); $(.modal-hh .modal-body).scrollTop(0); if($(.hh-second span.hh-second-icon).hasClass(glyphicon-chevron-right)){ $(#modal-footer-next button).prop(disabled, true); } else if($(.hh-second span.hh-second-icon).hasClass(glyphicon-ok)){ $(#modal-footer-next button).prop(disabled, false); } if($(#second-half-plu).val()){ $(#back-to-pizza).attr(ref, second).parent().removeClass(hide); } if($(#second-topping-ctr).length){ $(#back-to-main).parent().removeClass(hide); $(#back-to-pizza).parent().addClass(hide); $(.change-half).click(); } else{ if($(#second-half-plu).val()){ $(#back-to-main).parent().addClass(hide); } } modal_height(.modal-hh); } }); $(#back-to-main).live(click, function(){ $(#modal-header-main, #modal-body-main, #modal-footer-add).removeClass(hide); $(#modal-header-hh, #modal-body-hh, #modal-footer-next).addClass(hide); $(.modal-hh .modal-body).scrollTop($(.modal-body).offset().top); modal_height(.modal-hh); }); $(.add-half, .hh-item-thumb).live(click, function(e){ if($(this).hasClass(hh-item-thumb)){ var plu $(this).prev().attr(plu); var which_half $(this).prev().attr(ref); var cgroup_id $(this).prev().attr(cgroup_id); var subid $(this).prev().attr(subid); var item_name $(this).prev().find(p.hh-item-name).html(); } else{ var plu $(this).attr(plu); var which_half $(this).attr(ref); var cgroup_id $(this).attr(cgroup_id); var subid $(this).attr(subid); var item_name $(this).find(p.hh-item-name).html(); } hh_cur_toppings hh_cur_toppings - hh_cur_toppings_tmp; $(#+which_half+-half-plu).val(plu); $(#hh-+which_half+-item-list).addClass(hide); $(#hh-+which_half+-selected).addClass(hide).html(); $(#hh-+which_half+ .lds-ring).show(); $(.change-half).attr(ref, which_half); $(#back-to-main).parent().addClass(hide); $(#back-to-pizza).parent().removeClass(hide); hh_toppings_ajax $.ajax({ type: POST, url: core/ajax/get_extra_toppings_popup.php, data: plu+plu+&condiment_group_id+cgroup_id+&sub_cat_id+subid+&which_half+which_half, success: function(data){ $(#hh-+which_half+ .lds-ring).hide(); $(#hh-+which_half+-selected).removeClass(hide).html(data); $(.hh-+which_half+ span.hh-+which_half+-item-label).html(item_name); $(.hh-+which_half+ span.hh-+which_half+-icon).removeClass(glyphicon-chevron-right).addClass(glyphicon-ok); $(#modal-footer-next button).attr(ref, which_half).prop(disabled, false); $(.hh-remaining-topping).html($(.modal-hh .modal-footer .hh-remaining-topping).html()); if($(#+which_half+-topping-ctr).length){ $(#modal-footer-next button).click(); $(#hh-+which_half+-selected).addClass(hide); $(#hh-+which_half+-item-list).removeClass(hide); } } }); var first_plu $(#first-half-plu).val(); var second_plu $(#second-half-plu).val(); if(first_plu && second_plu){ $.ajax({ type: POST, url: core/ajax/get_half_half_price.php, data: first_plu+first_plu+&second_plu+second_plu, success: function(data){ if(data){ var price parseFloat(data.trim()); $(.half-half-total).attr(price, price) getHHTotal(price) } } }); } }); $(.change-half).live(click, function(){ var which_half $(this).attr(ref); hh_cur_toppings_tmp hh_cur_toppings; if(hh_toppings_ajax.status ! 200){ hh_toppings_ajax.abort(); $(#hh-+which_half+ .lds-ring).hide(); } $(#hh-+which_half+-item-list).removeClass(hide); $(#hh-+which_half+-selected).addClass(hide).empty(); $(#+which_half+-half-plu).val(); $(#back-to-main).parent().removeClass(hide); $(this).parent().addClass(hide); $(#modal-footer-next button).prop(disabled, true); $(.hh-+which_half+ span.hh-+which_half+-item-label).html(Select your +which_half+ half); $(.hh-+which_half+ span.hh-+which_half+-icon).removeClass(glyphicon-ok).addClass(glyphicon-chevron-right); extra_toppings(which_half); getHHTotal(0); }); $(#modal-footer-next button).live(click, function(){ var which_half $(this).attr(ref); var parent_div $(this).closest(.modal-popup).closest(li).attr(id); var modal_div $(this).closest(.modal-popup).attr(id); var mio_ids , mio_msg , mio_req 0; $(#+ parent_div + .item-option-per-hhref+which_half+).each(function(){ if(typeof $(this).attr(mio-id) ! undefined && $(this).attr(mio_id) ! false){ mio_ids.push($(this).attr(mio-id)); } mio_ids ... new Set(mio_ids); }); var io_div; $.each(mio_ids, function(key, val){ var io_selected $(#+parent_div+ .item-option-per-hh-+which_half+-+val+:checked).length, io_min $(#+parent_div+ .item-option-per-hh-+which_half+-+val+:first).attr(min-io), io_max $(#+parent_div+ .item-option-per-hh-+which_half+-+val+:first).attr(max-io), io_name $(#+parent_div+ .item-option-per-hh-+which_half+-+val+:first).parent().siblings(div.item-option-per-hh-group-name-+which_half).find(p).text(), io_container $(#+parent_div+ .item-option-per-hh-+which_half+-+val+:first).parent().parent(); io_container.css({padding:, border:}); if(io_selected io_min){ io_container.css({padding:5px, border:1px solid #dc3545}); mio_req++; if(!io_div){ io_div io_container; } } else if(io_selected > io_max){ mio_msg.push(+io_name+ cant have more than +io_max); } }); if(mio_req > 0){ $.prompt(Please complete all sections to finish your order); $(#+modal_div+ .modal-body).scrollTop(0).scrollTop(io_div.position().top - 25); return false; } if(mio_msg.length > 0){ $.prompt(mio_msg.join(br/>)); return false; } $(#modal-header-main, #modal-body-main, #modal-footer-add).removeClass(hide); $(#modal-header-hh, #modal-body-hh, #modal-footer-next).addClass(hide); $(.modal-hh .modal-body).scrollTop($(.modal-body).offset().top); modal_height(.modal-hh); }); $(.add_extra).live(click, function(){ var maxToppingValid checkMaxToppingsLimit(); var _lo_max_toppings hh_max_toppings; if(!_lo_max_toppings){ _lo_max_toppings 12; } if(maxToppingValid false){ $.prompt(You have reached the extras limit of +_lo_max_toppings); return false; } var currency $(.half-half-total).text(); var halfhalftotal parseFloat(currency.replace($, )); // #2520 - Change the way of getting the price to respect the orderType var price $(#current_order_type_holder).val() pickup ? $(this).data(sell-shop) : ($(#current_order_type_holder).val() delivery ? $(this).data(sell-delivery) : $(this).data(sell-table)); if(!price){ // to support clients hasnt cleared their cache yet price $(this).attr(value); //this is the original value of price } var item_total halfhalftotal; if($(this).prop(checked)){ item_total halfhalftotal + parseFloat(price); } else{ item_total halfhalftotal - parseFloat(price); } $(.half-half-total).html($+formatNumber(item_total)); checkMaxToppingsLimit(); }); $(#add-half-half).die(click); $(#add-half-half).live(click, function(){ if($(inputnamestorestatus).val()offline){ $.prompt($(#offline-alert-txt).html()); if(check_store_stat() online){ location.reload(); } return; } var first_plu $(#first-half-plu).val(); var second_plu $(#second-half-plu).val(); var price $(.half-half-total).text(); var half first, second; var item_option; if($(.menu-item-option-radio-HHIO).length > 0){ if($(.menu-item-option-radio-HHIO:checked).length > 0){ item_option $(.menu-item-option-radio-HHIO:checked).val(); } else{ $.prompt(You must select an Option); return false; } } else{ if($(.modal-hh .item-option-per-hh).length > 0){ item_option {}; $(.modal-hh .item-option-per-hh:checked).each(function(){ if(typeof $(this).attr(ref) ! undefined){ if(typeof item_option$(this).attr(ref) undefined){ item_option$(this).attr(ref) ; } item_option$(this).attr(ref) + item_option$(this).attr(ref).length ? , : ; item_option$(this).attr(ref) + $(this).val(); } }); } } if($(#first-current-toppings-list-ul).length > 0){ var left_array new Array(); } if($(#second-current-toppings-list-ul).length > 0){ var right_array new Array(); } jQuery.each(half, function(index, item){ if($(#hh-+item+-selected li inputtypecheckbox).length > 0){ var i 0; $(#hh-+item+-selected li inputtypecheckbox).each(function(){ if((!$(this).hasClass(current_item) && $(this).prop(checked)) || ($(this).hasClass(current_item) && !$(this).prop(checked))){ var plu $(this).attr(plu); var extra_price $(this).val(); var qty 1; if($(this).hasClass(current_item) && !$(this).prop(checked)){ qty -1; } var option_id 0; if($(this).attr(option_id)){ option_id $(this).attr(option_id); } var is_current $(this).hasClass(current_item); var extras new Array(plu, extra_price, qty, option_id, is_current); if(item first){ left_arrayi extras; } else{ right_arrayi extras; } i++; } }); } }); if(!first_plu || !second_plu){ $.prompt(You must select both halves); return false; } else{ $(.hh-close-popup).click(); $.post(core/ajax/add_half_half.php, { plu_left: first_plu, plu_right: second_plu, price: price, left_toppings: left_array, right_toppings: right_array, item_option: item_option, menu_id: (typeof $(this).attr(menu-id) ! undefined ? $(this).attr(menu-id) : ) }).done(function(data){ $(#view-basket).load(core/mybasket.php, function(){ get_cart_total(); new PNotify({ text: Item added to order., width: 220px, delay: 3000, type: success }); }); }); } }); /* Half-half - END */ lastreorderbutton(); $.ajax({ url: core/ajax/suburb-list.php, async: true, type: POST, // data:{initial:first_load}, success: function(data){ $(#suburb-container).html(data); }, error: function(error) { console.log(error); } }); $(.store-details-open).append(Estimated Pickup (+$(#est-time).text() + mins)); const urlHash window.location.hash; if(urlHash.startsWith(#deal)){ // Check if the URL hash starts with #deal then extract the deal card ID from the URL hash const dealCardId urlHash.split()1, dealCard $(#+dealCardId); if(dealCard && dealCard.length > 0){ // If the deal card exists in the DOM let navbarHeight $(.navbar).height(), fixedHeight ($(window).width() > 1024) ? 126 : 54; // Adjust this value based on your layout const dealCardButton dealCard.find(#item-buttons .add-deal); if(dealCardButton.prop(disabled)){ dealCardButton.prop(disabled, false); // Enable the button if it is disabled } dealCardButton.click(); // Trigger the click event on the add-deal button within the deal card setTimeout(() > { $(html, body).animate({ scrollTop: dealCard.offset().top - navbarHeight - fixedHeight }, 500); }, 1500); } } }); /script>script>function feedbackIcon(element){ $(element).closest(.form-group).find(.glyphicon-form-icon).remove(); $(element).closest(.form-group).find(.help-block).remove(); if($(element).closest(.form-group).hasClass(has-success)){ $(element).closest(.form-group).prepend(span classglyphicon-form-icon glyphicon glyphicon-ok form-control-feedback aria-hiddenfalse>/span>); } else{ $(element).closest(.form-group).prepend(span classglyphicon-form-icon glyphicon glyphicon-remove form-control-feedback aria-hiddenfalse>/span>); $(element).closest(.form-group).append(span classhelp-block>This field is required./span>); }}$(function() { var isMobile window.matchMedia(only screen and (max-width: 760px)); $(a.edit-delivery).click(function (){ $(#textDeliverytoggle).hide(); $(#editDelivery).slideDown(); //Remove the default value from saved address return false; //to prevent from going to the href link }); $(#address-ok).click(function (){ var deliveryText $(.delivery-address); var deliveryInput $(#deliveryStreet).val(); var deliveryAdd deliveryInput.length > 3 ? deliveryInput : ; var deliveryHouseNumber $(#deliveryHouseNumber).val(); var deliveryUnitNumber $(#deliveryUnitNumber).val(); var deliveryInstructions $(#deliveryInstructions).val(); var btnDeliveryAdd deliveryInput.length > 3 ? Edit : Enter Address; $(.delivery-address).removeClass(w0); if(deliveryInput.trim().length!0 && deliveryText.text()!deliveryInput && deliveryHouseNumber.trim().length!0){ $(a.edit-delivery).text(Edit); updateDeliveryStreet(deliveryAdd,deliveryUnitNumber,deliveryHouseNumber,deliveryInstructions); if($(#estimated-time).length){ $(#estimated-time).load(core/estimated-time.php?typedelivery, function (data) { updateStoreDetails(Delivery); store_status(delivery, data); if (!$.trim(data)) { $(#estimated-time).html(h3>Store is Offline!/h3>); } }); } else{ store_status(delivery, ); } if(deliveryUnitNumber.trim().length){ deliveryText.text(deliveryUnitNumber + / + deliveryHouseNumber + + deliveryAdd); }else{ deliveryText.text(deliveryHouseNumber + + deliveryAdd); } $(a.edit-delivery).text(btnDeliveryAdd); $(a.edit-delivery).show(); $(#textDeliverytoggle).show(); $(#editDelivery).slideUp(); }else{ $(a.edit-delivery).text(Enter Address); $(.delivery-address).addClass(w0); } }); $(#address-cancel).click(function (){ $(#editDelivery).slideUp(); $(#textDeliverytoggle).show(); }); if($(#deliveryStreet).length){ if($(#deliveryStreet).val()!&& $(#deliveryStreet).val()!null){ $(a.edit-delivery).text(Edit); }else{ $(a.edit-delivery).text(Enter Address); $(.delivery-address).addClass(w0); } } $j(nameunitNumber, namehouseNumber, namealternate-unitNumber, namealternate-houseNumber, #deliveryUnitNumber, #deliveryHouseNumber).on(input, function(event){ $(this).val($(this).val().substring(0, 5)); }); //house number validate highlight $(#deliveryHouseNumber).focusout(function(){ if($(this).val().trim().length0){ $(this).closest(.form-group).removeClass(has-success).addClass(has-error); }else{ $(this).closest(.form-group).removeClass(has-error).addClass(has-success); } feedbackIcon(this); }); $(#deliveryStreet).focusout(function(){ if(!$(this).val()){ $(this).closest(.form-group).removeClass(has-success).addClass(has-error); }else{ $(this).closest(.form-group).removeClass(has-error).addClass(has-success); } feedbackIcon(this); }); //-Order Type Options $(.order-type-bt).click(function(){ var order_type this.value; var notice_txt; if($(.order-type-bt.active).val() order_type){ return true; } if($(#view-basket .promo-with-different-plu).length && typeof $(this).data(bypass) undefined){ $(.order-type-bt).data(bypass, 1); $(#change-order-type-modal .modal-footer .btn-change-type).data(order-type, order_type); if($(this).hasClass(header)){ $(#change-order-type-modal .modal-footer .btn-change-type).addClass(header); } $j(#change-order-type-modal).modal(show); return true; } $(.order-type-bt).removeData(bypass).removeClass(active); $(.order-type-btvalue+order_type+).addClass(active); setTimeout(() > { change_order_type(order_type); }, 100); setTimeout(() > { if (BroadcastChannel in window) { const channel new BroadcastChannel(refreshChannel); channel.postMessage(refresh); channel.close(); } }, 1000); }); $(#change-order-type-modal .close, #change-order-type-modal .btn-continue-order).click(function(){ $(.order-type-bt).removeData(bypass); $(#change-order-type-modal .btn-change-type).removeClass(header).removeData(orderType); }); $(#change-order-type-modal .btn-change-type).click(function(){ if(!$(this).hasClass(header)){ $(#float-box .order-type-btvalue+$(this).data(order-type)+).click(); } else{ $(#order-type-select .order-type-btvalue+$(this).data(order-type)+).click(); } $(this).removeClass(header).removeData(orderType); }); //-Load Order Basket $(#view-basket).load(core/mybasket.php?page, function(){ get_cart_total(); }); //-Load Customer Details $(#view-customer-details).load(core/view_customer_details.php); var ajaxResponse false; var xhr; //-Checkout Proccess $(.checkout).click(function(){ page $(this).attr(alt); if( $(#promtional-code).length && $(#promtional-code).val().trim().length>0){ promo_code(xhr); }else{ checkout(); } }); //-Promo Code Validation $(#validate).click(function(){ var page promo_validate; if( $(#promtional-code).val().trim().length0 ){ $(#promtional-code).focus(); }else{ promo_code(xhr); } }); /* * FUNCTIONS LIST: * -changeActiveType() * -change_order_type() * -store_status() * -show_stack_bottomright() * -confirmCheckout() * -checkout() * -promo_code() * -confirmCheckout() * -mycallbackfunc() * -updateDeliveryStreet() */ function changeActiveType(order_type){ var btnOrderType $(.order-type-bt); btnOrderType.removeClass(active); if(order_type){ $(#current_order_type_holder).val(order_type); $(#order-type-bt-+order_type+, .order-type-wrapper .btn-float-+order_type).addClass(active); $(#platina-order-type-bt-+order_type).addClass(active); } }; function updateDeliveryStreet(street_suburb,unit_number,house_number,delivery_instructions){ if(!street_suburb && !house_number){ return false; } $.ajax({ method: POST, dataType: JSON, data: {street_suburb:street_suburb, unit_number:unit_number, house_number:house_number, delivery_instructions:delivery_instructions}, url: core/ajax/set_order_type.php, async: false, }).done(function (e) { if(e.location_details.zone){ new PNotify({ text: Your address b>+e.location_details.street_suburb+/b> is subject to delivery zone surcharge., width: 380px, delay: 10000, type: success }); } if(e.location_details.zonewaittime){ new PNotify({ text: Estimated Delivery Time has been updated according to your zone., width: 380px, delay: 5000, type: success }); } if(e.location_details.defaulttime){ new PNotify({ text: Estimated Delivery Time has been updated., width: 380px, delay: 5000, type: success }); } $(#view-basket).load(core/mybasket.php?page); //Hide alert upon changing the address }); } function change_order_type(order_type) { changeActiveType(order_type); $(#bt-checkout).prop(disabled, true); $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, true); $(.order-type-btvalue+order_type+).addClass(active); $(#current_order_type_holder).val(order_type); $(#order-type-bt-+order_type).addClass(active); $(.order-type-store-searchbar .select2-container--platina).hide(); if (order_type pickup) { $(.order-type-icon-group).html(img classorder-type-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/pickup.png />); $(.order-type-text).html(Pick up Order); $(.order-type-store-searchbar #chainStores).show(); $(.order-type-store-searchbar #select2-chainStores-container).parents(.select2-container--platina).first().show(); $(#getLocation).show(); $(#searchNearest).hide(); $(.order-type-store-searchbar #searchForm).hide(); } else if (order_type delivery) { $(.order-type-icon-group).html(img classorder-type-icon srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/delivery.png />); $(.order-type-text).html(Delivery Order); $(.order-type-store-searchbar #chainStores).hide(); $(.order-type-store-searchbar #select2-searchForm-container).parents(.select2-container--platina).first().show(); $(#getLocation).hide(); $(#searchNearest).show(); $(.order-type-store-searchbar #searchForm).show(); } //change order type $.ajax({ method: POST, url: core/ajax/set_order_type.php, dataType: JSON, data: {order_type: order_type} }).success(function (data) { if(data.status preordering) { //displays start time if pre-ordering if (order_type pickup) { $(#cart-alert).html(Pickup starts at + data.start_time).show(); $(#bt-checkout).html(PRE-ORDER); } else if (order_type delivery) { $(#cart-alert).html(Delivery starts at + data.start_time).show(); $(#bt-checkout).html(PRE-ORDER); } }else if(data.status future_ordering) { //displays start time if pre-ordering if (order_type pickup) { $(#cart-alert).html(Only accepting Future Orders).show(); $(#bt-checkout).html(PRE-ORDER); } else if (order_type delivery) { $(#cart-alert).html(Only accepting Future Orders).show(); $(#bt-checkout).html(PRE-ORDER); } }else{ $(#cart-alert).hide(); $(#bt-checkout).html(CHECK OUT); } if(data.startLunch ! null){ $(#cart-alert).show(); $(#cart-alert).html(Lunch time: b> + data.startLunch + to + data.endLunch + /b>); } if(data.delivery_start_time ! null){ $(#cart-alert).show(); $(#cart-alert).html(Delivery orders start at + data.delivery_start_time); } if(data.status delivery_ended){ $(#cart-alert).show(); if(data.start_time) $(#cart-alert).html(Delivery has finished for today.); else $(#cart-alert).html(Delivery not available today.); } if ($(#menu-cont).length ! 0) { //loads menu from api var tempReorder $(#menuitems-reorder).prop(outerHTML); $(#menu-cont).load(https://karaleepizza.com.au/api/getmenu.php, {client_id:943, order_type:order_type, menu_type:both}, function (data, status, xhr) { if (status error) { //window.location ?order_type+order_type; } else { /*OOA-205 Platina - Pick Up and Delivery Anchoring*/ menu_nav(); //$(#menu-items).prepend(div classbtn-group>a href# idlist classbtn btn-default btn-xs stylecolor:#333;>span classglyphicon glyphicon-th-list>/span> List/a>a href# idgrid classbtn btn-default btn-xs stylecolor:#333;>span classglyphicon glyphicon-th>/span> Grid/a>/div>); get_cart_total(); if($(window).width() 480){ $(#menu-cont).addClass(order-type-changed); } dealEndBeforeTime(); deal_before_time setInterval(dealEndBeforeTime, 2000); $.getScript(https://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/scrollspy.js); } $(#menu-items).prepend(tempReorder); lastreorderbutton(); if(!$(#estimated-time).length){ store_status(order_type, ); } }); } //change display info if (order_type delivery) { var txt Your delivery will come from:; $(#order-type-details-delivery).show(); $(#order-type-details-pickup).hide(); $(#estimated-time).load(core/estimated-time.php?typedelivery, function (data) { updateStoreDetails(Delivery); store_status(order_type, data); if (!$.trim(data)) { $(#estimated-time).html(h3>Store is Offline!/h3>); } }); $(#view-basket).load(core/mybasket.php?page); } else if (order_type pickup) { var txt You will be picking up from:; $(#order-type-details-pickup).show(); $(#order-type-details-delivery).hide(); $(#estimated-time).load(core/estimated-time.php?typepickup, function (data) { updateStoreDetails(Pickup); store_status(order_type, data); if (!$.trim(data)) { $(#estimated-time).html(h3>Store is Offline!/h3>); } }); $(#view-basket).load(core/mybasket.php?page); } }); } function store_status(order_type, notice_txt) { $.post(core/ajax/store_status.php, function (data) { if ($.trim(data) taking_orders || $.trim(data) preordering || $.trim(data) future_ordering) { $(#bt-checkout).removeClass(disabled); $(#bt-checkout).attr(disabled, false); //Disable checkout button upon checking store status } else { $(#bt-checkout).addClass(disabled); $(#bt-checkout).attr(disabled, true); if(notice_txt ! undefined && notice_txt ! ){ show_stack_bottomright(order_type, notice_txt); } } $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); }); } function show_stack_bottomright(order_type,notice_txt) { var stack_bottomright {dir1: up, dir2: left, firstpos1: 25, firstpos2: 25}; var str order_type + Not Available; str str.toLowerCase().replace(/\ba-z/g, function(letter) { return letter.toUpperCase(); }); var opts { title: str, text: notice_txt, addclass: stack-bottomright, stack: stack_bottomright }; new PNotify(opts); } function checkout(e,v,m,f){ var order_time ; //var street_suburb $(#deliveryStreet).val() null ? : $(#deliveryStreet).val(); var checkorder true; var type; if($(#order_time).length >0){ order_time $(#order_time).val(); } $(.order-type-bt).each(function(){ if($(this).hasClass(active)){ if($(this).val()delivery){ typedelivery; }else{ typepickup; checkorder true; } } }); if(checkorder){ $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, true); $.ajax({ type: POST, url: core/ajax/checkorder.php, }).done(function(msg){ if(msgreload){ location.reload(); return; } if(msgguess_checkout){ window.location ?pagecheckout; return; } if(msgverifycode){ startSMSCodeTimer(); showSMSVerifyWindow(); return; } if(msgprompt_login){ window.login_referer checkout; $(.or_guest, .checkout_as_guest).show(); $(.register-ling a).attr(href,?pageregister); $(#login-wrap).fadeToggle(fast); //display the popup modal login $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); $(.checkout_as_guest a).text(Checkout as Guest); return; } var address_err_code complete_delivery_details, house_number_required, invalid_street_name, invalid_address; if(address_err_code.includes(msg)){ var address_err_msg ; address_err_msgcomplete_delivery_details Please complete your address details for delivery; address_err_msghouse_number_required Please enter your house number; address_err_msginvalid_street_name address_err_msginvalid_address Sorry, delivery address is not recognised. Please re-enter address.; var address_info { deliveryUnitNumber: , deliveryStreetNumber: , deliveryStreetSuburb: , delivery_instructions: , address_err_msg: address_err_msgmsg } window.login_referer checkout; $(#login-wrap).fadeToggle(fast); update_address(address_info); return; } if(eundefined && (msgcart_loyalty_negative_amount || msgcart_discount_negative_amount)){ if(msgcart_loyalty_negative_amount){ var display_msg Your order value is lower than your redemption. The Remaining value will be lost. Why not add to your order?; }else if(msgcart_discount_negative_amount){ var display_msg Your order value is lower than your discount. The Remaining value will be lost. Why not add to your order?; } $.prompt(display_msg ,{ buttons:{ Continue Browsing: false, No Thanks, I\m Done: true },submit: function(e,v){ if(e){ msg1; mycallbackfunc2(e); } $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); } }); return false; }else if(etrue && vtrue){ //if customer agrees to continue msg1; } if(msgcart_first_order){ $.prompt(Please add items in your cart.); $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); return; } if(msgcart_first_order_loyalty){ $.prompt(Please add another item with your Loyalty Redemption Reward.); $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); return; } if(msg>0){ if($(#jqi_state0_buttonOk).length){ $(.free-item-popup button#jqi_state0_buttonOk).live(click, function(e){ window.location ?page+page+&order_time+order_time; }); }else{ window.location ?page+page+&order_time+order_time; } }else if(msg0){ $.prompt(Your order is less than the minimum order!); $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); }else{ $.prompt(Your order is currently empty!); $(#order-type-bt-pickup, #order-type-bt-delivery, #platina-order-type-bt-pickup, #platina-order-type-bt-delivery).prop(disabled, false); } }); } } function promo_code(xhr){ var promotional_code , promo_code_id $(#promtional-code); if(promo_code_id.length){ if(promo_code_id.hasClass(checked)){ return false; } promotional_code promo_code_id.val(); if(promotional_code.trim().length0){ ajaxResponse true; return false; } else{ promo_code_id.addClass(checked); } } else{ return false; } //-if has request if(xhr){ xhr.abort(); } //-promo code request xhr $.ajax({ type: GET, url: core/ajax/check_promotional_code.php, data: {promotional_code:promotional_code} }).done(function(msg){ if(msg){ var response_code msg.response_code; var promptMessage; /** v6 promocode lib returns this metadata for discounts */ if (msg.notification) { promptMessage msg.notification; } else { promptMessage msg.message; } $(#promo-modifier-modal .modal-header .message-container .promo-code-wrapper .promo-code-container).html(promotional_code.toUpperCase()); $(#promo-modifier-modal .modal-header .message-container .promo-code-redemption-label, #promo-modifier-modal .modal-body).css(display, none); $(#promo-modifier-modal .modal-body .modifier-wrapper).removeClass(promo-added).empty(); $(#promo-modifier-modal .modal-footer).removeClass(promo-added); $(#promo-modifier-modal .modal-footer .btn).removeClass(item-option).prop(disabled, false).removeData(optionIds).html(Ok); $j(#promo-modifier-modal .modal-footer spandata-toggletooltip).tooltip(disable); //-prompt error if(response_code ! 00){ ajaxResponse false; $(#promo-modifier-modal .modal-body).css(display, block); $(#promo-modifier-modal .modal-body .modifier-wrapper).addClass(promo-added).html(div styledisplay:flex; column-gap:5px; align-items:center;>i classfa-regular fa-circle-xmark>/i>span>+promptMessage+/span>/div>); $(#promo-modifier-modal .modal-footer).addClass(promo-added); $j(#promo-modifier-modal).modal(show); }else{ //-ajax has flag is_special if(msg.is_special 1){ deals_popup(msg); }else if(msg.is_itemoption){ promo_last_io_checked ; $(#promo-modifier-modal .modal-header .message-container).html(promptMessage); $(#promo-modifier-modal .modal-body).css(display, block); $(#promo-modifier-modal .modal-body .modifier-wrapper).html(msg.item_options); $(#promo-modifier-modal .modal-footer .btn).addClass(item-option).html(Add); if(msg.is_multiple){ if(msg.is_multiple_required){ $(#promo-modifier-modal .modal-footer .btn).prop(disabled, true); $j(#promo-modifier-modal .modal-footer spandata-toggletooltip).tooltip(enable); } } else{ var promo_selected_io; if($(#promo-modifier-modal .modal-body .modifier-wrapper .promo-item-option-radio-list:checked).length > 0){ promo_selected_io $(#promo-modifier-modal .modal-body .modifier-wrapper .promo-item-option-radio-list:checked).attr(ref); } else{ promo_selected_io $(#promo-modifier-modal .modal-body .modifier-wrapper .promo-item-option-radio-list:first).attr(ref); } $(#promo-modifier-modal .modal-footer .btn).data(option-ids, promo_selected_io); } $j(#promo-modifier-modal).modal(show); }else{ $(#view-basket).load(core/mybasket.php?page, function () { if ($(#discount_removal_notif).length 0) { $(#promo-modifier-modal .modal-body).css(display, block); $(#promo-modifier-modal .modal-body .modifier-wrapper).addClass(promo-added).html(div styledisplay:flex; column-gap:5px; align-items:center;>i classfa-regular fa-circle-check>/i>span>+promptMessage+/span>/div>); $(#promo-modifier-modal .modal-footer).addClass(promo-added); $j(#promo-modifier-modal).modal(show); } }); } } } promo_code_id.removeClass(checked).val(); }); return xhr; } function confirmCheckout(ordertype){ $.ajax({ type: POST, url: core/ajax/get_times.php, data: client_id943&ordertype+ordertype, success: function(msg){ $.prompt(msg,{ buttons:{ Cancel: false, Proceed: true }, submit: function(e,v){ if(e){ mycallbackfunc(true); } } }); } }); return false; } function confirmDisclaimerCheckout(){ $.prompt(Please check your final order as the store will not be held accountable for any customers mistake.,{ buttons:{ Cancel: false, Proceed: true }, submit: function(e,v){ if(e){ mycallbackfunc(true); } } }); return false; } function promptWithoutBeerCheckout2(){ $(.main-mask).css(z-index,998).addClass(active); $(.main-mask).css(display,block).addClass(active); $(.promptWithoutBeerCheckout).addClass(active); } //function to Update the Store Information Details function updateStoreDetails(mode) { if ($(#estimated-time #est-time).length) { $(.store-details-open).empty().append(span classstore-time-clock glyphicon glyphicon-time stylemargin-right:10px;>/span>Estimated + mode + ( + $(#est-time).text() + mins)); $(.store-details-open).show(); $(.store-details-close).hide(); } else { $(.store-details-open).hide(); $(.store-details-close).show(); var dataText $(#estimated-time .store_status).text(); if (dataText closed) { $(.store-status-details).html(p>Store is not open for orders right now./p>); } else if (dataText future_ordering) { $(.store-status-details).html(p>Store is closed today but you can place your order for a later date./p>); } else if (dataText preorder_waiting || dataText preordering) { if(mode Delivery && false){ $(.store-status-details).html(p>Delivery starts later but you can pre-order now./p>); }else{ $(.store-status-details).html(p stylemargin-right:10px;>Store is currently closed but you can still order for later./p>); } } else if (dataText closed_after_lunch) { $(.store-status-details).html(p>Store is currently closed. Please come back later./p>); } else if (dataText delivery_waiting) { $(.store-status-details).html(p>Delivery orders start later./p>); } else if (dataText delivery_ended) { $(.store-status-details).html(p>Delivery has finished for today./p>); } } } function mycallbackfunc(e,v,m,f){ if(e){ checkout(); } } function mycallbackfunc2(e,v,m,f){ if(e){ checkout(e,true); } } $(#submitcode).click(function () { ($(#smscode).val().length 0) ? $(#smscode).css(border-color, red) : $(#smscode).removeAttr(style) $.ajax({ type: POST, url: core/ajax/validatesmscode.php, data: $(#smscode).serialize(), success: function (result) { if (result verified) { checkout(); } else if(result verifiedguest){ window.location.href ?pagecheckout; } else if (result failed) { $(#smscode).css(border-color, red); alert(Code is invalid. Please check if the code is correct.); }else if (result expired) { $(#smscode).css(border-color, red); alert(Code has expired (code is valid only within 10 minutes).); } } }); }); $(#smscode).keypress(function (){ ($(#smscode).val().length >4)?$(#smscode).removeAttr(style):; })});/script>div idfloat-box classsidebar-offcanvas> div idmenu-title classfbTitle> Order Type a classnavbar-toggle fbClose data-toggleoffcanvas> span classglyphicon glyphicon-remove>/span> /a> /div>!-- #menu-title --> p idclose_show_cart classclose close-show-cart>×/p>div classalert alert-danger rolealert idoffline-alert-txt>Store is not open for orders right now.p>span classstore-time-clock glyphicon glyphicon-time>/span> span classstore-time-text>Open today/span> span>04:00pm - 08:00pm/span>/p>table classtrading-hours-table width100% aligncenter cellpadding2> tbody> tr > th>Mon/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Tue/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Wed/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Thu/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Fri/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Sat/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> tr > th>Sun/th> td> div classtrading-time>4:00pm to 8:00pm/div> /td> /tr> /tbody>/table>/div>!-- #offline-alert-txt -->input typehidden namestorestatus valueoffline />/div> /div>div styleclear:both>/div>div idscreen>/div>div idloading_bar>/div>/div>/div>!-- START OF FULL FOOTER --> !-- FRANCHISE TEMPLATE --> !-- Suburb List --> div idsuburb-container>/div> !-- Deals Section --> div classcol-md-12 iddeals-of-the-day> div classcontainer> div classsection-title>DEALS OF THE DAY/div> div classsection-content> div classcolumn col-md-8> div classdeals-content col-md-12> div classinner-content deal-1> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/img6.png altBurger Deal> div classfooter-deal-item-content> div classfooter-deal-item-title> Burger Deal /div> div classfooter-deal-item-description-container> div classfooter-deal-item-description> Itaque earum rerum tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores. /div> /div> button classbutton-rounded> BUY NOW /button> /div> /div> /div> div classdeals-content col-md-6> div classinner-content deal-2> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/img7.png altFree Drink Deal> div classfooter-deal-item-content> div classfooter-deal-item-title> Free Drink /div> div classfooter-deal-item-description-container> div classfooter-deal-item-description> Itaque earum rerum tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores. /div> /div> button classbutton-rounded> BUY NOW /button> /div> /div> /div> div classdeals-content col-md-6> div classinner-content deal-3> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/img8.png altChicken Deal> div classfooter-deal-item-content> div classfooter-deal-item-title> Chicken Deal /div> div classfooter-deal-item-description-container> div classfooter-deal-item-description> Itaque earum rerum tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores. /div> /div> button classbutton-rounded> BUY NOW /button> /div> /div> /div> /div> div classcolumn col-md-4> div classdeals-content col-md-12> div classinner-content deal-4> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/img9.png altBurger Fries Deal> div classfooter-deal-item-content> div classfooter-deal-item-title> Burger Fries Deal /div> div classfooter-deal-item-description-container> div classfooter-deal-item-description> Itaque earum rerum tenetur a sapiente delectus ut aut reiciendis voluptatibus maiores. /div> /div> button classbutton-rounded> BUY NOW /button> /div> /div> /div> /div> /div> /div> /div> !-- Download Menu --> div classcol-md-12 idour-menu> div classcontainer> div classsection-content> div classcolumn col-md-5> div classcol-md-12> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/menu1.png altClick the Download button to get a copy of our menu> /div> /div> div classcolumn col-md-7> div classsection-title>Grab a copy of our menu here./div> div classsection-content> p> Itaque earum rerum tenetur a sapiente delectus ut aut reiciendis maiores alias consequatur. /p> p> Quisque ac dolor nec nisl pellen tesque ulla mor. Ves tibulum sed per etamus. Ei erant pha edrum vis. Eut alii auta ea, tek sit timeam. /p> button classbutton-rounded>Download/button> /div> /div> /div> /div> /div> !-- Social Media: Instagram --> !-- Subscribe Form --> div classcol-md-12 idfooter-subscribe> div classcontainer stylewidth: 1220px;> div classsection-content> div classcolumn col-md-6 subscribe-text> span> LovePizza? Likedeals? Be the first to know about our newest menu items and latest offers. More food. Less money. /span> /div> div classcolumn col-md-6 subscribe-email> div classform-group col-md-8> input typeemail classform-control textbox-subscribe-email placeholderEnter Your Email Address> /div> div classform-group col-md-4> button classbtn-subscribe button-edged>Subscribe/button> /div> /div> /div> /div> /div> !-- About Us --> div classcol-md-12 idabout-us> div classcontainer> div classsection-content> div classcolumn > div classsection-title>About Us/div> div classabout-us-content> p> !-- about us platina -->div classd1> img srchttps://d2ova09jg8x3xk.cloudfront.net/karaleepizza.com.au/images/logo.png alt classa-logo> h2>About Us/h2> p classp1>The Home of Delicious Pizza, Pasta, and Ribs!/p> p classp2> Karalee Pizza is a family-owned takeaway business with over 20 years’ experience in the pizza industry. As a family, we have previously owned and operated over 10 other stores across Brisbane. /p> p classp2> We specialise in authentic-styled, thin-crust pizza made and prepared fresh in-store. We also offer a gluten-free option! /p> p classp2> All ingredients are bought and freshly prepared daily to ensure only the best quality. /p> p classp2> Our menu provides a range of options to suit the whole family, including pastas, BBQ pork ribs, chicken wings, salads & dessert calzone! /p>/div>!-- about us platina --> /p> /div> /div> /div> /div> /div> !-- Start of OOA-897: New Store Unavailable Status--> div idfooterOfflineAlert styledisplay:none;> p idfooterOfflineAlert-close classfooterOfflineAlert-close>×/p> h3 classfooterOfflineAlert-header>Store is not open for orders right now./h3> div classfooterOfflineAlert-timeInfo>span idfooterOfflineAlert-openToday classfooterOfflineAlert-time> svg xmlnshttp://www.w3.org/2000/svg width16 height16 fillcurrentColor classbi bi-circle-fill viewBox0 0 16 16>circle cx8 cy8 r8/>/svg> Open today from 04:00pm - 08:00pm/span>span idfooterOfflineAlert-delivery classfooterOfflineAlert-time> svg xmlnshttp://www.w3.org/2000/svg width16 height16 fillcurrentColor classbi bi-circle-fill viewBox0 0 16 16>circle cx8 cy8 r8/>/svg> Open for delivery from 04:00pm - 08:00pm /span>/div> div classprogress styleheight: 3px;> div idprogressbar class.progress-bar-purple progress-bar w-75 roleprogressbar aria-valuenow75 aria-valuemin0 aria-valuemax100>/div> /div> /div>!-- End of OOA-897: New Store Unavailable Status--> !-- END OF FULL FOOTER --> div classfooterWrap> button idftToggle class>span classglyphicon glyphicon-info-sign>/span>/button> div idfooter> div classcontainer> div classcol-md-12 idfooter-black> div classcol-md-3> div idfooter-images> div idp-type> img idp-master srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/mastercard.png> img idp-visa srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/visa.png> img idp-paypal srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/paypal.png> /div> span idsiteseal>script typetext/javascript srchttps://seal.godaddy.com/getSeal?sealIDadWUpnhKlbKz7BcrgjiUvfhL72FCKx967UWaFd0twSw0KCFBDSoMCeH>/script>/span> /div> /div> div classcol-md-3> div idfooter-text> p classfooter-h>Need a hand?/p> p>a href?pageterms>Terms and Conditions/a>/p> p>a href?pageprivacy>Privacy Policy/a>/p> p>a href?pagefeedback>Having any Problems?/a>/p> p>a href?pagefeedback>Feedback/a>/p> /div> /div> div classcol-md-3 style> div idfooter-contact> p classfooter-h>Contact Us/p> p>a hrefhttps://www.google.com/maps/search/?api1&query13a%2F39+Junction+Road%2C+Karalee%2C+QLD classaddress-link target_blank relnoopener>13a/39 Junction Road, Karalee, QLD/a>/p> p>a hreftel:0732021096 classphone-link>07 3202 1096/a>/p> /div> /div> div classcol-md-3> div idfooter-brand> a classfooter-localserves hrefhttps://localserves.com.au/ target_blank>img stylemargin-bottom:10px; srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/logo-localserves.png>/a> span>Powered by:/span> a hrefhttps://deliverit.com.au/ target_blank>img style width:140px !important; srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/logo-new.png>/a> /div> div idfooter-icons> div idfooter-social> a hrefhttps://www.facebook.com/karaleepizza/ target_blank>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/facebook.png>/a> a hrefhttps://www.instagram.com/karaleepizza/?hlen target_blank>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/insta.png>/a> /div> /div> /div> /div> div classcol-md-12> p idfooter-copyright>b>Karalee Pizza and Ribs/b> © Copyright 2026. All right Reserved. Powered By Deliverit Software/p> /div> /div> /div> div idfooter-new> div classnew_footer> div idfooter-new-text classcol-md-4> p idfooter-new-links> a href?pageterms>Terms and Conditions/a> • a href?pagefeedback>Feedback/a> /p> p idfooter-new-links> a href?pageprivacy>Policy/a> • a href?pagefeedback>Having Any Problems?/a> /p> /div> div idfooter-new-icons classcol-md-4> a hrefhttps://www.facebook.com/karaleepizza/ target_blank>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/facebook.png>/a> a hrefhttps://www.instagram.com/karaleepizza/?hlen target_blank>img srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/insta.png>/a> /div> div idfooter-new-brand classcol-md-4> a classfooter-localserves hrefhttps://localserves.com.au/ target_blank>img stylemargin-right:5px; srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/logo-localserves.png>/a> span>Powered by:/span> a hrefhttps://deliverit.com.au/ target_blank>img style width:80px !important; srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/img/new_footer/small/logo-new.png>/a> /div> /div> /div> /div> /div>/div>script srchttps://deliverit-online-resources-prd.s3.ap-southeast-2.amazonaws.com/templates/template4/js/scrollspy.js typetext/javascript>/script>script>$(document).ready(function(){ // WEB-723 Platina template footer overlap upon first load $(window).scroll(); // $(#login-wrap).fadeToggle(fast); });/script>div classpac-container pac-logo styledisplay: none;>/div>script typetext/javascript>window.NREUM||(NREUM{});NREUM.info{beacon:bam.nr-data.net,licenseKey:NRJS-3bd9f889cb1db7ee0cc,applicationID:589511629,transactionName:Z1cHNURYXRFVWxBaWl4dMBNfFloMUF0cHUVYQg,queueTime:0,applicationTime:791,atts:SxAEQwxCTh8,errorBeacon:bam.nr-data.net,agent:}/script>/body>/html>
Subdomains
Date
Domain
IP
orderonline.karaleepizza.com.au
2025-08-04
172.67.163.27
www.karaleepizza.com.au
2026-01-05
104.21.15.159
View on OTX
|
View on ThreatMiner
Please enable JavaScript to view the
comments powered by Disqus.
Data with thanks to
AlienVault OTX
,
VirusTotal
,
Malwr
and
others
. [
Sitemap
]