BRANDS
Your Cart

Περιποίηση Μαλλιών Για Άντρες

Η περιποίηση μαλλιών είναι κρίσιμης σημασίας για τους περισσότερους άντρες. Διατήρησε τα μαλλιά σου υγιή και δυνατά και προστατεύσου  αποτελεσματικά από την τριχόπτωση με τα κορυφαία επιλεγμένα προϊόντα που θα βρείς στο online φαρμακείο i-cure.
 
Priorin, Solgar, Vichy Dercos, Korres και πολλά ακόμη κορυφαία brands εξασφαλίζουν την φροντίδα των μαλλιών σου. Αναζήτησε στο i-cure την μεγάλη ποικιλία από επώνυμα σαμπουάν και conditioner για ενδυνάμωση, ειδικά σχεδιασμένα για κάθε τύπο τρίχας και δέρματος, ώστε να εξασφαλίζουν τα καλύτερα αποτελέσματα σε κάθε περίπτωση, κορυφαία προϊόντα styling που δεν φθείρουν την τρίχα και ειδικές αγωγές, λάδια, μάσκες μαλλιών και προϊόντα για την ανδρική τριχόπτωση με θαυματουργά αποτελέσματα.
 
Εμπιστεύσου τους ειδικούς στη φροντίδα μαλλιών για να έχεις το κεφάλι σου ήσυχο!

ΦΡΟΝΤΙΔΑ ΜΑΛΛΙΩΝ

