Εσπαντρίγιες Δίπατες με Τόκα | Olympic Stores (2024)

Εσπαντρίγιες Δίπατες με Τόκα | Olympic Stores (1)

'); } jQuery('.results-wrapper .results-inner').append('

'); setTimeout(function(){ jQuery('.results-wrapper .results-inner').owlCarousel({ loop:false, margin:10, nav:false, dots:true, responsive:{ 0:{ items:2 }, 600:{ items:3 } , 767:{ items:4 }, 1190:{ items:6 } } }); jQuery('.results-wrapper .results-inner').addClass('show-carousel'); jQuery('#view-more-search-results').show(); jQuery('#home-custom-products-search .search-loading-icon').remove(); }, 300); }); } else { jQuery('.results-wrapper .results-inner').trigger('destroy.owl.carousel'); jQuery('.results-wrapper .results-inner').html(''); jQuery('#view-more-search-results').hide(); jQuery('.results-wrapper .no-prds-found-col').remove(); jQuery('.results-wrapper .results-inner').addClass('show-carousel'); // setTimeout(function(){ jQuery('#home-custom-products-search .search-loading-icon').remove(); jQuery('.results-wrapper').prepend('

Δεν βρέθηκαν προϊόντα

'); // }, 150); } }, statusCode: { 404: function() { alert('There was a problem with the server. Please try again soon!'); } } }); } else { jQuery('.results-wrapper .results-inner').html(''); jQuery('#view-more-search-results').hide(); } }, "150")); jQuery(".cust-header-shop-search.open" ).click(function() { jQuery('.results-wrapper .results-inner').html(''); jQuery('#view-more-search-results').hide(); }); jQuery(".close-custom-search-form-btn" ).click(function() { // cust-header-shop-search jQuery('.results-wrapper .results-inner').html(''); jQuery('#view-more-search-results').hide(); jQuery('.cust-header-search').removeClass('open'); }); jQuery("#view-more-search-results" ).click(function() { jQuery("#form-search-products").submit(); }); jQuery(".search-button" ).click(function() { jQuery('#search-products-keyword').focus(); }); });function delay(callback, ms) { var timer = 0; return function() { var context = this, args = arguments; clearTimeout(timer); timer = setTimeout(function () { callback.apply(context, args); }, ms || 0); };}

