Help
RSS
API
Feed
Maltego
Contact
Domain > ridgeedidgecafe.com.au
×
More information on this domain is in
AlienVault OTX
Is this malicious?
Yes
No
DNS Resolutions
Date
IP Address
2019-06-03
52.62.2.255
(
ClassC
)
2020-04-12
13.237.56.95
(
ClassC
)
2021-09-11
13.237.187.42
(
ClassC
)
2026-02-16
172.67.205.241
(
ClassC
)
Port 80
HTTP/1.1 301 Moved PermanentlyDate: Mon, 16 Feb 2026 02:34:24 GMTContent-Type: text/htmlTransfer-Encoding: chunkedConnection: keep-aliveReport-To: {group:cf-nel,max_age:604800,endpoints:{url:https://a.nel.cloudflare.com/report/v4?szTWp%2BZFl2jeodbHX39DC%2FlWeH52defuFh0D0lbo8HTQiwPIrNb9YD28rNyc8mZgeA%2F2BcZYK9CFp20jt16caZCPsqYk5gz6toXKRJ69cMv0TOlFm}}location: https://ridgeedidgecafe.com.au/server: cloudflarevary: Accept-EncodingNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}cf-cache-status: DYNAMICCF-RAY: 9ce9a54c1f6e5ee4-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: Mon, 16 Feb 2026 02:34:25 GMTContent-Type: text/html; charsetUTF-8Transfer-Encoding: chunkedConnection: keep-alivex-powered-by: PHP/7.3.31Set-Cookie: PHPSESSIDef4c0885982cc916a0e0f5d85065ad0e; 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?sGZ9m%2FxvnZXXXakmXcajw%2F7VETbEImwFKtM6gcOdOGbSflxdQA%2FgFwxFidcYihYmSrfkSwFzPI%2FTBURZLmuimMZQ6oumPHsAOxACYxNjE4CDM4K8k}}vary: Accept-EncodingServer: cloudflarealt-svc: h3:443; ma86400cf-cache-status: DYNAMICNel: {report_to:cf-nel,success_fraction:0.0,max_age:604800}CF-RAY: 9ce9a54e6849fef7-PDX !DOCTYPE html>html langen>head> title>Ridgee Didge Cafe/title> meta charsetUTF-8> meta namedescription content> meta namekeywords contentRidge Didge, Ridge Didge Barcaldine, Ridge Didge Cafe, Ridge Didge Cafe Pickup, Ridge Didge Restaurants, Ridge Didge Burgers, Ridge Didge Coffee, Ridge Didge Menu, Ridgee Didge, Ridgee Didge Barcladine, Ridgee Didge Cafe, Ridgee Didge Cafe Barcaldine, Ridgee Didge Cafe Pickup, Barcladine Restaurants, Barcaldine Ridgee Didge, Barcaldine Pickup, Barcladine Menu, Barcladine Coffee, Barcaldine Burgers, Barcaldine Breakfast, Pickup Barcaldine /> meta nameauthor contentDeliverit Software>meta nameROBOTS CONTENTINDEX, FOLLOW>script typetext/javascript>var HTTP_URL https://ridgeedidgecafe.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 contentRidgee Didge Cafe /> meta propertyog:type contentwebsite /> meta propertyog:url contenthttp://ridgeedidgecafe.com.au /> meta propertyog:image contenthttps://d2ova09jg8x3xk.cloudfront.net/ridgeedidgecafe.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> link relcanonical hrefhttps://ridgeedidgecafe.com.au/> link relshortcut icon hrefhttps://d2ova09jg8x3xk.cloudfront.net/ridgeedidgecafe.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/ridgeedidgecafe.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/ridgeedidgecafe.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> !-- intl-tel-input --> script srchttps://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/js/intlTelInput.js>/script> !-- libphonenumber-js --> script srchttps://unpkg.com/libphonenumber-js/bundle/libphonenumber-max.js>/script> script> let phoneInt, phoneLoginInt null; $(document).ready(function () { const phoneInput document.getElementById(mobilenumber); if (phoneInput) { // Initialize intl-tel-input for UI & country dropdown phoneInt window.intlTelInput(phoneInput, { loadUtils: () > import(https://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/js/utils.js), onlyCountries: AU, initialCountry: AU, allowDropdown: false, autoPlaceholder: aggressive, placeholderNumberType: MOBILE, separateDialCode: true, strictMode: true, showFlags: true, useFullscreenPopup: false, }); } const loginPhoneInput document.getElementById(login-mobile); if (loginPhoneInput) { $j(#login-email).on(input, function () { let val $(this).val(); if (/^\d/.test(val)) { // starts with number → switch to phone $(this).hide(); val val.replace(/\D/g, ); // remove everything thats not a digit $(#login-mobile).show().val(val); // Initialize intlTelInput only when phone field is first shown if (!phoneLoginInt) { phoneLoginInt window.intlTelInput(loginPhoneInput, { loadUtils: () > import(https://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/js/utils.js), onlyCountries: AU, initialCountry: AU, allowDropdown: false, autoPlaceholder: aggressive, placeholderNumberType: MOBILE, separateDialCode: true, strictMode: true, showFlags: true, formatAsYouType: false, formatOnDisplay: false, useFullscreenPopup: false, }); } // Delay focus until phone is visible setTimeout(() > { $(#login-mobile).focus(); }, 10); } }); $j(#login-mobile).on(input, function () { let val $(this).val(); val val.replace(/\D/g, ); // remove everything thats not a digit $(this).val(val); if (!val) { // if empty, switch back to email $(this).val(); // Clear phone input // Destroy intlTelInput so flags disappear if (phoneLoginInt) { phoneLoginInt.destroy(); phoneLoginInt null; } // Switch back to email $(#login-mobile).hide(); $(#login-email).show().val().focus(); } }); } const loginPhoneOtpInput document.getElementById(login-phone); if (loginPhoneOtpInput) { // Initialize intl-tel-input for UI & country dropdown loginPhoneOtpInt window.intlTelInput(loginPhoneOtpInput, { loadUtils: () > import(https://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/js/utils.js), onlyCountries: AU, initialCountry: AU, allowDropdown: false, autoPlaceholder: aggressive, placeholderNumberType: MOBILE, separateDialCode: true, strictMode: true, showFlags: true, formatAsYouType: false, formatOnDisplay: false, useFullscreenPopup: false, }); } const registerPhoneInput document.getElementById(register-phone); if (registerPhoneInput) { // Initialize intl-tel-input for UI & country dropdown registerPhoneInt window.intlTelInput(registerPhoneInput, { loadUtils: () > import(https://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/js/utils.js), onlyCountries: AU, initialCountry: AU, allowDropdown: false, autoPlaceholder: aggressive, placeholderNumberType: MOBILE, separateDialCode: true, strictMode: true, showFlags: true, useFullscreenPopup: false, }); } }); /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://ridgeedidgecafe.com.au/api/getmenu.php, {client_id:657, 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 -->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 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, password_reset_email ; 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 registerPhoneInt.getNumber(); // always pass E.164 format_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; datawl 1; } return $.ajax({ type: POST, url: https://ridgeedidgecafe.com.au/core/ajax/check_customer.php, data: data, success: function(data){ data (typeof data string) ? JSON.parse(data) : 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, isRegister false){ let fullNumber, countryData; if (!isRegister) { fullNumber loginPhoneOtpInt.getNumber(); countryData loginPhoneOtpInt.getSelectedCountryData(); } else { fullNumber registerPhoneInt.getNumber(); countryData registerPhoneInt.getSelectedCountryData(); } const { parsePhoneNumberFromString } libphonenumber; const parsed parsePhoneNumberFromString( fullNumber, countryData.iso2.toUpperCase() ); if (!parsed || !parsed.isValid()) { return true; // not valid at all } // Only allow MOBILE return parsed.getType() ! MOBILE; } // Handles post signup/login completion actions: optional signup email, address update, and redirect logic function finalizeSignupFlow(loginBtn, loginResp , signupEmail, cartTotal) { if(loginBtn.data(login-type) undefined || loginBtn.data(login-type) ! guest){ sendSignupEmail(signupEmail); } if(window.login_referer checkout && cartTotal > 0){ if(loginResp && loginResp.address_err_msg ! undefined){ loginBtn.html(Continue).prop(disabled, false); $(#login-section .customer-details-card .create-account .account-third).hideElem(); update_address(loginResp); } else{ 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; window.location.reload(); } } function sendSignupEmail(signupEmail) { $.ajax({ type: POST, url: core/signup_email_msg.php, async: false, data: signupEmail, success: function(msg){} }); } 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(), true)){ _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_login_errors(){ // Destroy intlTelInput so flags disappear if (phoneLoginInt) { phoneLoginInt.destroy(); phoneLoginInt null; } $(#login-section .login-card #email-form #login-email, #login-section .login-card #email-form #login-pass).show().css(border, ).siblings(.field-message).removeClass(active).text(); $(#login-section .login-card #email-form #login-mobile).css(border, ).hide(); } 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 inputtypepassword, #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(); hide_login_errors(); $(#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 ; } }); $(#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 mobile $(#login-section .login-card #email-form #login-mobile); var password $(#login-section .login-card #email-form #login-pass); var login_detail (mobile.is(:visible)) ? mobile : email; $(#login-section .login-card .alert).removeClass(alert-success alert-danger).hideElem().text(); email.css(border, ).siblings(.field-message).removeClass(active).text(); mobile.css(border, ); password.css(border, ).next().removeClass(active).text(); if(!$.trim(login_detail.val()).length){ email.css(border, 1px solid #ea868f).siblings(.field-message).addClass(active).text(login_detail.attr(placeholder)); mobile.css(border, 1px solid #ea868f); error true; } if(!$.trim(password.val()).length){ password.css(border, 1px solid #ea868f).next().addClass(active).text(password.attr(placeholder)); error true; } var username; if (mobile.is(:visible)) { const fullNumber phoneLoginInt.getNumber(); const countryData phoneLoginInt.getSelectedCountryData(); const { parsePhoneNumberFromString } libphonenumber; const parsed parsePhoneNumberFromString( fullNumber, countryData.iso2.toUpperCase() ); if (!parsed || !parsed.isValid() || parsed.getType() ! MOBILE) { email.css(border, 1px solid #ea868f).siblings(.field-message).addClass(active).text(Invalid mobile phone number); mobile.css(border, 1px solid #ea868f); error true; // not valid at all } username fullNumber; // E.164 format } else { username login_detail.val(); } if(error){ return false; } _this.text(Logging in...).prop(disabled, true); login_detail.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://ridgeedidgecafe.com.au/core/ajax/login.php, data: { login_detail: username, pw: password.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.no_address){ update_address(obj); } else{ if(obj.response_code 00){ if(window.login_referer checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } else{ window.location.href ?pagebrowse + anchor; window.location.reload(); } } else{ _this.text(Login).prop(disabled, false); login_detail.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); login_detail.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).closest(.form-group).find(.field-message).addClass(active).text(Please enter your mobile number); return false; } var invalid_phone check_phone(phone.val()), phone_val loginPhoneOtpInt.getNumber(); // always pass E.164 format_this.val(); if(invalid_phone){ phone.css(border, 1px solid #ea868f).closest(.form-group).find(.field-message).addClass(active).text(Please enter a valid mobile 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://ridgeedidgecafe.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://ridgeedidgecafe.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 checkout){ window.location.href ?pagecheckout; triggerBeginCheckoutTracking(); } 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://ridgeedidgecafe.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://ridgeedidgecafe.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 new verification code has been sent).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, ).siblings(.field-message).removeClass(active).text(); if(!$.trim(email.val()).length || !isEmail(email.val())){ email.css(border, 1px solid #ea868f).siblings(.field-message).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://ridgeedidgecafe.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){ if(data.provider cognito) { password_reset_email email.val(); $(#login-section .password-reset-confirmation-card).showElem(); $(#login-section .password-reset-card).hideElem(); } else { $(#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); } email.val(); } else{ email.css(border, 1px solid #ea868f).siblings(.field-message).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 .password-reset-card #login-label).click(); $(#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 inputtypepassword, #login-section inputtypetel, #login-section .customer-details-card .password-wrapper inputtypepassword).val(); hide_login_errors(); } }); $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){ var phone_resp (rp && typeof rp0 string) ? JSON.parse(rp0) : rp0; var email_resp (re && typeof re0 string) ? JSON.parse(re0) : re0; if( typeof rp1 ! undefined && rp1 success && typeof phone_resp.isError && phone_resp.isError ! true && typeof re1 ! undefined && re1 success && typeof email_resp.isError && email_resp.isError ! true ){ if(typeof $(#login-section .customer-details-card #register-phone).data(registerwith) ! undefined){ $.ajax({ type: POST, url: https://ridgeedidgecafe.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 registerPhoneInt.getNumber(); // always pass E.164 format 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 ?? ; } var ajaxUrl https://ridgeedidgecafe.com.au/core/ajax/save_customer_details.php, cognitoRegister false; $.ajax({ type: POST, url: ajaxUrl, 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 (cognitoRegister) { $(#login-section .customer-details-card).hideElem(); $(#login-section .otp-card).showElem(); $(#login-section .otp-card .resend-code).addClass(disabled); $(#login-section .otp-card .login-modal-header).remove(); resend_countdown(login-section .otp-card .resend-code); $(#login-section .otp-card .otp-phone).html(resp.phone_number); } else{ finalizeSignupFlow(_this, resp, signup_email, cart_total); } } }); } 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/657/+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://ridgeedidgecafe.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://ridgeedidgecafe.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 new verification code has been sent).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(), true)){ _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://ridgeedidgecafe.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>link relstylesheet hrefhttps://cdn.jsdelivr.net/npm/intl-tel-input@latest/build/css/intlTelInput.css> 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 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/> input classform-control login typetext idlogin-mobile namelogin-mobile styledisplay:none;/> 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 1005448846529739; var m_appUrl https://ridgeedidgecafe.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 : 1005448846529739, channelUrl : //WWW./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); } 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://ridgeedidgecafe.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> /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>Ridgee Didge Cafe/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> !-- 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>Barcaldine/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 > div iddesktopSplide classsplide stylepadding:0;> div classsplide__arrows splide__arrows--ltr>/div> ul classsplide__pagination>/ul> div classsplide__track> ul classsplide__list> /ul> /div> /div> script> document.addEventListener(DOMContentLoaded, function () { function initializeSlider() { var screenWidth window.innerWidth; var sliderConfig; } initializeSlider(); }); /script> div classcontainer> div idlanding-content> div idlanding-logo> img srchttps://d2ova09jg8x3xk.cloudfront.net/ridgeedidgecafe.com.au/images/logo.png altRidgee Didge Cafe Logo> /div> div idlanding-form> div idtag-line>Best Dining Experiencebr>in Barcaldine/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>Ridgee Didge Cafe/h2> div classcol-md-3 col-md-offset-2> p idh-phone> span classglyphicon glyphicon-earphone>/span> a hreftel:46511931 classphone-link>4651 1931/a> /p> p idh-address> span classglyphicon glyphicon-map-marker>/span> a idstore-location hrefhttps://www.google.com/maps/search/?api1&query151+Oak+St%2C+Barcaldine+QLD+4725 classaddress-link target_blank relnoopener>151 Oak St, Barcaldine QLD 4725/a> /p> /div> div classcol-md-3> p classstore-info>strong>We are span classtext-danger>CLOSED/span> for today./strong>/p> /div> div classcol-md-3> /div> /div> /div> /div> /div>!-- END OF FULL HEADER --> input typehidden idclient_code valueRID01> input typehidden idorderTotal value> input typehidden idstoreName valueRidgee Didge Cafe> 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?q151+Oak+Street%2C+Barcaldine%2C+QLD&t&z14&ieUTF8&iwloc&outputembed frameborder0 scrollingno marginheight0 marginwidth0>/iframe>/div>/div> div idmodal-info> h3 idmodal-store>b>span>Ridgee Didge Cafe/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&query151+Oak+St%2C+Barcaldine+QLD+4725 target_blank relnoopener>151 Oak Street, Barcaldine, QLD/a> /p> p idh-phone> span classglyphicon glyphicon-earphone>/span> a hreftel:46511931>4651 1931/a> /p> /div> div classcol-md-3 map-time styletext-align: right;> p classstore-info>strong>We are span classtext-danger>CLOSED/span> for today./strong>/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 classmodal modal-popup fade idmenu-items-disabled-modal tabindex-1 roledialog aria-labelledbymenu-items-disabled-modalLabel> div classmodal-dialog modal-dialog-popup roledocument> div classmodal-content> div classmodal-body> div classmenu-items-disabled-message> div classicon-warning> i classfa-solid fa-exclamation>/i> /div> div classdisable-message-text>/div> div classdisabled-items-list>/div> /div> div> button typebutton classbtn btn-primary data-dismissmodal aria-labelClose>Okay/button> /div> /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-16123 first>a href#something-early-or-all-day-block classmenu-16123 first>Something Early or All Day/a>/li>li classmenu-69519>a href#ridgee-didge-classics-block classmenu-69519>Ridgee Didge Classics/a>/li>li classmenu-69522>a href#spuds-on-the-run-block classmenu-69522>Spuds on the Run/a>/li>li classmenu-69523>a href#ridgee-kids-block classmenu-69523>Ridgee Kids/a>/li>li classmenu-69524>a href#cabinet-selections-block classmenu-69524>Cabinet Selections/a>/li>li classmenu-69525>a href#freshly-made-sangaswraps-block classmenu-69525>Freshly made Sangas/Wraps/a>/li>li classmenu-16126>a href#drinks---hot-to-trot-block classmenu-16126>Drinks - Hot to Trot/a>/li>li classmenu-69928>a href#coffee-extras-block classmenu-69928>Coffee Extras/a>/li>li classmenu-69526>a href#drinks---ridgee-refreshers-block classmenu-69526>Drinks - Ridgee Refreshers/a>/li>li classmenu-16125>a href#drinks-block classmenu-16125>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: 657, 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/ridgeedidgecafe.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/ridgeedidgecafe.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-16123 idsomething-early-or-all-day-block style> h1>Something Early or All Day/h1> div idmenu_items data-menuid16123> div idmenu-desc-header>div classalert alert-danger something-early-or-all-day-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 idsomething-early-or-all-day> li idSourdoughRasinToast_2528040_16123 style classsingle data-track-itemstrue data-pluBR01 data-item-nameSourdough Rasin Toast data-item-categorySomething Early or All Day data-price6.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;>Sourdough Rasin Toast/div>div classitem-price>span classdollar-sign>$/span>6.50/div>/div>div classclear>/div>div classitem-description>with butter and jam/div>div iditem-buttons> select nameqty idBR01-qty refBR01 classqty-select qty form-control>/select> input typehidden value6.5 idBR01-price />select classitem-options form-control styledisplay:none; idBR01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR01 refBR01/>/div>/div>/li>li idBrekkyMuffin_2528041_16123 style classsingle data-track-itemstrue data-pluBR02 data-item-nameBrekky Muffin data-item-categorySomething Early or All Day data-price8.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;>Brekky Muffin/div>div classitem-price>span classdollar-sign>$/span>8.50/div>/div>div classclear>/div>div classitem-description>Bacon, Egg, Cheese on toasted Muffin with hash brown /div>div iditem-buttons> select nameqty idBR02-qty refBR02 classqty-select qty form-control>/select> input typehidden value8.5 idBR02-price />select classitem-options form-control styledisplay:none; idBR02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR02 refBR02/>/div>/div>/li>li idPoppysPancakes_2528042_16123 style classsingle data-track-itemstrue data-pluBR03 data-item-namePoppys Pancakes data-item-categorySomething Early or All Day 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;>Poppys Pancakes/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>with mixed berries, ice cream and cream/div>div iditem-buttons> select nameqty idBR03-qty refBR03 classqty-select qty form-control>/select> input typehidden value16 idBR03-price />select classitem-options form-control styledisplay:none; idBR03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR03 refBR03/>/div>/div>/li>li idYolksonOak_2528043_16123 style classsingle data-track-itemstrue data-pluBR04 data-item-nameYolks on Oak data-item-categorySomething Early or All Day 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;>Yolks on Oak/div>div classitem-price>span classdollar-sign>$/span>18/div>/div>div classclear>/div>div classitem-description>3 EGGS- scrambled/fried/poached on Sourdough, Grilled Tomato & Spinach/div>div iditem-buttons> select nameqty idBR04-qty refBR04 classqty-select qty form-control>/select> input typehidden value18 idBR04-price />select classitem-options form-control styledisplay:none; idBR04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR04 refBR04/>/div>/div>/li>li idBaconandYolksonOak_2528044_16123 style classsingle data-track-itemstrue data-pluBR05 data-item-nameBacon and Yolks on Oak data-item-categorySomething Early or All Day 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;>Bacon and Yolks on Oak/div>div classitem-price>span classdollar-sign>$/span>20/div>/div>div classclear>/div>div classitem-description>2 EGGS- scrambled/fried/poached on Sourdough, Grilled Tomato & Spinach/div>div iditem-buttons> select nameqty idBR05-qty refBR05 classqty-select qty form-control>/select> input typehidden value20 idBR05-price />select classitem-options form-control styledisplay:none; idBR05-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR05 refBR05/>/div>/div>/li>li idBarcyEggsandBenny_2528045_16123 style classsingle data-track-itemstrue data-pluBR06 data-item-nameBarcy Eggs and Benny data-item-categorySomething Early or All Day 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;>Barcy Eggs and Benny/div>div classitem-price>span classdollar-sign>$/span>20/div>/div>div classclear>/div>div classitem-description>bacon / ham, spinach, 2 EGGS- poached on Sourdough & hollandaise sauce /div>div iditem-buttons> select nameqty idBR06-qty refBR06 classqty-select qty form-control>/select> input typehidden value20 idBR06-price />select classitem-options form-control styledisplay:none; idBR06-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR06 refBR06/>/div>/div>/li>li idOlDaveysSpecial_2528046_16123 style classsingle data-track-itemstrue data-pluBR07 data-item-nameOl Daveys Special data-item-categorySomething Early or All Day data-price22 >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;>Ol Daveys Special/div>div classitem-price>span classdollar-sign>$/span>22/div>/div>div classclear>/div>div classitem-description>Ham off the bone, fried eggs, tomato, hash brown on Sourdough /div>div iditem-buttons> select nameqty idBR07-qty refBR07 classqty-select qty form-control>/select> input typehidden value22 idBR07-price />select classitem-options form-control styledisplay:none; idBR07-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR07 refBR07/>/div>/div>/li>li idBarcyBigBrekkie_2528047_16123 style classsingle data-track-itemstrue data-pluBR08 data-item-nameBarcy Big Brekkie data-item-categorySomething Early or All Day 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;>Barcy Big Brekkie/div>div classitem-price>span classdollar-sign>$/span>24/div>/div>div classclear>/div>div classitem-description>Bacon, sausage, hash brown, tomato, mushrooms, and fried eggs on Sourdough/div>div iditem-buttons> select nameqty idBR08-qty refBR08 classqty-select qty form-control>/select> input typehidden value24 idBR08-price />select classitem-options form-control styledisplay:none; idBR08-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BR08 refBR08/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69519 idridgee-didge-classics-block style> h1>Ridgee Didge Classics/h1> div idmenu_items data-menuid69519> div idmenu-desc-header>div classalert alert-danger ridgee-didge-classics-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 idridgee-didge-classics> li idBaconandEggonTurkish_2528048_69519 style classsingle data-track-itemstrue data-pluBGR01 data-item-nameBacon and Egg on Turkish data-item-categoryRidgee Didge Classics data-price10.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;>Bacon and Egg on Turkish/div>div classitem-price>span classdollar-sign>$/span>10.50/div>/div>div classclear>/div>div classitem-description>Bacon, fried egg, BBQ /Tom sauce on Turkish /div>div iditem-buttons> select nameqty idBGR01-qty refBGR01 classqty-select qty form-control>/select> input typehidden value10.5 idBGR01-price />select classitem-options form-control styledisplay:none; idBGR01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR01 refBGR01/>/div>/div>/li>li idBarcyBLT_2528049_69519 style classsingle data-track-itemstrue data-pluBGR02 data-item-nameBarcy BLT data-item-categoryRidgee Didge Classics data-price10.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;>Barcy BLT/div>div classitem-price>span classdollar-sign>$/span>10.50/div>/div>div classclear>/div>div classitem-description>Bacon, Lettuce, fresh Tomato BBQ /Tom / Aioli sauce on Turkish/div>div iditem-buttons> select nameqty idBGR02-qty refBGR02 classqty-select qty form-control>/select> input typehidden value10.5 idBGR02-price />select classitem-options form-control styledisplay:none; idBGR02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR02 refBGR02/>/div>/div>/li>li idBarcyBurger_2528050_69519 style classsingle data-track-itemstrue data-pluBGR03 data-item-nameBarcy Burger data-item-categoryRidgee Didge Classics 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;>Barcy Burger/div>div classitem-price>span classdollar-sign>$/span>12/div>/div>div classclear>/div>div classitem-description>Beef or Chicken, Lettuce, Tomato, Beetroot, Carrot & Caramelised Onion /div>div iditem-buttons> select nameqty idBGR03-qty refBGR03 classqty-select qty form-control>/select> input typehidden value12 idBGR03-price />select classitem-options form-control styledisplay:none; idBGR03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR03 refBGR03/>/div>/div>/li>li idWillowWorksBurger_2528051_69519 style classsingle data-track-itemstrue data-pluBGR04 data-item-nameWillow Works Burger data-item-categoryRidgee Didge Classics data-price14 >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;>Willow Works Burger/div>div classitem-price>span classdollar-sign>$/span>14/div>/div>div classclear>/div>div classitem-description>Beef or Chicken, Bacon, Egg, Lettuce, Cheese, Tomato, Beetroot, Carrot & caramelised onion /div>div iditem-buttons> select nameqty idBGR04-qty refBGR04 classqty-select qty form-control>/select> input typehidden value14 idBGR04-price />select classitem-options form-control styledisplay:none; idBGR04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR04 refBGR04/>/div>/div>/li>li idChesterChickenBurger_2528052_69519 style classsingle data-track-itemstrue data-pluBGR05 data-item-nameChester Chicken Burger data-item-categoryRidgee Didge Classics data-price15 >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;>Chester Chicken Burger/div>div classitem-price>span classdollar-sign>$/span>15/div>/div>div classclear>/div>div classitem-description>Crumbed chicken fillet, Salad, Cheese, Mayo on Turkish /div>div iditem-buttons> select nameqty idBGR05-qty refBGR05 classqty-select qty form-control>/select> input typehidden value15 idBGR05-price />select classitem-options form-control styledisplay:none; idBGR05-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR05 refBGR05/>/div>/div>/li>li idSteakSanga_2528053_69519 style classsingle data-track-itemstrue data-pluBGR06 data-item-nameSteak Sanga data-item-categoryRidgee Didge Classics data-price15 >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;>Steak Sanga/div>div classitem-price>span classdollar-sign>$/span>15/div>/div>div classclear>/div>div classitem-description>Rib fillet, salad, caramelised onion, BBQ /Tom sauce on Turkish/div>div iditem-buttons> select nameqty idBGR06-qty refBGR06 classqty-select qty form-control>/select> input typehidden value15 idBGR06-price />select classitem-options form-control styledisplay:none; idBGR06-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR06 refBGR06/>/div>/div>/li>li idBarcyBeefandBeanNachos_2528054_69519 style classsingle data-track-itemstrue data-pluBGR07 data-item-nameBarcy Beef and Bean Nachos data-item-categoryRidgee Didge Classics 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;>Barcy Beef and Bean Nachos/div>div classitem-price>span classdollar-sign>$/span>18/div>/div>div classclear>/div>div classitem-description>Tortilla crisps, beans, beef, cheese, sour cream, and tomato salsa/div>div iditem-buttons> select nameqty idBGR07-qty refBGR07 classqty-select qty form-control>/select> input typehidden value18 idBGR07-price />select classitem-options form-control styledisplay:none; idBGR07-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR07 refBGR07/>/div>/div>/li>li idFishandChips_2528055_69519 style classsingle data-track-itemstrue data-pluBGR08 data-item-nameFish and Chips data-item-categoryRidgee Didge Classics 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;>Fish and Chips/div>div classitem-price>span classdollar-sign>$/span>18/div>/div>div classclear>/div>div classitem-description>Crumbed / Battered fish, your choice of one salad of the day & chips /div>div iditem-buttons> select nameqty idBGR08-qty refBGR08 classqty-select qty form-control>/select> input typehidden value18 idBGR08-price />select classitem-options form-control styledisplay:none; idBGR08-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR08 refBGR08/>/div>/div>/li>li idGlutenFreeBurger_2528056_69519 style classsingle data-track-itemstrue data-pluBGR09 data-item-nameGluten Free Burger data-item-categoryRidgee Didge Classics data-price14 >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;>Gluten Free Burger/div>div classitem-price>span classdollar-sign>$/span>14/div>/div>div classclear>/div>div classitem-description>(GF) Crumbed Chicken, Tomato, Salad, Carrot on (GF) Bread/div>div iditem-buttons> select nameqty idBGR09-qty refBGR09 classqty-select qty form-control>/select> input typehidden value14 idBGR09-price />select classitem-options form-control styledisplay:none; idBGR09-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR09 refBGR09/>/div>/div>/li>li idRoastoftheDay_2528057_69519 style classsingle data-track-itemstrue data-pluBGR10 data-item-nameRoast of the Day data-item-categoryRidgee Didge Classics 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;>Roast of the Day/div>div classitem-price>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>Served with salads and chips/div>div iditem-buttons> select nameqty idBGR10-qty refBGR10 classqty-select qty form-control>/select> input typehidden value16 idBGR10-price />select classitem-options form-control styledisplay:none; idBGR10-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-BGR10 refBGR10/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69522 idspuds-on-the-run-block style> h1>Spuds on the Run/h1> div idmenu_items data-menuid69522> div idmenu-desc-header>div classalert alert-danger spuds-on-the-run-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 idspuds-on-the-run> li idHotChips_2528058_69522 style classsingle data-track-itemstrue data-pluSID01 data-item-nameHot Chips data-item-categorySpuds on the Run data-price8.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;>Hot Chips/div>div classitem-price pt-0>span classdollar-sign>$/span>8.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 value8.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 idHotSweetPotatochips_2528059_69522 style classsingle data-track-itemstrue data-pluSID02 data-item-nameHot Sweet Potato chips data-item-categorySpuds on the Run data-price9.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;>Hot Sweet Potato chips/div>div classitem-price pt-0>span classdollar-sign>$/span>9.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID02-qty refSID02 classqty-select qty form-control>/select> input typehidden value9.5 idSID02-price />select classitem-options form-control styledisplay:none; idSID02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID02 refSID02/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69523 idridgee-kids-block style> h1>Ridgee Kids/h1> div idmenu_items data-menuid69523> div idmenu-desc-header>div classalert alert-danger ridgee-kids-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 idridgee-kids> li idSmallHotChips_2528061_69523 style classsingle data-track-itemstrue data-pluSID04 data-item-nameSmall Hot Chips data-item-categoryRidgee Kids data-price6.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;>Small Hot Chips/div>div classitem-price pt-0>span classdollar-sign>$/span>6.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID04-qty refSID04 classqty-select qty form-control>/select> input typehidden value6.5 idSID04-price />select classitem-options form-control styledisplay:none; idSID04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID04 refSID04/>/div>/div>/li>li idChickenNuggetsandChips_2528062_69523 style classsingle data-track-itemstrue data-pluSID05 data-item-nameChicken Nuggets and Chips data-item-categoryRidgee Kids data-price8.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;>Chicken Nuggets and Chips/div>div classitem-price pt-0>span classdollar-sign>$/span>8.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID05-qty refSID05 classqty-select qty form-control>/select> input typehidden value8.5 idSID05-price />select classitem-options form-control styledisplay:none; idSID05-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID05 refSID05/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69524 idcabinet-selections-block style> h1>Cabinet Selections/h1> div idmenu_items data-menuid69524> div idmenu-desc-header>div classalert alert-danger cabinet-selections-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 idcabinet-selections> li idHomestyleBeefLasagneandChoiceofSalad_2528063_69524 style classsingle data-track-itemstrue data-pluSID06 data-item-nameHomestyle Beef Lasagne and Choice of Salad data-item-categoryCabinet Selections 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;>Homestyle Beef Lasagne and Choice of Salad/div>div classitem-price pt-0>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID06-qty refSID06 classqty-select qty form-control>/select> input typehidden value16 idSID06-price />select classitem-options form-control styledisplay:none; idSID06-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID06 refSID06/>/div>/div>/li>li idQuicheLorraineandChoiceofoneSalad_2528064_69524 style classsingle data-track-itemstrue data-pluSID07 data-item-nameQuiche Lorraine and Choice of one Salad data-item-categoryCabinet Selections 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;>Quiche Lorraine and Choice of one Salad/div>div classitem-price pt-0>span classdollar-sign>$/span>16/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID07-qty refSID07 classqty-select qty form-control>/select> input typehidden value16 idSID07-price />select classitem-options form-control styledisplay:none; idSID07-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID07 refSID07/>/div>/div>/li>li idMealsizebowlofSaladchoices_2528065_69524 style classsingle data-track-itemstrue data-pluSID08 data-item-nameMeal size bowl of Salad choices data-item-categoryCabinet Selections 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;>Meal size bowl of Salad choices/div>div classitem-price pt-0>span classdollar-sign>$/span>12/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID08-qty refSID08 classqty-select qty form-control>/select> input typehidden value12 idSID08-price />select classitem-options form-control styledisplay:none; idSID08-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID08 refSID08/>/div>/div>/li>li idCakesandDesserts_2528066_69524 style classsingle data-track-itemstrue data-pluSID09 data-item-nameCakes and Desserts data-item-categoryCabinet Selections data-price6 >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;>Cakes and Desserts/div>div classitem-price pt-0>span classdollar-sign>$/span>6/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID09-qty refSID09 classqty-select qty form-control>/select> input typehidden value6 idSID09-price />select classitem-options form-control styledisplay:none; idSID09-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID09 refSID09/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69525 idfreshly-made-sangaswraps-block style> h1>Freshly made Sangas/Wraps/h1> div idmenu_items data-menuid69525> div idmenu-desc-header>div classalert alert-danger freshly-made-sangaswraps-block-active-time hide-menu-active-times styledisplay:none; data-from0 data-till0>Available only during 10:00 am - 10:00 am /div>YOUR CHOICE: Mixed salad leaves, Spanish Onion, tomato, carrot, cucumber, cheeseCold Meats: Ham off the bone, Corned Beef, Chicken, Roast of the day/div> ul idfreshly-made-sangas/wraps> li idOnPlainBread_2528067_69525 style classsingle data-track-itemstrue data-pluSID10 data-item-nameOn Plain Bread data-item-categoryFreshly made Sangas/Wraps data-price7.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;>On Plain Bread/div>div classitem-price pt-0>span classdollar-sign>$/span>7.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID10-qty refSID10 classqty-select qty form-control>/select> input typehidden value7.5 idSID10-price />select classitem-options form-control styledisplay:none; idSID10-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID10 refSID10/>/div>/div>/li>li idOnPlainBreadToasted_2528068_69525 style classsingle data-track-itemstrue data-pluSID11 data-item-nameOn Plain Bread Toasted data-item-categoryFreshly made Sangas/Wraps data-price8.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;>On Plain Bread Toasted/div>div classitem-price pt-0>span classdollar-sign>$/span>8.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID11-qty refSID11 classqty-select qty form-control>/select> input typehidden value8.5 idSID11-price />select classitem-options form-control styledisplay:none; idSID11-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID11 refSID11/>/div>/div>/li>li idOnTurkishWrapToasted_2528069_69525 style classsingle data-track-itemstrue data-pluSID12 data-item-nameOn Turkish Wrap Toasted data-item-categoryFreshly made Sangas/Wraps data-price9.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;>On Turkish Wrap Toasted/div>div classitem-price pt-0>span classdollar-sign>$/span>9.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idSID12-qty refSID12 classqty-select qty form-control>/select> input typehidden value9.5 idSID12-price />select classitem-options form-control styledisplay:none; idSID12-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-SID12 refSID12/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-16126 iddrinks---hot-to-trot-block style> h1>Drinks - Hot to Trot/h1> div idmenu_items data-menuid16126> div idmenu-desc-header>div classalert alert-danger drinks---hot-to-trot-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---hot-to-trot> li idPotofteafor_2528073_16126 style classsingle data-track-itemstrue data-pluDR04 data-item-namePot of tea for 1 data-item-categoryDrinks - Hot to Trot data-price4 >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;>Pot of tea for 1/div>div classitem-price pt-0>span classdollar-sign>$/span>4/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 value4 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>li idPotofteafor_2528074_16126 style classsingle data-track-itemstrue data-pluDR05 data-item-namePot of tea for 2 data-item-categoryDrinks - Hot to Trot data-price5 >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;>Pot of tea for 2/div>div classitem-price pt-0>span classdollar-sign>$/span>5/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR05-qty refDR05 classqty-select qty form-control>/select> input typehidden value5 idDR05-price />select classitem-options form-control styledisplay:none; idDR05-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR05 refDR05/>/div>/div>/li>li idREGCoffee_2528070_16126 style classsingle data-track-itemstrue data-pluDR01 data-item-nameREG Coffee data-item-categoryDrinks - Hot to Trot data-price4 >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;>REG Coffee/div>div classitem-price pt-0>span classdollar-sign>$/span>4/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-DR01-16126 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;>REG Coffee/h4> div classmodal-title item-description-popup stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;>div styledisplay:none; classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-DR01 class radio-button-popup menu-option-radio-list valueDR01 price4 refDR01 idDR01 pluDR01 checkedchecked> label forDR01 classactive input-group-label stylefont-weight: normal; >span idpopup-price>$4/span>img classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classmenu-item-option> div classmenu-item-option idmenu-DR01 refDR01>/div>/div>div classitem-option-radio item-option-only row>p stylecolor:black; font-size:15px; font-weight:600;width:100%>Coffee/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87416 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87416 checked> label foritem-option-DR01-16126-87416 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>Turmericimg 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; ref87415 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87415 > label foritem-option-DR01-16126-87415 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>Hot Chocolateimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87414 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87414 > label foritem-option-DR01-16126-87414 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>Chaiimg src 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; ref87413 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87413 > label foritem-option-DR01-16126-87413 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>Cappucinoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87412 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87412 > label foritem-option-DR01-16126-87412 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>Piccoloimg src 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; ref87411 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87411 > label foritem-option-DR01-16126-87411 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>Macchiatoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87410 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87410 > label foritem-option-DR01-16126-87410 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>Iced Latteimg src 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; ref87409 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87409 > label foritem-option-DR01-16126-87409 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>Mochaimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87408 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87408 > label foritem-option-DR01-16126-87408 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>Long Blackimg src 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; ref87407 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87407 > label foritem-option-DR01-16126-87407 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>Flat Whiteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87406 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87406 > label foritem-option-DR01-16126-87406 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>Espressoimg src 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; ref87405 nameitem-option-radio-DR01 classitem-option-radio-list value0 iditem-option-DR01-16126-87405 > label foritem-option-DR01-16126-87405 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>Latteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons stylewidth:100%> div classcol-md-3 stylepadding: 0;>div classqty-selection>button classbtn qty-btn-popup qty-btn-popup-minus ref-group-idDR01>i classglyphicon glyphicon-minus>/i>/button> label idqty-DR01 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-idDR01>i classglyphicon glyphicon-plus>/i>/button>/div>/div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton nameAdd valueAdd data-dismissmodal classadd-button idDR01 refDR01 price4 /> /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-DR01-16126 idDR01 menu-id16126 refDR01 /> input typehidden value4 idDR01-price /> /div>/div>/div>/li>li idMEDCoffee_2528071_16126 style classsingle data-track-itemstrue data-pluDR02 data-item-nameMED Coffee data-item-categoryDrinks - Hot to Trot data-price5 >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;>MED Coffee/div>div classitem-price pt-0>span classdollar-sign>$/span>5/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-DR02-16126 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;>MED Coffee/h4> div classmodal-title item-description-popup stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;>div styledisplay:none; classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-DR02 class radio-button-popup menu-option-radio-list valueDR02 price5 refDR02 idDR02 pluDR02 checkedchecked> label forDR02 classactive input-group-label stylefont-weight: normal; >span idpopup-price>$5/span>img classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classmenu-item-option> div classmenu-item-option idmenu-DR02 refDR02>/div>/div>div classitem-option-radio item-option-only row>p stylecolor:black; font-size:15px; font-weight:600;width:100%>Coffee/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87416 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87416 checked> label foritem-option-DR02-16126-87416 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>Turmericimg 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; ref87415 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87415 > label foritem-option-DR02-16126-87415 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>Hot Chocolateimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87414 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87414 > label foritem-option-DR02-16126-87414 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>Chaiimg src 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; ref87413 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87413 > label foritem-option-DR02-16126-87413 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>Cappucinoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87412 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87412 > label foritem-option-DR02-16126-87412 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>Piccoloimg src 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; ref87411 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87411 > label foritem-option-DR02-16126-87411 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>Macchiatoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87410 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87410 > label foritem-option-DR02-16126-87410 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>Iced Latteimg src 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; ref87409 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87409 > label foritem-option-DR02-16126-87409 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>Mochaimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87408 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87408 > label foritem-option-DR02-16126-87408 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>Long Blackimg src 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; ref87407 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87407 > label foritem-option-DR02-16126-87407 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>Flat Whiteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87406 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87406 > label foritem-option-DR02-16126-87406 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>Espressoimg src 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; ref87405 nameitem-option-radio-DR02 classitem-option-radio-list value0 iditem-option-DR02-16126-87405 > label foritem-option-DR02-16126-87405 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>Latteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons stylewidth:100%> div classcol-md-3 stylepadding: 0;>div classqty-selection>button classbtn qty-btn-popup qty-btn-popup-minus ref-group-idDR02>i classglyphicon glyphicon-minus>/i>/button> label idqty-DR02 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-idDR02>i classglyphicon glyphicon-plus>/i>/button>/div>/div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton nameAdd valueAdd data-dismissmodal classadd-button idDR02 refDR02 price5 /> /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-DR02-16126 idDR02 menu-id16126 refDR02 /> input typehidden value5 idDR02-price /> /div>/div>/div>/li>li idLRGCoffee_2528072_16126 style classsingle data-track-itemstrue data-pluDR03 data-item-nameLRG Coffee data-item-categoryDrinks - Hot to Trot data-price6 >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;>LRG Coffee/div>div classitem-price pt-0>span classdollar-sign>$/span>6/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-DR03-16126 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;>LRG Coffee/h4> div classmodal-title item-description-popup stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;>div styledisplay:none; classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-DR03 class radio-button-popup menu-option-radio-list valueDR03 price6 refDR03 idDR03 pluDR03 checkedchecked> label forDR03 classactive input-group-label stylefont-weight: normal; >span idpopup-price>$6/span>img classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classmenu-item-option> div classmenu-item-option idmenu-DR03 refDR03>/div>/div>div classitem-option-radio item-option-only row>p stylecolor:black; font-size:15px; font-weight:600;width:100%>Coffee/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87416 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87416 checked> label foritem-option-DR03-16126-87416 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>Turmericimg 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; ref87415 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87415 > label foritem-option-DR03-16126-87415 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>Hot Chocolateimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87414 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87414 > label foritem-option-DR03-16126-87414 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>Chaiimg src 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; ref87413 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87413 > label foritem-option-DR03-16126-87413 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>Cappucinoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87412 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87412 > label foritem-option-DR03-16126-87412 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>Piccoloimg src 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; ref87411 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87411 > label foritem-option-DR03-16126-87411 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>Macchiatoimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87410 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87410 > label foritem-option-DR03-16126-87410 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>Iced Latteimg src 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; ref87409 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87409 > label foritem-option-DR03-16126-87409 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>Mochaimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87408 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87408 > label foritem-option-DR03-16126-87408 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>Long Blackimg src 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; ref87407 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87407 > label foritem-option-DR03-16126-87407 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>Flat Whiteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87406 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87406 > label foritem-option-DR03-16126-87406 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>Espressoimg src 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; ref87405 nameitem-option-radio-DR03 classitem-option-radio-list value0 iditem-option-DR03-16126-87405 > label foritem-option-DR03-16126-87405 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>Latteimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons stylewidth:100%> div classcol-md-3 stylepadding: 0;>div classqty-selection>button classbtn qty-btn-popup qty-btn-popup-minus ref-group-idDR03>i classglyphicon glyphicon-minus>/i>/button> label idqty-DR03 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-idDR03>i classglyphicon glyphicon-plus>/i>/button>/div>/div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton nameAdd valueAdd data-dismissmodal classadd-button idDR03 refDR03 price6 /> /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-DR03-16126 idDR03 menu-id16126 refDR03 /> input typehidden value6 idDR03-price /> /div>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69928 idcoffee-extras-block style> h1>Coffee Extras/h1> div idmenu_items data-menuid69928> div idmenu-desc-header>div classalert alert-danger coffee-extras-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 idcoffee-extras> li idExtraShoT_2528097_69928 style classsingle data-track-itemstrue data-pluEXT01 data-item-nameExtra ShoT data-item-categoryCoffee Extras data-price0.80 >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;>Extra ShoT/div>div classitem-price pt-0>span classdollar-sign>$/span>0.80/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idEXT01-qty refEXT01 classqty-select qty form-control>/select> input typehidden value0.8 idEXT01-price />select classitem-options form-control styledisplay:none; idEXT01-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-EXT01 refEXT01/>/div>/div>/li>li idSOYMILK_2528098_69928 style classsingle data-track-itemstrue data-pluEXT02 data-item-nameSOY MILK data-item-categoryCoffee Extras data-price0.75 >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;>SOY MILK/div>div classitem-price pt-0>span classdollar-sign>$/span>0.75/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idEXT02-qty refEXT02 classqty-select qty form-control>/select> input typehidden value0.75 idEXT02-price />select classitem-options form-control styledisplay:none; idEXT02-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-EXT02 refEXT02/>/div>/div>/li>li idALMONDMILK_2528099_69928 style classsingle data-track-itemstrue data-pluEXT03 data-item-nameALMOND MILK data-item-categoryCoffee Extras data-price0.75 >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;>ALMOND MILK/div>div classitem-price pt-0>span classdollar-sign>$/span>0.75/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idEXT03-qty refEXT03 classqty-select qty form-control>/select> input typehidden value0.75 idEXT03-price />select classitem-options form-control styledisplay:none; idEXT03-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-EXT03 refEXT03/>/div>/div>/li>li idZYMILMILK_2528100_69928 style classsingle data-track-itemstrue data-pluEXT04 data-item-nameZYMIL MILK data-item-categoryCoffee Extras data-price0.75 >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;>ZYMIL MILK/div>div classitem-price pt-0>span classdollar-sign>$/span>0.75/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idEXT04-qty refEXT04 classqty-select qty form-control>/select> input typehidden value0.75 idEXT04-price />select classitem-options form-control styledisplay:none; idEXT04-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-EXT04 refEXT04/>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-69526 iddrinks---ridgee-refreshers-block style> h1>Drinks - Ridgee Refreshers/h1> div idmenu_items data-menuid69526> div idmenu-desc-header>div classalert alert-danger drinks---ridgee-refreshers-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---ridgee-refreshers> li idMilkshake_2528075_69526 style classsingle data-track-itemstrue data-pluDR06 data-item-nameMilkshake data-item-categoryDrinks - Ridgee Refreshers data-price8 >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;>Milkshake/div>div classitem-price pt-0>span classdollar-sign>$/span>8/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-DR06-69526 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;>Milkshake/h4> div classmodal-title item-description-popup stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;>div styledisplay:none; classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-DR06 class radio-button-popup menu-option-radio-list valueDR06 price8 refDR06 idDR06 pluDR06 checkedchecked> label forDR06 classactive input-group-label stylefont-weight: normal; >span idpopup-price>$8/span>img classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classmenu-item-option> div classmenu-item-option idmenu-DR06 refDR06>/div>/div>div classitem-option-radio item-option-only row>p stylecolor:black; font-size:15px; font-weight:600;width:100%>Milkshake/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87000 nameitem-option-radio-DR06 classitem-option-radio-list value0 iditem-option-DR06-69526-87000 checked> label foritem-option-DR06-69526-87000 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>Iced Coffeeimg 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; ref87001 nameitem-option-radio-DR06 classitem-option-radio-list value0 iditem-option-DR06-69526-87001 > label foritem-option-DR06-69526-87001 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>Chocolateimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref86999 nameitem-option-radio-DR06 classitem-option-radio-list value0 iditem-option-DR06-69526-86999 > label foritem-option-DR06-69526-86999 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>Chocolate Frappeimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons stylewidth:100%> div classcol-md-3 stylepadding: 0;>div classqty-selection>button classbtn qty-btn-popup qty-btn-popup-minus ref-group-idDR06>i classglyphicon glyphicon-minus>/i>/button> label idqty-DR06 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-idDR06>i classglyphicon glyphicon-plus>/i>/button>/div>/div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton nameAdd valueAdd data-dismissmodal classadd-button idDR06 refDR06 price8 /> /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-DR06-69526 idDR06 menu-id69526 refDR06 /> input typehidden value8 idDR06-price /> /div>/div>/div>/li>li idThickshakes_2528078_69526 style classsingle data-track-itemstrue data-pluDR09 data-item-nameThickshakes data-item-categoryDrinks - Ridgee Refreshers 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;>Thickshakes/div>div classitem-price pt-0>span classdollar-sign>$/span>9/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> div classmodal modal-popup fade idadd-popup-DR09-69526 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;>Thickshakes/h4> div classmodal-title item-description-popup stylefont-size: 13px>/div> /div> div classmodal-body stylebackground: #ececec78;>div styledisplay:none; classinput-group-radio> input typeradio styledisplay:none; namemenu-item-option-radio-DR09 class radio-button-popup menu-option-radio-list valueDR09 price9 refDR09 idDR09 pluDR09 checkedchecked> label forDR09 classactive input-group-label stylefont-weight: normal; >span idpopup-price>$9/span>img classcheck-img-popup stylefloat: right; align-self:center>/label> /div>div classmenu-item-option> div classmenu-item-option idmenu-DR09 refDR09>/div>/div>div classitem-option-radio item-option-only row>p stylecolor:black; font-size:15px; font-weight:600;width:100%>Thickshakes/p>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87002 nameitem-option-radio-DR09 classitem-option-radio-list value0 iditem-option-DR09-69526-87002 checked> label foritem-option-DR09-69526-87002 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>Mangoimg 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; ref87003 nameitem-option-radio-DR09 classitem-option-radio-list value0 iditem-option-DR09-69526-87003 > label foritem-option-DR09-69526-87003 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>Bananaimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>div classinput-group-radio item-option-input-group col-sm-6 stylepadding-right:15px; padding-left:0px;> input typeradio styledisplay:none; ref87004 nameitem-option-radio-DR09 classitem-option-radio-list value0 iditem-option-DR09-69526-87004 > label foritem-option-DR09-69526-87004 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>Mixed Berriesimg src classcheck-img-popup stylefloat:right; align-self:center>/label> /div>/div>/div> div classmodal-footer styletext-align: center; position: relative;> div classfooter_mobile>/div> div classfooter_overlay>/div> div classitem-add-buttons stylewidth:100%> div classcol-md-3 stylepadding: 0;>div classqty-selection>button classbtn qty-btn-popup qty-btn-popup-minus ref-group-idDR09>i classglyphicon glyphicon-minus>/i>/button> label idqty-DR09 classqty-label-popup qty stylepadding: 0 5%>1/label> button classbtn qty-btn-popup qty-btn-popup-plus ref-group-idDR09>i classglyphicon glyphicon-plus>/i>/button>/div>/div> div classcol-md-6> input stylepadding: 10px 0 !important; width: 100%; border-radius: 0px !important; typebutton nameAdd valueAdd data-dismissmodal classadd-button idDR09 refDR09 price9 /> /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-DR09-69526 idDR09 menu-id69526 refDR09 /> input typehidden value9 idDR09-price /> /div>/div>/div>/li> /ul> div classspacer>/div> /div> /div>div classmenu-item mi-16125 iddrinks-block style> h1>Drinks/h1> div idmenu_items data-menuid16125> 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 idCanofdrink_2528079_16125 style classsingle data-track-itemstrue data-pluDR10 data-item-nameCan of drink data-item-categoryDrinks data-price4.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;>Can of drink/div>div classitem-price pt-0>span classdollar-sign>$/span>4.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR10-qty refDR10 classqty-select qty form-control>/select> input typehidden value4.5 idDR10-price />select classitem-options form-control styledisplay:none; idDR10-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR10 refDR10/>/div>/div>/li>li idPoppers_2528080_16125 style classsingle data-track-itemstrue data-pluDR11 data-item-namePoppers 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;>Poppers/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 idDR11-qty refDR11 classqty-select qty form-control>/select> input typehidden value3 idDR11-price />select classitem-options form-control styledisplay:none; idDR11-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR11 refDR11/>/div>/div>/li>li idSmallSoftdrinkBottles_2528081_16125 style classsingle data-track-itemstrue data-pluDR12 data-item-nameSmall Softdrink Bottles data-item-categoryDrinks data-price4.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;>Small Softdrink Bottles/div>div classitem-price pt-0>span classdollar-sign>$/span>4.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR12-qty refDR12 classqty-select qty form-control>/select> input typehidden value4.5 idDR12-price />select classitem-options form-control styledisplay:none; idDR12-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR12 refDR12/>/div>/div>/li>li idBottledWater_2528082_16125 style classsingle data-track-itemstrue data-pluDR13 data-item-nameBottled Water data-item-categoryDrinks data-price3.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;>Bottled Water/div>div classitem-price pt-0>span classdollar-sign>$/span>3.50/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR13-qty refDR13 classqty-select qty form-control>/select> input typehidden value3.5 idDR13-price />select classitem-options form-control styledisplay:none; idDR13-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR13 refDR13/>/div>/div>/li>li idGingerBeer_2528083_16125 style classsingle data-track-itemstrue data-pluDR14 data-item-nameGinger Beer data-item-categoryDrinks data-price5 >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;>Ginger Beer/div>div classitem-price pt-0>span classdollar-sign>$/span>5/div>/div>div classclear>/div>div classitem-description>/div>div iditem-buttons> select nameqty idDR14-qty refDR14 classqty-select qty form-control>/select> input typehidden value5 idDR14-price />select classitem-options form-control styledisplay:none; idDR14-option-id>/select>div classitem-add-buttons>input typebutton nameAdd valueAdd classadd-button idadd-DR14 refDR14/>/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://ridgeedidgecafe.com.au/core/ajax/get_cart_total.php?page+PAGE_NAME, function(data){ $(#cartTotal, .cartTotal).html($+data); }); } }); /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 1; client_start_time 123423; 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(); 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(){ document.addEventListener(DOMContentLoaded, function(){ var menuBlocks document.querySelectorAll(#menu-items > divid$-block); menuBlocks.forEach(function(block){ var items block.querySelectorAll(ul li:not(style*display: none)); if(items.length 0){ block.style.display none; } }); }); })(); /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://ridgeedidgecafe.com.au/api/getmenu.php, {client_id:657, 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 .close).show(); $(#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-header .close).hide(); $(#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-header .close).hide(); $(#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); get_cart_total(); } }); } } } promo_code_id.removeClass(checked).val(); }); return xhr; } function confirmCheckout(ordertype){ $.ajax({ type: POST, url: core/ajax/get_times.php, data: client_id657&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 not available 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 currently closed.br>Please come back later.table classtrading-hours-table width100% aligncenter cellpadding2> tbody> tr > th>Mon/th> td> closed /td> /tr> tr > th>Tue/th> td> closed /td> /tr> tr > th>Wed/th> td> closed /td> /tr> tr > th>Thu/th> td> closed /td> /tr> tr > th>Fri/th> td> closed /td> /tr> tr > th>Sat/th> td> closed /td> /tr> tr > th>Sun/th> td> closed /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> !-- 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> section classabout-section> div classrow> div classcol-md-6 col-sm-12 img-1> img srchttps://d2ova09jg8x3xk.cloudfront.net/ridgeedidgecafe.com.au/images/logo.png classimg-fluid alt> /div> div classcol-md-6 col-sm-12 para-1> h3 classridgeedidge-about-us>About Us/h3> p classabout-p1>Our menu is made up of high quality and fresh produce daily to serve you with the best dining experience. Exceptional coffee and an atmosphere on par with any big city cafe to locals and travelers alike./p>p classabout-p1>You can also learn about the original inhabitants of the dessert uplands country, the lnigai people. so, come on in and have a yarn./p> /div> /div>/section> /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>Sorry, we are closed for today./h3> div classfooterOfflineAlert-timeInfo>/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&query151+Oak+Street%2C+Barcaldine%2C+QLD classaddress-link target_blank relnoopener>151 Oak Street, Barcaldine, QLD/a>/p> p>a hreftel:46511931 classphone-link>4651 1931/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> /div> /div> /div> /div> div classcol-md-12> p idfooter-copyright>b>Ridgee Didge Cafe/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> /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>div idglobalalert_container classmodal fade tabindex-1 roledialog aria-labelledbyglobalAlertModal aria-hiddentrue data-backdroptrue data-keyboardtrue> div classmodal-dialog modal-dialog-centered roledocument> div classmodal-content idglobalalert_banner> div classalert-header> div idglobalalert_close>i classfa-solid fa-xmark>/i>/div> /div> div idglobalalert_cover> /div> span idglobalalert_message style> /span> /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>/body>/html>
Subdomains
Date
Domain
IP
orderonline.ridgeedidgecafe.com.au
2025-08-16
13.238.55.67
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
]