28 Matching Annotations
  1. Jun 2024
    1. WE’RE VERY SOCIAL

      Make the Pointing glove equivalent in size to the other hands above. Its too big.

    2. 02 8228 8142

      Ensure number doesn't split over 2 lines

    3. We've worked hard to craft a menu to tickle your taste buds in all the right places and make every dish 'Mwah Perfetto!'. You're the most important P. We want you to enjoy every morsel and mouthful. Let us know if you have any dietary requirements, allergies or simply prefer an ingredient removed from a dish. We pride ourselves on almost every aspect of our menu being house-made, from our sauces, dressings and marinades to our pizza dough, that gives our crust the perfect texture, bite, and tang. We only use fresh ingredients, and produce, along with the best organic, free range and high quality meats available. We make a real effort to source locally whenever possible. We think you'll taste the love.

      In our menu, you'll find these P's celebrated throughout and discover our obsession with pasta, pizza, fresh ingredients, local produce, and the perfect pizza dough. In everything we do, we aim for 'Mwah Perfetto!'

    4. - Mild Spicy - Gluten Free - Vegan

      This key needs to be added like sticky navigation with the menu. So it seen where ver you are on the page. New icons have been supplied to cover the various spice levels (Mild-, Spicy and Hot)

    5. Garlic Bread

      Missing $5 price and vegetarian icon

    6. Gluten Free Pasta [GF*] is available (Except Linguine) PASTA OPTIONS INCLUDED: 1. SPAGHETTI 2. CASARACHE3. RIGATONI 4. GNOCCHI (EXTRA $3) 5. LINGUINE

      Align to title and dish cells.

    7. Bazaar Spiced Pumpkin

      add Vegan Icon. use icon across all vegan pizzas next to dish name.

    8. Napoletana Sauce (Choose From: 1.Pumpkin & Goats Cheese, 2.Four Cheese, 3.Italian Tomato, 4.Mushroom & Green Pea [V])

      Keep vegetarian icon Change to: Napoletana sauce. Choose from: 1. Pumpkin & Goats Cheese, 2. Four Cheese, 3. Italian Tomato or 4. Mushroom & Green Pea.

    9. Would You Like To Add A Protein To Your Salad? No Problem!

      Align to title and dish cells on the grid.

    10. Available only during 10:00 am - 10:00 am Burrata Mozzarella

      Use icons consistently. This is a vegetarian dish.

    11. DealsThe O.G PizzaCitro Signature PizzaPrawn PizzaChicken PizzaVegetarian PizzaVegan PizzaAntipastiPastaBreadsSaladsWingsDessertSoft Drinks 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--; 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++; 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": "10914", "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("$"+(popup_total).toFixed(2)); }); } $("#"+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 = data[0].option_name, option_display_name = data[0].option_display_name, min_option = (data[0].min_permitted !== undefined) ? data[0].min_permitted : 0, max_option = (data[0].max_permitted !== undefined) ? data[0].max_permitted : 1; if(!isMultiple){ item_option_html += '<p style="color: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 ? ' style="margin-top:15px;"' : '')+' class="multi-option-select">' +'<div class="multi-option-name item-option-group-name-'+multipleItemGrpId+'" style="position:relative; float:left; width:100%;">' +'<p style="color:black; font-size:15px; font-weight:600; padding-bottom:0;">'+(option_display_name ? option_display_name : option_name)+'</p>' +'<span style="font-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 class="input-group-radio item-option-input-group col-sm-6" style="'+padding+'">' +'<input type="'+input_type+'" style="display:none;" ref="'+value.id+'" name="item-option-radio-'+groupId+(isMultiple ? "-"+multipleItemGrpId : "")+'" class="item-option-radio-list" value="'+value.item_price+'" id="item-option-'+groupId+'-'+menuId+'-'+value.id+'"'+((!isMultiple && value.default_item_option_id != 0) ? " default-io='"+value.default_item_option_id+"'" : "")+(isMultiple ? " multiple-io='true' mio-id='"+multipleItemGrpId+"' min-io='"+value.min_permitted+"' max-io='"+value.max_permitted+"'" : "")+' '+checked+'>' +'<label for ="item-option-'+groupId+'-'+menuId+'-'+value.id+'" style="font-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" class="input-group-label input-group-label-template2 input-group-label-default">'+value.item_name+price_txt+'<img src="'+active+'" class="check-img-popup" style="float: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-list[multiple-io]").length > 0){ $("#"+ parent_div +" .item-option-radio-list[multiple-io]").each(function(){ if($(this).siblings(".input-group-label").hasClass("active")){ $(this).siblings(".input-group-label").removeClass("active"); } }); } var popup_price = $("#"+ parent_div +" .active #popup-price").html(); 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(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("$"+total_price.toFixed(2)); 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_selected[mio_id]).attr('checked', false); } last_io_selected[mio_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('$' + total_price.toFixed(2)); } // 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+' input[name="menu-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 data['multiple_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+" input[name=item-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:radio[name=item-option-radio-"+group_id+"]:not(:disabled):first").attr('checked', true); $("#"+parent_div+" input:radio[name=item-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 += items[plu]; } 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 = parseInt( $("#"+ parent_div +" #num-free-toppings").html()); 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; } } 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 && num_free_extra <= 0) { $("#"+parent_div+" .toppings-checkbox::checked").addClass("free_item"); } price = '-'+price; } popup_price = parseFloat(popup_price.replace('$', '')); var item_total = 0; var toppings_total = 0; toppings_total = parseFloat(price) + parseFloat(toppings_price); items[plu] = parseFloat(price); $("#"+ parent_div + " .popup-orig-price").html(toppings_total.toFixed(2)); 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; }); if(counter_free_extras > 0 && num_free_extra <= 0) { $("#"+ parent_div + " .popup-item-price").html('$' + (popup_orig+upsell_total).toFixed(2)); } else { $("#"+ parent_div + " .popup-item-price").html('$' + (item_total+upsell_total).toFixed(2)); } 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($("input[name='storestatus']").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").html(); 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-list[mio-id='"+val+"']:checked").length, io_min = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").attr('min-io'), io_max = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").attr('max-io'), io_name = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").parent().siblings("div.item-option-group-name-"+val).find("p").text(), io_container = $("#"+parent_div+" .item-option-radio-list[mio-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+"' can't 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-list[ref='"+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_array[i] = new Array(3); topping_array[i][0] = extra_plu; topping_array[i][1] = (extra_qty * qty); topping_array[i][2] = extra_price; i++; // we add it after if (has_chargeable == true) { //increase the counter to prevent overwriting this index topping_array[i] = new Array(3); topping_array[i][0] = extra_plu; topping_array[i][1] = 1; topping_array[i][2] = 0; i++; } } } }); var payload = {"PLU": PLU, "qty": qty, "price": price, "option_id": option_id, "topping_array[]": topping_array, "menu_id" : menu_id}; $.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_item[c.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) { $('#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($("input[name='storestatus']").val()=='offline'){ $.prompt($('#offline-alert-txt').html()); return; } $('#loading_bar').html("<img src='https://d2ova09jg8x3xk.cloudfront.net/citropizza.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($("input[name='storestatus']").val()=='offline'){ $.prompt($('#offline-alert-txt').html()); return; } $('#loading_bar').html("<img src='https://d2ova09jg8x3xk.cloudfront.net/citropizza.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+' input[name="menu-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-list[mio-id='"+val+"']:checked").length, io_min = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").attr('min-io'), io_max = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").attr('max-io'), io_name = $("#"+parent_div+" .item-option-radio-list[mio-id='"+val+"']:first").parent().siblings("div.item-option-group-name-"+val).find("p").text(), io_container = $("#"+parent_div+" .item-option-radio-list[mio-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+"' can't 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+" input[name=item-option-radio-"+group_id+"][ref='"+default_io+"']").attr('checked', true); } else{ $("#"+parent_div+" input[name=item-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 key["id"]; }); }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('$' + total_prices.toFixed(2)); option_id = $("#"+ parent_div +" .item-option-radio-list:checked").attr('ref'); } } }

      Add another line/bar below the sticky navigation menu on yellow background that features a key to the GF, Spice level (Mild, spicy & hot), Vegetarian and Vegan. Icons to be provided as SVG.

    12. Green Lolita (V)

      Use icons consistently. Not V and icon.

    13. Align to title and dish cells on the page.

    14. Any Of Our Pizzas Can Be Made [GF*] Gluten Free On Request. BASE OPTION INCLUDED: 1.OUR CRUST (OUR DOUGH, MADE BY US) 2.WHOLEMEAL BASE 3.[GF]GLUTEN FREE BASEPIZZA SIZE: MED11” or LRG13”

      Delete

    15. [GF*]

      Change to GF icon you are curretn;y using. Remove asterisk.

    16. $79.00
      1. Remove '.00' from every price.
      2. In instances where '.50' change to '.5'
      3. Remove flag behind every price
      4. Make text black (keep size and weight the same)
    17. $14.00

      Remove '.00' after every price. $14 In all instances where the price is .50 use .5.

    18. Gluten Free Pasta [GF*] is available (Except Linguine)

      Make lighter weight than the info below. Do consistently to match 'All Pizzas can be made Gluten Free on request'.

    19. Any Of Our Pizzas Can Be Made [GF*] Gluten Free On Request. BASE OPTION INCLUDED: 1.OUR CRUST (OUR DOUGH, MADE BY US) 2.WHOLEMEAL BASE 3.[GF]GLUTEN FREE BASEPIZZA SIZE: MED11” or LRG13”

      Align to title and pizza grid.

    20. Any Of Our Pizzas Can Be Made [GF*] Gluten Free On Request. BASE OPTION INCLUDED: 1.OUR CRUST (OUR DOUGH, MADE BY US) 2.WHOLEMEAL BASE 3.[GF]GLUTEN FREE BASEPIZZA SIZE: MED11” or LRG13”

      Delete

    21. In our menu, you'll find these P's celebrated throughout and discover our obsession with pasta, pizza, fresh ingredients, local produce, and the perfect pizza dough. In everything we do, we aim for 'Mwah Perfetto!'

      Delete

    22. Any Of Our Pizzas Can Be Made [GF*] Gluten Free On Request. BASE OPTION INCLUDED: 1.OUR CRUST (OUR DOUGH, MADE BY US) 2.WHOLEMEAL BASE 3.[GF]GLUTEN FREE BASEPIZZA SIZE: MED11” or LRG13”

      Delete

    23. .

      add space after .

    24. Any Of Our Pizzas Can Be Made [GF*] Gluten Free On Request.

      Make lighter weight than text below

    25. .

      add space after .

    26. Order Delivery/Takeaway I've got a date Book a Table Download Dine-In Menu Download Dine-In Drinks List

      All button - Make all buttons same width on the mobile version so they span the page width.

    27. DRINK,EAT &CHILL

      On mobile version make 1 line to reduce space used and get all the buttons on landing page.

    28. People, Pizza, Pasta, Parmesan, Pepperoni, Prosciutto, & Prosecco

      Remove return before this line