') }, "200") } else { jQuery('#boxnow-cart').remove(); } if (total1p1 > 0 || total2p1 > 0) { jQuery(".onepone").html(1); } else { jQuery(".onepone").html(0); } if (total1p11020707 > 0) { jQuery(".onepone").html(1); } else { jQuery(".onepone").html(0); } // ONLY 1+1 console.log("vm3", total1p11020707) // if (total1p11020707 > 0 && total1p11020707 % 2 != 0) { if (total1p11020707) { if (jQuery(window).width() < 768) { jQuery('.fcarttext2').html(''); jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); } else { jQuery('.fcarttext2').html(''); } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else { // //jQuery('.fcarttext').css("display", "flex"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fcarttext3').css("display", "flex"); // // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext2').css("display", "none"); // // jQuery('.fpopupcart').attr("style", "height: 180px"); // // jQuery('.fpopupcart').attr("style", "height: auto"); // } // ONLY 1+1 Magio Gialia // if ((totalGialia > 0 && totalGialia % 2 != 0)) { // if (jQuery(window).width() < 768) { // jQuery('.fcarttext2').html(''); // jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); // } else { // jQuery('.fcarttext2').html(''); // } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else { // //jQuery('.fcarttext').css("display", "flex"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fcarttext3').css("display", "flex"); // // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext2').css("display", "none"); // // jQuery('.fpopupcart').attr("style", "height: 180px"); // // jQuery('.fpopupcart').attr("style", "height: auto"); // } // totalwithout = total2p1 - (parseInt(total2p1 / 3) * 3); // if (total2p1 > 0 /*&& totalwithout == 2*/ && total2p1 % 3 != 0) { // console.log("Esorouxo"); // if (jQuery(window).width() < 768) { // jQuery('.fcarttext2').html(''); // jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); // } else { // jQuery('.fcarttext2').html(''); // } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else if (total1p11020707 > 0 && total1p11020707 % 2 != 0) { if (jQuery(window).width() < 768) { jQuery('.fcarttext2').html(''); jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); } else { jQuery('.fcarttext2').html(''); } jQuery('.fcarttext2').css("display", "flex"); jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext3').css("display", "none"); jQuery('.fpopupcart').attr("style", "height: unset!important"); } else { //jQuery('.fcarttext').css("display", "flex"); jQuery('.fpopupcart').attr("style", "height: 180px"); jQuery('.fcarttext3').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext2').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fpopupcart').attr("style", "height: auto"); } } if (total1p1 > 0 && total1p1 % 2 != 0) { if (jQuery(window).width() < 768) { jQuery('.fcarttext2').html(''); jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); } else { jQuery('.fcarttext2').html(''); } jQuery('.fcarttext2').css("display", "flex"); jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext3').css("display", "none"); jQuery('.fpopupcart').attr("style", "height: unset!important"); } else { //jQuery('.fcarttext').css("display", "flex"); jQuery('.fpopupcart').attr("style", "height: 180px"); jQuery('.fcarttext3').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext2').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fpopupcart').attr("style", "height: auto"); } }); jQuery(document).on('click', '.flexible_remove', function() { jQuery('#FlexibleVM3Cart .flexible-loading').show(); var cart_id = jQuery(this).text(); jQuery.ajax({ url: '/index.php?option=com_virtuemart&view=cart&task=delete', method: 'get', data: { cart_virtuemart_product_id: cart_id }, success: function(tree, elms, html, js) { var mod = jQuery('#FlexibleVM3Cart'); jQuery.ajaxSetup({ cache: false }) var loadAgain = jQuery.getJSON('/index.php?option=com_virtuemart&nosef=1&view=cart&task=viewJS&format=json', function(datas, textStatus) { var totalFlag = false; var tot_quant = datas.offerQuantityTotal; var total2p1 = datas.offer2p1Quant; var total1p1 = datas.offer1p1Quant; var totalFormes = datas.offerFormes; var totalGialia = datas.offerGialia; var totalMagio = datas.offerMagio; var total1p11020707 = datas.is1020707; var offer_tot = 0; console.log("Totals: " + total2p1); jQuery.each(tot_quant, function(index, value) { if (value % 2 == 1) { totalFlag = true; } offer_tot += value; }); if (parseInt(datas.totalProduct) > 0) { // console.log('here!'); setTimeout(() => { jQuery('#boxnow-cart').remove(); jQuery('.flexibleTotal').prepend('

ΝΕΑ ΥΠΗΡΕΣΙΑΠΑΡΑΛΑΒΕ ΑΥΡΙΟ!