ΦΡΟΝΤΙΔΑ ΜΑΛΛΙΩΝ
Κωδικός Προϊόντος: 13310
Συσκευασία: 265ml Barcode: 5060391841854 Το Dr. Organic Hemp Oil Shampoo & Conditioner είναι ένα σαμπουάν και μαλακτική κρέμα μαλλιών 2 σε 1 που θρέφει σε βάθος και επανορθώνει την τρίχα. To Organic Hemp Oil Shampoo & Conditioner της dr.organic είναι σαμπουάν και μαλακτική κρέμα μαλ..
15,45€ 11,58€
Κωδικός Προϊόντος: 2469
Συσκευασία: 265ml Barcode: 5060176671058 To Dr. Organic Manuka Honey Shampoo είναι σαμπουάν με Βιολογικό Μέλι Μανούκα. Το Organic Manuka Honey Shampoo της dr.organic είναι ένα επανορθωτικό και προστατευτικό σαμπουάν, με σύνθεση που περιέχει Βιολογικό Μέλι Μανούκα και Αλόη Βέρα. Αυτό το π..
11,45€ 8,59€
Κωδικός Προϊόντος: 5920
Συσκευασία: 265ml Barcode: 5060176674684 To Dr.Organic Moroccan Argan Oil Conditioner είναι μια ενυδατική μαλακτική κρέμα μαλλιών με έλαιο Αργκάν. Η Μαλακτική Κρέμα Μαλλιών Organic Moroccan Argan Oil Conditioner της dr.organic με έλαιο Αργκάν σε συνδυασμό με τα υπόλοιπα βιοενεργά συστατικά ..
12,45€ 9,33€
Κωδικός Προϊόντος: 2382
Συσκευασία: 50ml Barcode: 5060176674707 Η Dr.Organic Moroccan Argan Oil Day Cream είναι μια ενυδατική κρέμα ημέρας με Βιολογικό έλαιο Αργκάν. Η Κρέμα Ημέρας Organic Moroccan Argan Oil Day Cream  της dr.organic με Βιολογικό έλαιο Αργκάν αποτελεί μια εντατική θρεπτική καθημερινή θεραπεία..
22,95€ 17,22€
Κωδικός Προϊόντος: 2385
Συσκευασία: 200ml Barcode: 5060176674783 H Dr. Organic Moroccan Argan Oil Hair Mask είναι μια Βιο-ενεργή μάσκα περιποίησης μαλλιών με Βιολογικό Έλαιο Αργκάν. Η Βιο-ενεργή Μάσκα Περιποίησης με Βιολογικό Έλαιο Αργκάν είναι μια μάσκα για τα μαλλιά και το τριχωτό της κεφαλής, με ..
15,45€ 11,58€
Κωδικός Προϊόντος: 2386
Συσκευασία: 265ml Barcode: 5060176674868 Το Dr. Organic Moroccan Argan Oil Shampoo είναι ένα σαμπουάν μαλλιών με Βιολογικό Έλαιο Αργκάν. Το Organic Moroccan Argan Oil Shampoo της dr.organic με Βιολογικό Έλαιο Αργκάν είναι ένα επανορθωτικό και ενυδατικό σαμπουάν με βιολογικό Έλαιο Αργκάν. Οι..
12,45€ 9,33€
Κωδικός Προϊόντος: 6085
Συσκευασία: 265ml Barcode: 5060176671089 To Dr. Organic Tea Tree Shampoo είναι ένα σαμπουάν μαλλιών με  Βιολογικό Τεϊόδεντρο που καθαρίζει και θρέφει σε βάθος της τρίχα. Το Organic Tea Tree Shampoo της dr.organic με Βιολογικό Τεϊόδεντρο είναι ένα απαλό αλλά και έντονα καθαριστικό και ε..
11,95€ 8,96€
Κωδικός Προϊόντος: 2405
Συσκευασία: 265ml Barcode: 5060176675148 To Dr. Organic Virgin Coconut Oil Shampoo είναι ένα σαμπουάν μαλλιών με Βιολογικό Έλαιο Καρύδας. Το Virgin Coconut Oil Shampoo της dr.organic προσφέρει ενυδάτωση, θρέψη και αναζωογόνηση, ενώ συμβάλει στην τόνωση των κερατινικών ινών της τρίχας, αφήνο..
11,45€ 8,59€
Κωδικός Προϊόντος: 2429
Συσκευασία: 265ml Barcode: 5060176671171 H Dr. Organic Vitamin E Conditioner είναι μια μαλακτική κρέμα μαλλιών με Βιταμίνη E Η Μαλακτική Κρέμα Μαλλιών με Βιταμίνη E είναι κατάλληλη για όλους τους τύπους μαλλιών, με θρεπτική σύνθεση που περιέχει Βιολογική Βιταμίνη Ε, Αλόη Βέρα, Βούτυρο Καριτ..
11,45€ 8,59€
Κωδικός Προϊόντος: 2433
Συσκευασία: 265ml Barcode: 5060176670990 To Dr. Organic Vitamin E Shampoo είναι ένα σαμπουάν με Βιολογική Βιταμίνη E. Το Σαμπουάν Organic Vitamin E Shampoo της dr.organic με Βιολογική Βιταμίνη E προσφέρει ενυδάτωση και ανανέωση, και η σύνθεσή του περιέχει Βιολογική Βιταμίνη Ε και Αλόη Βέρα..
11,45€ 8,58€
Κωδικός Προϊόντος: 16746
Συσκευασία: 2x30caps Barcode: 3282779442145   To Ducray Anacaps Expert Promo είναι συμπλήρωμα διατροφής που προτείνεται για τη χρόνια τριχόπτωση.   Το συμπλήρωμα διατροφής Anacaps Expert βοηθά στην πρόληψη της τριχόπτωσης και στη διατήρηση δυνατών, υγιών..
56,37€ 39,46€
Κωδικός Προϊόντος: 14023
Συσκευασία: 30caps Barcode: 3282770389029   To Ducray Anacaps Expert είναι συμπλήρωμα διατροφής που προτείνεται για τη χρόνια τριχόπτωση.   Το συμπλήρωμα διατροφής Anacaps Expert βοηθά στην πρόληψη της τριχόπτωσης και στη διατήρηση δυνατών, υγιών μαλλιών..
33,20€ 21,58€
Εμφάνιση 61 έως 72 από 282 (24 Σελ.)
HEADER DESKTOP // ======================================================================================================================================== if ($(window).width() > 1024) { // --> HEADER DESKTOP > SECONDARY MENU $('.secondary-menu .top-menu .j-menu>li>a[href*="wishlist"], .secondary-menu .top-menu .j-menu>li>a[href*="compare"], .secondary-menu .top-menu .j-menu>li>a[href*="popup"]') .closest("li") .addClass("gp_right_side"); $('.secondary-menu .top-menu .j-menu>li>a[href*="facebook"], .secondary-menu .top-menu .j-menu>li>a[href*="twitter"], .secondary-menu .top-menu .j-menu>li>a[href*="instagram"]') .closest("li") .addClass("gp_left_side"); // --> HEADER DESKTOP > MAIN MENUgp_cart_buttons // --> HEADER DESKTOP > MAIN MENU > USP $('
ΔΩΡΕΑΝ ΜΕΤΑΦΟΡΙΚΑ ΑΝΩ ΤΩΝ 55€     ΤΗΛ. ΠΑΡΑΓΓΕΛΙΕΣ 210 25 12 121
"').appendTo(".desktop #main-menu"); // --> HEADER DESKTOP > MAIN MENU > MEGA MENU $("#main-menu > .j-menu > li.menu-item.mega-menu").each(function(){ $(this).find(".module-catalog .subitems").prependTo($(this).find(".module-catalog")).wrapAll('
'); $(this).find(".module-catalog .catalog-image").prependTo($(this).find(".module-catalog")).wrapAll('
'); $(this).find(".module-catalog .module-body").remove(); $('ΟΛΑ ΤΑ ΠΡΟΪΟΝΤΑ').appendTo($(this).find(".gp_catalog_subitems_container")); }) // --> HEADER DESKTOP > MAIN MENU > MEGA MENU > BRANDS ITEM PRE-SELECTED $("#main-menu > .j-menu > li.menu-item.mega-menu").hover(function(){ $(this).find(".gp_catalog_image_container > a:first-child").trigger("click"); }) // --> HEADER DESKTOP > MAIN MENU > MEGA MENU > BRANDS ITEM > LIST HEIGHT FOR KEEPING ITEM ORDER WHILE FLEXING IT $("#main-menu > .j-menu > li.menu-item:nth-child(1) > .dropdown-menu").css({'display' : 'block'}); function FindBrandMegaMenuColumnHeight(howmany){ let BrandsHowManyItemsTotal = $("#main-menu .manufacturer-grid > .manufacturer-layout").length; let BrandsHowManyItemsPerColumn = Math.ceil(BrandsHowManyItemsTotal / howmany); let BrandsColumnHeight = $("#main-menu .manufacturer-grid > .manufacturer-layout").outerHeight() * BrandsHowManyItemsPerColumn; return(BrandsColumnHeight); } if ($(window).width() < 950) { var columns_number = 5 } else{ var columns_number = 6 } $("#main-menu .manufacturer-grid").css("max-height", FindBrandMegaMenuColumnHeight(columns_number) + "px"); $("#main-menu > .j-menu > li.menu-item:nth-child(1) > .dropdown-menu").css({'display' : 'none'}); $("#main-menu > .j-menu > li.menu-item:nth-child(1)").mouseenter(function() { $("#main-menu > .j-menu > li.menu-item:nth-child(1)").find(".dropdown-menu").css({'display' : 'block', 'visibility' : 'visible'}) }); $("#main-menu > .j-menu > li.menu-item:nth-child(1)").mouseleave(function() { $(this).find(".dropdown-menu").css({'display' : 'none', 'visibility' : 'hidden'}) }); // --> HEADER DESKTOP > MAIN MENU > ΦΡΟΝΤΙΔΑ > FLAG AS TRIPLE // $("#main-menu > .j-menu > li.menu-item > .dropdown-toggle > .links-text:contains('ΦΡΟΝΤΙΔΑ')").closest(".menu-item").addClass("img_catalog_triple"); // --> HEADER DESKTOP > MAIN MENU > BRANDS > FLAG $("#main-menu > .j-menu > li.menu-item > .dropdown-toggle > .links-text:contains('BRANDS')").closest(".menu-item").addClass("main_menu_brands"); // --> HEADER DESKTOP > MAIN MENU > MEGA MENU > IMAGES > CAPTIONS $("#main-menu > .j-menu > li.menu-item.mega-menu .module-catalog .catalog-image img").each(function() { var imageCaption = $(this).attr("alt"); if (imageCaption != '') { $("" + imageCaption + "").insertAfter(this); } }); // --> HEADER DESKTOP > MAIN MENU > MEGA MENU > IMAGES > TOGGLE SUBMENUS $('.gp_catalog_image_container').on('click', 'a', function(e) { e.preventDefault(e); $(".gp_catalog_image_container > a").removeClass("gp_active"); $(this).addClass('gp_active'); $('.gp_catalog_subitems_container > .subitems').removeClass("gp_active") $(this).closest(".gp_catalog_image_container").siblings(".gp_catalog_subitems_container").find(" > .subitems").eq($(this).index()).addClass('gp_active'); // HEADER DESKTOP > MAIN MENU > MEGA MENU > IMAGES > TOGGLE SUBMENUS > SET THE VIEW ALL LINK $(this).closest(".gp_catalog_image_container").siblings(".gp_catalog_subitems_container").find(".gp_menu_view_all").attr("href", $(this).attr("href")); }); } // --> HEADER > MOBILE // ================================================================================================================================================================== if($("html").hasClass("mobile")){ // --> HEADER > MOBILE > MAIN MENU // --> HEADER > MOBILE > MAIN MENU > BACK BUTTON + TITLE $(".main-menu > .j-menu .j-menu").each(function(){ $('').prependTo(this); }) $(".gp_menu_back").each(function(){ // --> HEADER > MOBILE > MAIN MENU > BACK BUTTON FUNCTIONALITY $(this).find(">span.gp_back_button").on("click", function(){ $(this).closest(".collapse").siblings(".collapse-toggle").find(".open-menu").trigger("click"); }); // --> HEADER > MOBILE > MAIN MENU > TITLE AS LINK FUNCTIONALITY $(this).find(">span.gp_parent_link").on("click", function(e){ location.href = $(this).closest(".menu-item.dropdown").find("> a").attr("href"); }); }); // --> HEADER > MOBILE > MAIN MENU > BRANDS FUNCTIONALITY $(".gp_mobile_menu_header .gp_mobile_brands").click(function(e){ e.preventDefault; location.href = "/product/manufacturer"; // $(".main-menu > .j-menu > li:first-child > a").click(); }) $(".mobile .main-menu > .j-menu > li:first-child .gp_menu_back > .gp_parent_link").click(function(){ location.href = "/product/manufacturer"; }) // --> HEADER > MOBILE > MAIN MENU > SEARCH // --> HEADER > MOBILE > MAIN MENU > SEARCH > OVERLAY $('
').insertBefore("#search .dropdown-menu"); // --> HEADER > MOBILE > MAIN MENU > SEARCH > HEAD $('
ΑΝΑΖΗΤΗΣΗ
').prependTo("#search .dropdown-menu"); // --> HEADER > MOBILE > MAIN MENU > SEARCH > RESULTS $(".mobile-header-active .search-result").each (function () { if ($(this).find("> .product-name").text().length > 30) $(this).text($(this).text().substring(0,50) + '...'); }); // --> HEADER > MOBILE > MAIN MENU > SEARCH > ENABLE $("#search > button").click(function(){ $("html").addClass("gp_mobile_search_enabled"); }) // --> HEADER > MOBILE > MAIN MENU > SEARCH > DISABLE $(".gp_mobile_search_close").click(function(){ $("html").removeClass("gp_mobile_search_enabled"); }) } // --> MINICART // ======================================================================================================================================== $(".default-cart-wrapper, .mobile-cart-wrapper").on('click', function(e) { e.preventDefault(e); }) $("#cart-content").prependTo(".site-wrapper"); $("#cart > a").on('click', function(e) { e.preventDefault(e); // --> MINICART > TOGGLE $("html").addClass("gp_minicart_enabled"); // --> MINICART > BUILD INTRO var gp_quantity = 0; $('#cart-content .td-qty').each(function() { var gp_str = $(this).text(); var gp_number = parseInt(gp_str.replace(/[^0-9.]/g, "")); var value = gp_number; gp_quantity += value; }); $(".gp_minicart_intro").remove(); $('
  • Υπάρχουν '+ gp_quantity +' ΠροϊόνταΣτο καλάθι μου

  • ').prependTo("#cart-content > ul"); }) // --> MINICART > TRANSLATIONS $("#cart-content > ul > .cart-totals tbody > tr:last-child .td-total-title").text("ΤΕΛΙΚΟ ΠΟΣΟ ΠΛΗΡΩΜΗΣ:"); // --> MINICART > CLOSE BUTTON $('').prependTo("#cart-content"); $(".gp_minicart_close").click(function(){ $("html").removeClass("gp_minicart_enabled"); }) // --> MINICART > MOBILE $(document).ready(function(){ if($("html").hasClass("mobile")){ $(".mobile-cart-content-wrapper > ul").insertAfter(".site-wrapper > #cart-content > .gp_minicart_close"); } }) // --> CART PAGE // ======================================================================================================================================== if($("html").hasClass("route-checkout-cart")){ // --> CART PAGE > TRANSLATIONS $(".cart-bottom .buttons .pull-right .btn-primary > span").text("Ολοκλήρωση παραγγελίας"); $(".cart-bottom .buttons .pull-left .btn-default").text("Συνεχίστε τις αγορές σας"); $(".cart-bottom #button-coupon").text("Καταχώρηση"); $(".cart-bottom #button-coupon").attr("value", "Καταχώρηση"); $(".panels-total .cart-total table tbody tr:last-child td:first-child strong").text("ΤΕΛΙΚΟ ΠΟΣΟ ΠΛΗΡΩΜΗΣ"); // --> CART PAGE > BUILD INTRO var gp_quantity = 0; $('#checkout-cart .td-qty .stepper').each(function() { var gp_value = $(this).find("> input").val(); gp_quantity += parseInt(gp_value); }); $('
    ΣΥΝΕΧΙΣΤΕ ΤΙΣ ΑΓΟΡΕΣ ΣΑΣ

    Υπάρχουν'+ gp_quantity +' Προϊόντα στο καλάθι μου

    ΟΛΟΚΛΗΡΩΣΗ ΠΑΡΑΓΓΕΛΙΑΣ
    ').prependTo("#content"); // --> CART PAGE > TABLE HEAD $(".cart-page table thead .td-name").attr("colspan", 2); $(".cart-page table thead .td-image").remove(); // --> CART PAGE > TABLE ROW $('.cart-page table tbody tr').each(function(){ // --> CART PAGE > TABLE ROW > PRODUCT MODEL var gp_product_model = $(this).find("> .td-model").text(); $('Κωδικός Προϊόντος: '+ gp_product_model +'').insertAfter($(this).find("> .td-name > a")); // --> CART PAGE > TABLE ROW > PRODUCT STATS $(this).find("> .td-name > small").each(function(){ var string = $(this).text(); var gp_first_part = string.slice(0, string.indexOf(":") + 1); var gp_second_part = string.slice(string.indexOf(":") + 1, 100); $(''+ gp_first_part +''+ gp_second_part +'').insertBefore(this); $(this).remove(); }) }) // --> CART PAGE > MOBILE if($("html").hasClass("mobile")){ $(document).ready(function(){ // --> ADD LABEL FOR PRICES $('.cart-page table tbody tr .td-price').each(function(){ $('Τιμή ανά τεμάχιο:').prependTo(this); }) $('.cart-page table tbody tr .td-total').each(function(){ $('Συνολική τιμή:').prependTo(this); }) }) } } // --> ASK THE EXPERTS // ======================================================================================================================================== // --> ASK THE EXPERT > DESKTOP if(!$("html").hasClass("mobile")){ $(".module-form-311").prependTo(".site-wrapper"); // --> ASK THE EXPERT > BADGE (DISABLED) // $('').prependTo("html:not(.popup) .site-wrapper"); } // --> ASK THE EXPERT > MOBILE if($("html").hasClass("mobile")){ // --> ASK THE EXPERT > MOBILE > PLACEMENT $(".module-form-311").insertAfter(".mobile-wrapper-header"); // --> ASK THE EXPERT > MOBILE > CLOSE FUNCTIONALITY $(".ask_the_expert, .gp_ask_the_experts").click(function(){ $(".mobile-wrapper-header > a.x").removeClass().addClass("x_for_ask"); }) $(".mobile-wrapper-header > a").click(function(){ $(".module-form-311 .gp_ask_close").trigger("click"); setTimeout(function(){ $(".mobile-wrapper-header > a").removeClass().addClass("x"); }, 400); }) } // --> ASK THE EXPERT > CLOSE BUTTON $(".gp_ask_close").click(function(){ $("html").removeClass("gp_ask_enabled"); }) // --> ASK THE EXPERT > RADIO FIELD > BODY HEIGHT $(document).ready(function(){ $(".module-form-311 .module-body").height($(window).height() - $(".gp_ask_header").height() - 80); }) // --> ASK THE EXPERT > RADIO FIELD > FLAG $(".module-form-311 .radio").closest(".form-group").addClass("gp_radio_field"); $("Με ποιόν τρόπο προτιμάτε να επικοινωνήσουμε μαζί σας\;").insertBefore(".module-form-311 .gp_radio_field"); // --> ASK THE EXPERT > EFFECT $(".ask_the_expert, .gp_ask_the_experts, .ask_our_experts").click(function(){ $("html").addClass("gp_ask_enabled"); }) // --> HOME // ======================================================================================================================================== if($("html").hasClass("route-common-home")){ // --> HOME > SCROLL EFFECT BASED ON VIEWPORT VISIBILITY $.fn.isInViewport = function() { var elementTop = $(this).offset().top; var elementBottom = elementTop + $(this).outerHeight(); var viewportTop = $(window).scrollTop(); var viewportBottom = viewportTop + $(window).height(); return elementBottom > viewportTop && elementTop < viewportBottom; }; $(window).on('load resize scroll', function() { $(".common-home .site-wrapper > div > .grid-rows > .grid-row:not(:first-child)").each(function(){ if ($(this).isInViewport()) { $(this).addClass("gp_in_viewport"); } }) }); // --> HOME > SLIDER > SCROLL DOWN $('
    SCROLL DOWN
    ').prependTo(".module-master_slider"); $('.gp_scroll_down').on('click', function (e) { e.preventDefault(); var target = this.hash; var $target = $(target); $('html.desktop').stop().animate({ 'scrollTop': $(".module-master_slider-347").height() - $("header").height() + 60 }, 400, 'swing'); // $('html.mobile').stop().animate({ // 'scrollTop': $(window).height() + $(".mobile-bar").height() - $(".mobile-top-bar").height() + 1 // }, 700, 'swing'); }); // --> HOME > SHOP BY NEED // --> HOME > SHOP BY NEED > ΚΟΨΙΜΟ $(window).on('load resize', function () { if ($("html").hasClass("desktop")){ // --> HOME > SHOP BY NEED > ΚΟΨΙΜΟ > POSITIONING $(".module-banners-290").css("padding-left", $('.module-blog_posts-40').closest('.grid-col').offset().left); // --> HOME > SHOP BY NEED > ΚΟΨΙΜΟ > NAVICATION $(".module-banners-290 .swiper-buttons").css("margin-left", "-"+ $('.module-blog_posts-40').closest('.grid-col').offset().left +"px"); } }); // --> HOME > PARALLAX ROWS > FLAG $(".wave").closest(".grid-row").addClass("gp_has_parallax"); // --> HOME > ΥΓΕΙΑ & ΟΜΟΡΦΙΑ > FLAG $(".module-products-302").closest(".grid-row").addClass("gp_ygeia_omorfia"); // --> HOME > ΥΓΕΙΑ & ΟΜΟΡΦΙΑ > MOBILE if($("html").hasClass("mobile")){ // --> HOME > ΥΓΕΙΑ & ΟΜΟΡΦΙΑ > MOBILE > MOVE BANNER $(".module-banners-307").insertAfter(".module-title-305"); } // --> ΗΟΜΕ > ΓΙΑ ΤΗ ΜΗΤΕΡΑ ΚΑΙ ΤΟ ΠΑΙΔΙ > FLAG $(".module-products-309").closest(".grid-row").addClass("gp_mitera_paidi"); // --> HOME > ΓΙΑ ΤΗ ΜΗΤΕΡΑ ΚΑΙ ΤΟ ΠΑΙΔΙ > MOBILE if($("html").hasClass("mobile")){ // --> HOME > ΓΙΑ ΤΗ ΜΗΤΕΡΑ ΚΑΙ ΤΟ ΠΑΙΔΙ > MOBILE > MOVE BANNER $(".module-banners-308").insertAfter(".module-title-306"); } // --> ΗΟΜΕ > BRANDS CAROUSEL > CHANGE SKINCEUTICALS LINK TO CUSTOM PAGE $('.module-manufacturers-38 .manufacturer-thumb .image a[href*="skinceuticals-proionta"]').attr("href", "/SkinCeuticals") } // --> MAIN CATEGORY // ======================================================================================================================================== // --> MAIN CATEGORY > INTRO $(".category-78, .category-79, .category-80, .category-83, .category-81, .category-455").addClass("gp_main_category"); if ($("html").hasClass("gp_main_category")) { $("#top .module-blocks .block-description, #content > h1").insertBefore("#content .module-categories").wrapAll('
    '); } // --> SUB CATEGORY // ======================================================================================================================================== if (!$("html").hasClass("gp_main_category") && $("html").hasClass("route-product-category")) { // --> SUB CATEGORY > INTRO $("html").addClass("gp_sub_category"); // --> SUB CATEGORY > INTRO > SET HERO IMAGE // --> SUB CATEGORY > INTRO > SET HERO IMAGE > REMOVE PRE-EXISTING IN DESCRIPTION // $(".module-blocks-315 .block-wrapper img").remove(); // --> SUB CATEGORY > INTRO > SET HERO IMAGE BY FIRST CHECKING AND GIVING PRIORITY IMAGE INCLUDED IN DESCRIPTION // if no image exists in description if(!$(".module-blocks-315 .block-wrapper img").length){ switch ($(".breadcrumb > li:nth-child(2) a").text()) { case "ΓΙΑ ΤΗ ΓΥΝΑΙΚΑ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΓΙΑ ΤΟΝ ΑΝΤΡΑ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΜΗΤΕΡΑ & ΠΑΙΔΙ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΦΡΟΝΤΙΔΑ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΔΙΑΤΡΟΦΗ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΥΓΕΙΑ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); break; case "ΑΘΛΗΤΕΣ": $(".module-blocks-315 .block-wrapper img").remove(); $("html").addClass("gp_transparent_header"); $('').appendTo(".module-blocks-315 .block-description"); default: // --> SUB CATEGORY > INTRO > IN CASE NO IMAGE EXISTS $("html").addClass("gp_sub_category_no_image"); $("html").removeClass("gp_transparent_header"); } } // if image does exist in description else{ $("html").addClass("gp_transparent_header"); $(".module-blocks-315 .block-wrapper img").appendTo(".module-blocks-315 .block-description"); } // --> SUB CATEGORY > INTRO > LAYOUT $(".module-blocks-315 .block-wrapper img").unwrap("p").addClass("gp_cat_image"); $(".module-blocks-315 .block-wrapper > *:not(img)").wrapAll('
    '); // --> SUB CATEGORY > REFINE CATEGORIES $(".refine-categories").prependTo(".site-wrapper > .container"); } // --> SUB CATEGORY > SET THE SUBCATEGORY CONTENT LAYOUT HERE $(".route-product-search").addClass("gp_sub_category, gp_sub_category_no_image"); if ($("html").hasClass("gp_sub_category")) { // --> SUB CATEGORY > FILTERS > CATEGORY TITLE $(".mainNav > ul > li > a").text("Επιλέξτε Κατηγορία"); // --> SUB CATEGORY > FILTERS > PRICE $("Από").insertBefore(".filter-price .extra-controls .filter-price-min"); $("Έως").insertBefore(".filter-price .extra-controls .filter-price-max"); // --> SUB CATEGORY > SORT BAR $(".main-products-wrapper .pagination").clone().appendTo(".products-filter"); // --> SUB CATEGORY > CUSTOM CHANGES > SYNCED TO AJAX UPDATE const elementToObserve = document.querySelector(".container > .row"); const observer = new MutationObserver(function() { if($("html").hasClass("mobile")){ location.reload(); // $("#top .mainNav").appendTo(".mobile-filter-container"); } // --> SUB CATEGORY > CUSTOM CHANGES > SYNCED TO AJAX UPDATE > SORT BAR if($(".products-filter .pagination").length == 0){ $(".main-products-wrapper .pagination").clone().appendTo(".products-filter"); } // --> SUB CATEGORY > CUSTOM CHANGES > SYNCED TO AJAX UPDATE > PRICE $("Από").insertBefore(".filter-price .extra-controls input:first-child"); $("Έως").insertBefore(".filter-price .extra-controls input:last-of-type"); $(".product-thumb").each(function(){ // --> SUB CATEGORY > CUSTOM CHANGES > SYNCED TO AJAX UPDATE > PRODUCT GRID > ADD TO CART CLICK POPUP ACTION $(this).find(".btn-cart").on("click", function(){ $(".product-thumb").removeClass("gp_cart_btn_activated") $(this).closest(".product-thumb").addClass("gp_cart_btn_activated"); }) }) // --> SUB CATEGORY > CUSTOM CHANGES > SYNCED TO AJAX UPDATE > PRODUCT GRID > OUT OF STOCK CART BUTTON $(".out-of-stock").each(function(){ $(this).find(".product-thumb .btn-cart.btn .btn-text").text("ΕΞΑΝΤΛΗΘΗΚΕ"); }); }); observer.observe(elementToObserve, {childList: true}); // --> SUB CATEGORY > MOBILE if($("html").hasClass("mobile")){ $(".mobile.gp_sub_category").removeClass("gp_transparent_header"); // --> SUB CATEGORY > MOBILE > INSERT HOT CATEGORIES INTO CATEGORY ACCORDION // callback executed when categories accordion was found function handleAccordion(accordion) { $('').prependTo(".accordion-menu-19 > .j-menu > li.active > .collapse > .j-menu"); } // set up the mutation observer var gp_accordion_observer = new MutationObserver(function (mutations, me) { // `mutations` is an array of mutations that occurred // `me` is the MutationObserver instance var accordion = $('.accordion-menu-19'); if (accordion) { handleAccordion(accordion); me.disconnect(); // stop observing return; } }); // start observing gp_accordion_observer.observe(document, { childList: true, subtree: true }); $(document).ready(function(){ //--> SUB CATEGORY > MOBILE > CATEGORY ACCORDION $(".accordion-menu-19 > .j-menu > li.active > a > .open-menu").trigger("click"); }) } } // --> FEATURED CATEGORIES // ======================================================================================================================================== if($(".featured-categories").length){ $("html").addClass("gp_featured_categories"); } // --> PRODUCT GRID // ======================================================================================================================================== // --> PRODUCT GRID > ADD TO CART CLICK POPUP ACTION $(".product-thumb").each(function(){ $(this).find(".btn-cart").on("click", function(){ $(".product-thumb").removeClass("gp_cart_btn_activated") $(this).closest(".product-thumb").addClass("gp_cart_btn_activated"); }) }) var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { console.log(mutation) if (mutation.addedNodes && mutation.addedNodes.length > 0) { // element added to DOM var hasClass = [].some.call(mutation.addedNodes, function(el) { if( el.classList ) { return el.classList.contains('popup-options'); } else { return false; } }); if (hasClass) { $("html").addClass("gp_options_popup_activated") $(".popup-options").appendTo(".gp_cart_btn_activated").css("transform", "translateY(100%)"); setTimeout(function(){ $(".popup-options").addClass("gp_do_effect"); }, 10) } } }); }); var config = { attributes: true, childList: true, characterData: true }; observer.observe(document.body, config); // --> PRODUCT GRID > CLOSE ADD TO CART POPUP $(document).on('click','.popup-close',function () { $("html").removeClass("gp_options_popup_activated"); $(".product-thumb").removeClass("gp_cart_btn_activated"); setTimeout(function(){ $(".popup-options").hide() }, 300); return false; }); // --> PRODUCT GRID > OUT OF STOCK CART BUTTON $(".out-of-stock").each(function(){ $(this).find(".product-thumb .btn-cart.btn .btn-text").text("ΕΞΑΝΤΛΗΘΗΚΕ"); }); // --> PRODUCT PAGE // ========================================================================================================================================= if ($("html").hasClass("route-product-product")){ // --> PRODUCCT PAGE > BUTTONS TRANSLATION $(".route-product-product .product-info .button-group-page .btn-cart .btn-text").text("Προσθήκη στο καλάθι"); $(".route-product-product .product-details .wishlist-compare > a.btn-wishlist > span").text("Στα αγαπημένα"); // --> PRODUCT PAGE > OPTIONS $('.product-options > .product-option-select').each(function(){ $(this).find("select option:eq(0)").text($(this).find("label").text()); $(this).find("label").hide(); }) if(!$("html").hasClass("popup-options")) { // --> PRODUCT PAGE > BRAND PLACEMENT $(".product-manufacturer").prependTo(".product-details > .page-title"); // --> PRODUCT PAGE > MOBILE > BRAND + TITLE // if ($(window).width() < 760) { // $(".route-product-product:not(.popup) .product-info div.page-title").insertAfter(".route-product-product:not(.popup) #content > .page-title"); // } // --> PROCUCT PAGE > CALCULATE SAVINGS if($(".product-details .product-price-group .product-price-old").length){ $(".product-details .price-wrapper").addClass("gp_you_save_wrapper"); var gp_str1 = $('.product-details .product-price-group .product-price-new').text(); var gp_price_new = gp_str1.replace('€', ''); var gp_price_new = parseInt(gp_price_new); var gp_str2 = $('.product-details .product-price-group .product-price-old').text(); var gp_price_old = gp_str2.replace('€', ''); var gp_price_old = parseInt(gp_price_old); var gp_save_amount = (gp_price_old - gp_price_new).toFixed(2); // var gp_save_percent = ((gp_save_amount * 100) / gp_price_old).toFixed(2); // var gp_save_percent = Math.ceil(Math.ceil((gp_save_amount * 100) / gp_price_old) / 5) * 5; // Get the text inside the b element var gp_save_percent = $(".main-image .product-label-233 > b").text().replace(/[-%]/g, ""); $('
    Κερδίζετε: '+gp_save_amount+'€ ('+gp_save_percent+'%)
    ').appendTo(".gp_you_save_wrapper"); } // --> PRODUCT PAGE > PRODUCT STATS PLACEMENT $(".product-info .product-stats ul").insertAfter(".product-details > .page-title").addClass("gp_product_stats"); // --> PRODUCT PAGE > OUT OF STOCK $("html[lang='el'] .product-details .out-of-stock > span").text("ΜΗ ΔΙΑΘΕΣΙΜΟ"); $("html[lang='en'] .product-details .out-of-stock > span").text("OUT OF STOCK"); if($(".product-details .out-of-stock").length){ $("html").addClass("gp_out_of_stock"); } // --> PRODUCT PAGE > REVIEWS // --> PRODUCT PAGE > REVIEWS > POSITIONING $(".desktop .product-details > .rating").appendTo(".product-details .product-stock"); // --> PRODUCT PAGE > REVIEWS > CHANGE TEXT $(".product-details .review-links > a:first-of-type").text("Reviews"); // --> PRODUCT PAGE > REVIEWS > STARS FUNCTIONALITY $(".product-details .rating").click(function(e){ if(!$(".gp_reviews_section .gp_tab_head").hasClass("gp_activated")){ $('a[href="#tab-review"]').trigger("click"); } setTimeout(function(){ $('html, body').animate({ scrollTop: $(".gp_reviews_section").offset().top - $(".header").height() - $(".desktop-main-menu-wrapper").height() + 15 }, 260); }, 220) }) // $(".product-details > .rating").appendTo(".product-details > .product-price-group"); // $('REVIEWS').insertBefore(".product-details .rating-stars"); // --> PRODUCT PAGE > REARRANGE FOR STEPPER $(".product-details .product-options").insertAfter(".product-details .stepper"); $(".product-details #button-cart").insertAfter(".product-details .stepper-group").addClass("cart-group"); $(".product-details .stepper-group").removeClass("cart-group") // --> PRODUCT PAGE > ASK A QUESTION $(".extra-group .btn-extra-316").appendTo(".wishlist-compare"); $(".wishlist-compare .btn-extra-316").nextAll(".btn-extra-316").remove(); // // --> PRODUCT PAGE > MAKE SURE LEFT SIDEBAR EXISTS WHETHER ADDITIONAL IMAGES OR NOT // if(!$(".product-image > .additional-images").length){ // $('
    ').insertAfter(".product-image > .main-image"); // } // // --> PRODUCT PAGE > SHARE + GALLERY PLACEMENT // $(".product-blocks-317").appendTo(".additional-images .swiper-wrapper"); // // --> PRODUCT PAGE > SHARE // $(".module-blocks-57 .module-item-1 .btn").click(function(e){ // $(this).closest(".block-wrapper").toggleClass("gp_enabled"); // e.preventDefault(); // }); // --> PRODUCT PAGE > GALLERY $(".module-blocks-318 .module-item-1 .block-footer > .btn").click(function(e){ e.preventDefault(); $(".product-image .swiper.main-image .swiper-slide").trigger("click"); }); // --> PRODUCT PAGE > RELATED PRODUCTS // $(".module-products-272").closest(".grid-col").addClass("gp_related_container"); // --> PRODUCT PAGE > RELATED PRODUCTS > IF NO AVAILABLE PRODUCTS THEN HIDE THE RELATED PRODUCTS SECTION if(!$(".module-products-272").length){ $(".module-title-319").closest(".grid-col").hide(); } // --> PRODUCT PAGE > RECENTLY VIEWED PRODUCTS // $(".module-products-307").closest(".grid-col").addClass("gp_recently_viewed_container"); // --> PRODUCT PAGE > ΑΜΕΣΗ ΑΓΟΡΑ $(".extra-group .btn-extra-46").insertBefore("#button-cart"); $(".btn-extra-46").nextAll(".btn-extra-46").remove(); $(".btn-extra-46, #button-cart").wrapAll("
    "); } // --> PRODUCT PAGE > RESTRUCTURE TABS SECTION INTO ACCORDION $('
    ').insertAfter(".product-details"); $(document).ready(function() { // initialize $('#tabs > li, .tab-content > div').removeClass(); // Περιγραφή $('#tabs > li > a[href="#tab-description"], .tab-content > #tab-description').appendTo(".gp_tabs").wrapAll("
    "); // Οδηγίες Χρήσης $('#tabs > li > a[href="#tab-instructions"], .tab-content > #tab-instructions').appendTo(".gp_tabs").wrapAll("
    "); // Συστατικά $('#tabs > li > a[href="#tab-ingredients"], .tab-content > #tab-ingredients').appendTo(".gp_tabs").wrapAll("
    "); // Στοιχεία Εταιρείας $('#tabs > li > a[href="#company-info"], .tab-content > #company-info').appendTo(".gp_tabs").wrapAll("
    "); // Αξιολογήσεις $('#tabs > li > a[href="#tab-review"], .tab-content > #tab-review').appendTo(".gp_tabs").wrapAll("
    "); // set heads and bodies $(".gp_tabs a").addClass("gp_tab_head"); $(".gp_tabs a+div").addClass("gp_tab_content"); // functionality $('.gp_tab_head').click(function() { $(this).toggleClass("gp_activated").parent().parent().siblings().find('.gp_tab_head').removeClass("gp_activated"); }); // first open $('.gp_description_section a[href="#tab-description"]').trigger("click"); }); // --> PRODUCT PAGE > MOBILE if($("html").hasClass("mobile")){ // --> PRODUCT PAGE > MOBILE > LABELS POSITIONING $(".product-info .main-image .product-labels").insertAfter(".product-info .product-image"); } } // --> BLOG POST // ======================================================================================================================================== if ($("html").hasClass("route-journal3-blog-post")){ // // BLOG POST > BREADCRUMBS // $(".breadcrumb").prependTo("#top .grid-cols"); // --> BLOG POST > HERO IMAGE $(".post-image").prependTo(".grid-item-top-1-1-1"); // --> BLOG POST > INTRO $(".p-date, .page-title, .p-view").prependTo(".grid-item-top-1-2-1").wrapAll('
    '); // --> BLOG POST > INTRO > TIMES READ $(".p-view").text("Times Read: "+$(".p-view").text().replace(/[^\d.-]/g, '')); // --> BLOG POST > TEXT $(".post-content").prependTo(".grid-item-top-1-2-2"); // // BLOG POST > RELATED PRODUCTS (same as product page) // $(".module-products-239").closest(".grid-col").addClass("gp_related_container"); // --> BLOG POST > SHARE $(".module-blocks-322 .module-item-2 .btn").click(function(e){ $(this).closest(".block-wrapper").toggleClass("gp_enabled"); e.preventDefault(); }); // // BLOG POST > TAGS POSITIONING // $(".route-journal3-blog-post .tags").insertAfter(".route-journal3-blog-post .module-blocks-360 .module-item-1"); // // BLOG POST > TAGS TITLE CHANGE // $("html[lang='el'].route-journal3-blog-post .tags-title").text("Πηγές:"); // $("html[lang*='en'].route-journal3-blog-post .tags-title").text("Sources:"); // // BLOG POST > FLAG HERO IMAGE CONTAINER // $(".route-journal3-blog-post .post-image").closest(".grid-col").addClass("gp_post_hero_img_container"); } // --> CONTACT PAGE // ======================================================================================================================================== if ($("html").hasClass("route-information-contact")){ // --> CONTACT PAGE > BREADCRUMBS $(".module-banners-324").insertBefore(".breadcrumb"); // --> CONTACT PAGE > FLAG INPUTS $(".module-form-20 textarea").closest(".form-group").addClass("gp_contains_textarea"); // --> CHECK CURRENT URL TO SIDEBAR LINKS var current_url = $(location).attr('href'); $(".links-menu-76 > .module-body > .menu-item").each(function(){ if($(this).find("a").attr("href") == current_url){ $(this).addClass("gp_current"); } }) // --> CONTACT PAGE > MOBILE > TRANSPARENT HEADER if($("html").is(".mobile")){ $("html").addClass("gp_transparent_header"); } } // --> INFORMATION PAGES (ΤΡΟΠΟΙ ΑΠΟΣΤΟΛΗΣ & ΕΤΑΙΡΕΙΑ & ΤΡΟΠΟΙ ΠΑΡΑΓΓΕΛΙΑΣ & ΤΡΟΠΟΙ ΠΛΗΡΩΜΗΣ & ΟΡΟΙ ΧΡΗΣΗΣ) // ======================================================================================================================================== if ($("html").is(".information-9, .information-8, .information-11, .information-13, .information-5")){ // --> INFORMATION PAGES > FLAG IT $("html").addClass("gp_info_page"); // --> INFORMATION PAGES > BREADCRUMBS $("#top .module-banners").insertBefore(".breadcrumb"); // --> CHECK CURRENT URL TO SIDEBAR LINKS var current_url = $(location).attr('href'); $(".links-menu-76 > .module-body > .menu-item").each(function(){ if($(this).find("a").attr("href") == current_url){ $(this).addClass("gp_current"); } }) // --> INFORMATION PAGES > MOBILE > TRANSPARENT HEADER if($(".information-9, .information-8").is(".mobile")){ $("html").addClass("gp_transparent_header"); } } // --> INFORMATION PAGES (not for εταιρεία / αποστολές) // ======================================================================================================================================== if ($("html").hasClass("gp_info_page") && !$("html").hasClass("information-9") && !$("html").hasClass("information-8")){ $("html").addClass("gp_not_mockup"); // --> INFORMATION PAGES (not for εταιρεία / αποστολές) > MOVE IMAGE TO TOP $('#content img').appendTo(".grid-item-top-1-1-1").addClass("gp_hero_image"); // --> INFORMATION PAGES (not for εταιρεία / αποστολές) > MOVE BREADCRUMBS $(".gp_hero_image").insertBefore(".breadcrumb"); // --> INFORMATION PAGES (not for εταιρεία / αποστολές) > MOVE TITLE TO TOP $('

    i-cure

    ').appendTo(".grid-item-top-1-1-2"); $(".page-title").appendTo(".title-wrapper h3"); $("page-title").hide(); } // --> ΕΤΑΙΡΕΙΑ (ΠΟΙΟΙ ΕΙΜΑΣΤΕ) // ======================================================================================================================================== if ($("html").is(".information-8")){ $('').appendTo(".information-8 .links-menu-76"); } // --> MANUFACTURERS PAGE // ======================================================================================================================================== if($("html").hasClass("route-product-manufacturer")){ $(".page-title").html("Shop by Brandi-cure Brands"); // MANUFACTURERS PAGE > SMOOTH SCROLLING TO LINKS $('.route-product-manufacturer #content p > a').on('click', function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top - 140}, 250); }); // MANUFACTURERS PAGE > CHANGE SKINCEUTICALS LINK TO CUSTOM PAGE $('.route-product-manufacturer #content .manufacturer a[href*="skinceuticals-proionta"]').attr("href", "/SkinCeuticals"); // MANUFACTURERS PAGE > MOBILE if($("html").hasClass("mobile")){ // MANUFACTURERS PAGE > MOBILE > REMOVE BLANKS $('#mfilter-content-container > p').html( $('#mfilter-content-container > p').html().split(' ').join('') ); // MANUFACTURERS PAGE > MOBILE > SMOOTH SCROLLING TO LINKS $('#mfilter-content-container > p > a').on('click', function(event){ event.preventDefault(); $('html,body').animate({scrollTop:$(this.hash).offset().top - 80}, 250); }); } } // --> MANUFACTURER PAGE // ======================================================================================================================================== $(".route-product-manufacturer-info").addClass("gp_sub_category"); // --> MANUFACTURER: SKINCEUTICALS // ======================================================================================================================================== // --> MANUFACTURER: SKINCEUTICALS > MAIN BRANDS MENU > CHANGE SKINCEUTICALS LINK TO CUSTOM PAGE $('.module-manufacturers-274 a[href*="skinceuticals-proionta"]').attr("href", "/SkinCeuticals") if($("html").hasClass("information-10")){ // --> MANUFACTURER: SKINCEUTICALS > TOGGLE MORE CATEGORIES $(".links-menu-339 .module-title").on("click", function(e){ e.preventDefault(); $(".links-menu-339").toggleClass("gp_show_more"); }) // --> MANUFACTURER: SKINCEUTICALS > TRUNCATE CHARS $(".module-blog_posts-343 .post-layout").each (function () { if ($(this).find(">.post-thumb .description").text().length > 80) $(this).find(">.post-thumb .description").text($(this).find(">.post-thumb .description").text().substring(0,80) + '...'); }); } // --> CHECKOUT PAGE // ======================================================================================================================================== if($("html").hasClass("route-checkout-checkout")){ $(document).ready(function(){ // --> CHECKOUT PAGE > TRANSLATIONS $(".section-cvr button span").text("ΚΑΤΑΧΩΡΗΣΗ"); // --> CHECKOUT PAGE > REQUIRED FIELDS $(".quick-checkout-wrapper .left input.form-control").each(function(){ $(this).attr('placeholder', $(this).attr('placeholder') + ' *'); }) // --> CHECKOUT PAGE > ΣΧΟΛΙΑ ΠΑΡΑΓΓΕΛΙΑΣ $(".confirm-section .section-title, .confirm-section .section-comments").appendTo(".left").wrapAll('
    '); // --> CHECKOUT PAGE > CART TABLE // --> CHECKOUT PAGE > CART TABLE > TABLE HEAD $(".checkout-section.cart-section table thead .td-product").attr("colspan", 2); $(".checkout-section.cart-section table thead .td-image").remove(); // --> CHECKOUT PAGE > CART TABLE > TABLE ROW $('.checkout-section.cart-section table tbody tr').each(function(){ // --> CHECKOUT PAGE > CART TABLE > TABLE ROW > PRODUCT NAME TRUNCATE CHARS // if ($(this).find("> .td-product > a").text().length > 65) // if ($(this).find("> .td-product > a").text($(this).find("> .td-product > a").text().substring(0,65) + '...')); // --> CHECKOUT PAGE > CART TABLE > TABLE ROW > PRODUCT MODEL (carried over from cart page) var gp_product_model = $(this).find("> .td-model").text(); $('Κωδικός Προϊόντος: '+ gp_product_model +'
    ').insertAfter($(this).find("> .td-product > a")); // --> CHECKOUT PAGE > CART TABLE > TABLE ROW > PRODUCT STATS $(this).find("> .td-product > small").each(function(){ var string = $(this).text(); var gp_first_part = string.slice(0, string.indexOf(":") + 1); var gp_second_part = string.slice(string.indexOf(":") + 1, 100); $(''+ gp_first_part +''+ gp_second_part +'').insertBefore(this); $(this).remove(); }) }) }) } // --> CHECKOUT > SUCCESS // ======================================================================================================================================== if($("html").hasClass("route-checkout-success")){ if($(".ty_body").length){ $("html").addClass("gp_success_after_checkout"); $('
    Ευχαριστούμε για την προτίμηση
    Θα χαρούμε να σας εξυπηρετήσουμε ξανά. Είμαστε πάντα στη διάθεση σας!
    Για οποιαδήποτε πληροφορία μη διστάσετε να επικοινωνήσετε με την ομάδα του i-cure.gr.
    ').appendTo("#content > .buttons") $("#content > .buttons .btn-primary").text("ΣΥΝΕΧΙΣΤΕ ΤΙΣ ΑΓΟΡΕΣ ΣΑΣ"); } } // --> FOOTER // ======================================================================================================================================== // --> FOOTER > SCROLL TO TOP $(document).ready(function(){ $('
    TOP
    ').prependTo(".gp_footer_links_row > .grid-cols"); $(".gp_to_top").click(function(){ $(".scroll-top").trigger("click"); }) }) // --> FOOTER > SKROUTZ BADGE // callback executed when skroutz badge was found function handleBadge(badge) { $(".desktop #sa-badge-floating-plugin").insertAfter(".icons-menu-61"); $(".mobile #sa-badge-floating-plugin").insertAfter(".module-newsletter-67"); } // set up the mutation observer var observer = new MutationObserver(function (mutations, me) { // `mutations` is an array of mutations that occurred // `me` is the MutationObserver instance var badge = document.getElementById('sa-badge-floating-plugin'); if (badge) { handleBadge(badge); me.disconnect(); // stop observing return; } }); // start observing observer.observe(document, { childList: true, subtree: true }); // --> FOOTER > PAYMENTS ROW > FLAG $(".links-menu-78").closest(".grid-row").addClass("gp_footer_payments_row"); // --> FOOTER > COLUMNS ROW > FLAG $(".links-menu-72").closest(".grid-row").addClass("gp_footer_links_row"); // --> FOOTER > MOBILE if($("html").hasClass("mobile")){ // --> FOOTER > MOBILE > ΕΠΙΚΟΙΝΩΝΙΑ COLUMN $(".icons-menu-61").insertAfter(".gp_footer_contact"); // --> FOOTER > MOBILE > ACCORDION FUNCTIONALITY $(".gp_footer_links_row .grid-cols .grid-col:not(:last-child)").each(function(){ $('').appendTo($(this).find(".module-title")); $(this).find(".module-title").click(function(){ $(this).closest(".grid-col").toggleClass("gp_accordion_tab_enabled"); }) }) $(".gp_footer_links_row .grid-cols .grid-col:first-child").addClass("gp_accordion_tab_enabled"); $(".tablet .gp_footer_links_row .grid-cols .grid-col").addClass("gp_accordion_tab_enabled"); } // --> NOT FOUND // ======================================================================================================================================== // --> NOT FOUND > FLAG IT if($(".site-wrapper").find("> #error-not-found").length){ $("html").addClass("gp_notfound_page"); } // --> COMMON // ======================================================================================================================================== // --> HEADER DESKTOP > FLAG TRANSPARENT HEADER $(".route-common-home, .gp_main_category").addClass("gp_transparent_header"); // --> COMMON > FLAG BUTTONS WHICH WILL HAVE SOME SORT OF HOVER EFFECT // $('.btn:not(.btn-cart):not(.btn-compare):not(.btn-wishlist), .gp_footer_contact, .gp_btn_checkout, .gp_btn_continue, .module-title > a, .nav-tabs > li > a+a').addClass("gp_btn_effect");\ // --> COMMON > MOBILE // --> COMMON > MOBILE > ACCORDIONS FROM TABS $(document).ready(function(){ $(".carousel-mode .panel-group .panel.active").addClass("panel-active"); }); // --> COMMON > FORMS > ERROR HANDLING $(".form-group.required").click(function(){ $(this).removeClass("has-error"); $(this).find(">.text-danger").hide(); }) // --> COMMON > AGREE TO TERMS WORDING $(document).ready(function(){ $("a.agree").text("Όρους Χρήσης"); }); // --> COMMON > BLOG GRID ITEM // --> COMMON > BLOG GRID ITEM > TRUNCATE CHARS $(".post-thumb .name a").each (function () { if ($(this).text().length > 85) $(this).text($(this).text().substring(0,85) + '...'); }); // --> COMMON > BREADCRUMBS // --> COMMON > BREADCRUMBS > CHANGE HOME TEXT function changeHome(el) { el.closest("li").addClass("gp_breadcrumb_home"); $(".gp_breadcrumb_home").find("i").remove(); $(".gp_breadcrumb_home a").text("Αρχική Σελίδα"); } changeHome($(".breadcrumb .fa-home")); // --> COMMON > BREADCRUMBS > TRUNCATE CHARS $(".breadcrumb li a").each (function () { if ($(this).text().length > 50) $(this).text($(this).text().substring(0,50) + '...'); }); // --> COMMON > DETECT SCROLL $(document).on('scroll ready', function(){ if ($(window).scrollTop() > 0) { $("html").addClass("gp_sticky"); } else { $("html").removeClass("gp_sticky"); } }); // --> COMMON > BODY COVER WHILE LOADING $(window).load(function () { $("html").addClass("gp_fully_loaded"); }); $(window).on('beforeunload', function(){ $("html").removeClass("gp_fully_loaded"); }); $(document).ready(function() { checkContentChange(); }); function checkContentChange() { var originalContent = parseFloat($('td[data-total="Σύνολο"]').text().replace('€', '').replace(',', '.')); setInterval(function() { var currentContent = parseFloat($('td[data-total="Σύνολο"]').text().replace('€', '').replace(',', '.')); if (currentContent < 15 && $('input[name="shipping_method"][value="xshippingpro.xshippingpro5"]').is(':checked')) { $("#quick-checkout-button-confirm").attr("disabled", "disabled"); } else { $("#quick-checkout-button-confirm").removeAttr("disabled"); } }, 1000); } // Return Page $('.links-menu-76 a[href="' + window.location.href + '"]') .closest('li') .addClass('gp_current');