') }, "200") } else { jQuery('#boxnow-cart').remove(); } if (totalFlag) { //console.log('Prod_quant: '+quant); //if(tot_quant%2 == 1){ //jQuery(".flexProduct" + o + " .minicart-product-message").html('1+1 ΔΩΡΟ
Πρόσθεσε ακόμη 1 ζευγάρι Παπούτσια από την ίδια κατηγορία στο καλάθι σου και πάρε την προσφορά.'); jQuery('.fcarttext2').html('1+1 ΔΩΡΟ
Πρόσθεσε ακόμη 1 οποιοδήποτε προϊόν από την ίδια κατηγορία στο καλάθι σου, για να ενεργοποιήσεις την προσφορά 1+1 ΔΩΡΟ.'); jQuery('.fcarttext2').css("display", "flex"); jQuery('.fcarttext').css("display", "none"); jQuery('.fpopupcart').attr("style", "height: unset!important"); } else { if (tot_quant.length > 0 || offer_tot >= datas.totalProduct) { jQuery('.fcarttext').css("display", "none"); jQuery('.fpopupcart').attr("style", "height: unset!important"); } else { //jQuery('.fcarttext').css("display", "flex"); jQuery('.fpopupcart').attr("style", "height: 180px"); } // jQuery('.fcarttext').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext2').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fpopupcart').attr("style", "height: auto"); } if (total1p1 > 0 || total2p1 > 0 || total1p11020707 > 0) { jQuery(".onepone").html(1); } else { jQuery(".onepone").html(0); } // kechagias@3ds.gr -> The variables are used here. Everythins has an anchor link, change it // ONLY 1+1 -> Use when only one offer is on // if (total1p1 > 0 && total1p1 % 2 != 0) { // if (jQuery(window).width() < 768) { // jQuery('.fcarttext2').html(''); // jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); // } else { // jQuery('.fcarttext2').html(''); // } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else { // //jQuery('.fcarttext').css("display", "flex"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fcarttext3').css("display", "flex"); // // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext2').css("display", "none"); // // jQuery('.fpopupcart').attr("style", "height: 180px"); // // jQuery('.fpopupcart').attr("style", "height: auto"); // } // ONLY 1+1 Magio Gialia if ((totalGialia > 0 && totalGialia % 2 != 0)) { if (jQuery(window).width() < 768) { jQuery('.fcarttext2').html(''); jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); } else { jQuery('.fcarttext2').html(''); } jQuery('.fcarttext2').css("display", "flex"); jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext3').css("display", "none"); jQuery('.fpopupcart').attr("style", "height: unset!important"); } else { //jQuery('.fcarttext').css("display", "flex"); jQuery('.fpopupcart').attr("style", "height: 180px"); jQuery('.fcarttext3').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); jQuery('.fcarttext2').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fpopupcart').attr("style", "height: auto"); } // 2+1 AND 1+1 -> use when one cat has a 2+1 offer, another has a 1+1 offer and you need to add minicart banners for the first product of the 1+1 offer and the first 2 of the 2+1 offer // totalwithout = total2p1 - (parseInt(total2p1 / 3) * 3); // if (total2p1 > 0 /*&& totalwithout == 2*/ && total2p1 % 3 != 0) { // console.log("Esorouxo"); // if (jQuery(window).width() < 768) { // jQuery('.fcarttext2').html(''); // jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); // } else { // jQuery('.fcarttext2').html(''); // } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else if (total1p1 > 0 && total1p1 % 2 != 0) { // if (jQuery(window).width() < 768) { // jQuery('.fcarttext2').html(''); // jQuery(".flexible_cart_products").attr("style", "max-height: 43%!important"); // } else { // jQuery('.fcarttext2').html(''); // } // jQuery('.fcarttext2').css("display", "flex"); // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext3').css("display", "none"); // jQuery('.fpopupcart').attr("style", "height: unset!important"); // } else { // //jQuery('.fcarttext').css("display", "flex"); // jQuery('.fpopupcart').attr("style", "height: 180px"); // jQuery('.fcarttext3').css("display", "flex"); // // jQuery('.fcarttext').css("display", "none"); // jQuery('.fcarttext2').css("display", "none"); // // jQuery('.fpopupcart').attr("style", "height: 180px"); // // jQuery('.fpopupcart').attr("style", "height: auto"); // } if (datas.totalProduct > 0) { mod.find('.flexible_cart_products').html(''); var cnt = 1; jQuery.each(datas.products, function(key, val) { jQuery("#flexible_hiddencontainer .flexibleCartContainer").clone().appendTo(".FlexibleVM3Cart .flexible_cart_products").addClass('flexProduct' + cnt); var product_cart_id = val.product_cart_id; var virtuemart_product_id = val.virtuemart_product_id; jQuery.each(val, function(key, val) { if (key == "flexible_image" || key == "image") { mod.find(".flexible_cart_products :nth-child(" + cnt + ")").find(".cartcon1").html(val); } else if (key == "quantity") { // console.log("prd_cart_id: "+product_cart_id ); // console.log("quantity val: "+val); // var qty_html = // ''+ // '

'+val+'

'; // mod.find(".flexible_cart_products :nth-child("+cnt+")").find(".qua-pro").html(qty_html); var qty_html = '' + '

' + val + '

'; mod.find(".flexProduct" + cnt + " .qua-pro").html(qty_html); } else if (key == "product_sku") { mod.find(".flexible_cart_products :nth-child(" + cnt + ")").find(".product_sku").html("ΚΩΔΙΚΟΣ: " + val); } else if (key == "onepone") { if (val == 1) { jQuery(".onepone").html(1) } else { console.log('no') //jQuery('.oneplusone_warning').remove(); //jQuery('.fcarttext2').hide(); //jQuery('.fcarttext').show(); //jQuery(".onepone").html(0) } } else if (jQuery("#flexible_hiddencontainer .flexibleCartContainer ." + key)) { mod.find(".flexible_cart_products ." + key + ":last").html(val); } if (val == 015804) { console.log(cnt); mod.find(".flexProduct" + cnt).find(".pop-l").hide(); mod.find(".flexProduct" + cnt).find(".pop-r").hide(); mod.find(".flexProduct" + cnt).find(".product_sku").hide(); } }); cnt++; }); //var number = datas.totalProductTxt.replace(/[^0-9]/g,''); // console.log(datas); mod.find(".flexibleShow_cart").html(datas.cart_show); mod.find(".flexibleNumber").html(datas.totalProduct); // mod.find(".flexibleTotal").html(datas.billTotal); mod.find(".flexibleTotal").html("Σύνολο" + datas.billTotal + ""); // mod.find('.fcarttext').html(60.0-datas.billTotal_number); jQuery(".mini-cart-sub").on("click", function() { var dataID = jQuery(this).attr("data-id"); var num = +jQuery("#qty" + dataID).html() - 1; if (num > 0) { jQuery(".flexible-loading").show(); jQuery("#qty" + dataID).html(num); updateMiniCartQty(dataID, num); } }); jQuery(".mini-cart-add").on("click", function() { jQuery(".flexible-loading").show(); var dataID = jQuery(this).attr("data-id"); var num = +jQuery("#qty" + dataID).html() + 1; var dataProdcutId = jQuery(this).attr("data-product-id"); // start - manage stock var postData = { virtuemart_product_id: dataProdcutId, stock: num }; jQuery.ajax({ url: "index.php?option=com_virtuemart&view=cart&task=validateStock&format=json&nosef=1", type: "POST", data: postData, success: function(result, textStatus, jqXHR) { var msg = JSON.parse(result).message; var prod_id = JSON.parse(result).virtuemart_product_id; if (msg.length > 0) { //alert(msg); jQuery("#qty-warning-" + prod_id).html(msg).show().delay(5000).queue(function(n) { jQuery(this).hide(); n(); }); jQuery(".flexible-loading").hide(); } else { jQuery("#qty" + dataID).html(num); updateMiniCartQty(dataID, num); } }, error: function(jqXHR, textStatus, errorThrown) { jQuery(".flexible-loading").hide(); } }); // end //jQuery("#qty"+dataID).html(num); //updateMiniCartQty(dataID, num); }); } else { mod.find(".flexible_cart_products").html('

Δεν υπάρχουν προϊόντα στο καλάθι σας.

'); mod.find(".flexibleNumber").html('0'); mod.find(".flexibleTotal").html('Σύνολο 0€'); mod.find('.flexibleShow_cart').html(datas.cart_show); } } ); loadAgain.complete(function() { jQuery('#FlexibleVM3Cart .flexible-loading').hide(); }); } }); }); });

Καλάθι αγορών

Δεν υπάρχουν προϊόντα στο καλάθι σας.

Εσπαντρίγιες Δίπατες με Τόκα | Olympic Stores (2024)
Top Articles
Latest Posts
Article information

Author: The Hon. Margery Christiansen

Last Updated:

Views: 6435

Rating: 5 / 5 (50 voted)

Reviews: 89% of readers found this page helpful

Author information

Name: The Hon. Margery Christiansen

Birthday: 2000-07-07

Address: 5050 Breitenberg Knoll, New Robert, MI 45409

Phone: +2556892639372

Job: Investor Mining Engineer

Hobby: Sketching, Cosplaying, Glassblowing, Genealogy, Crocheting, Archery, Skateboarding

Introduction: My name is The Hon. Margery Christiansen, I am a bright, adorable, precious, inexpensive, gorgeous, comfortable, happy person who loves writing and wants to share my knowledge and understanding with you.