// Sélectionne l’élément par son ID  const tracabilite_span = document.getElementById(‘tracabilite_event’);  // Ajoute un écouteur de clic à cet élément  tracabilite_span.addEventListener(‘click’, function() {    const iframe = document.getElementById(‘iframe_tracabilite’);    if (!iframe.src || iframe.src === window.location.href) {      iframe.src = iframe.dataset.src;    }  });  document.addEventListener(‘DOMContentLoaded’, function() {    function isIE() {      const ua = window.navigator.userAgent;      const msie = ua.indexOf(‘MSIE ‘);      const trident = ua.indexOf(‘Trident/’);      return (msie > 0 || trident > 0);    }    if (!isIE()) return;    const hiddenInput = document.querySelector(‘#product-form-template–15364109533380__main input[name=”id”]’);    const noScriptInputWrapper = document.createElement(‘div’);    const variantSwitcher = document.querySelector(‘variant-radios[data-section=”template–15364109533380__main”]’) || document.querySelector(‘variant-selects[data-section=”template–15364109533380__main”]’);    noScriptInputWrapper.innerHTML = document.querySelector(‘.product-form__noscript-wrapper-template–15364109533380__main’).textContent;    variantSwitcher.outerHTML = noScriptInputWrapper.outerHTML;    document.querySelector(‘#Variants-template–15364109533380__main’).addEventListener(‘change’, function(event) {      hiddenInput.value = event.currentTarget.value;    });  });  {    “@context”: “http://schema.org/”,    “@type”: “Product”,    “name”: “Chaussettes femme en laine alpaga mélangé bleu marine”,    “url”: “https://www.eden-park.com/en/products/chaussettes-femme-en-laine-alpaga-melange-bleu-marine-h24actch0013_blf”,    “image”: [        “https://www.eden-park.com/cdn/shop/files/H24ACTCH0013_b-hd-face_1500x.jpg?v=1727794687”      ],    “description”: “Contenant de la laine et de la laine d’alpaga, ces chaussettes montantes promettent confort et chaleur, même au cœur de l’hiver. Ces fibres naturelles et hypoallergéniques ont été sélectionnées pour leur qualité. Ces chaussettes marine dotées de détails rose pâle s’accordent aisément au vestiaire de la femme Eden Park. n Broderie nœud papillon n Talons et dessous de pieds renforcésn”,    “sku”: “3606379191126”, “gtin13”: “3606379191126”,    “brand”: {      “@type”: “Brand”,      “name”: “Eden Park”    },    “offers”: [{          “@type” : “Offer”,”sku”: “3606379191126”,”availability” : “http://schema.org/InStock”,          “price” : 35.0,          “priceCurrency” : “EUR”,          “url” : “https://www.eden-park.com/en/products/chaussettes-femme-en-laine-alpaga-melange-bleu-marine-h24actch0013_blf?variant=49042038489423”        },{          “@type” : “Offer”,”sku”: “3606379191133”,”availability” : “http://schema.org/InStock”,          “price” : 35.0,          “priceCurrency” : “EUR”,          “url” : “https://www.eden-park.com/en/products/chaussettes-femme-en-laine-alpaga-melange-bleu-marine-h24actch0013_blf?variant=49042038587727”        }]  }

.section-template–15364109533380__complete_the_look-padding {    padding-top: 27px;    padding-bottom: 27px;  }  @media screen and (min-width: 750px) {    .section-template–15364109533380__complete_the_look-padding {      padding-top: 36px;      padding-bottom: 36px;    }  }
  

     

                                                                                         Free delivery
from 99 € purchase

     

                                                                                         Secure payment
via Paypal, Visa, Mastercard, Apple Pay

                                                                                      Returns
within 14 days
                                                       Customer service
+33 1 55 90 44 00
  

 

.section-template–15364109533380__cfe7b410-ff69-4bd4-aeb5-8aca002aef00-padding {  padding-top: calc(0px * 0.75);  padding-bottom: calc(0px  * 0.75);}@media screen and (min-width: 750px) {  .section-template–15364109533380__cfe7b410-ff69-4bd4-aeb5-8aca002aef00-padding {    padding-top: 0px;    padding-bottom: 0px;  }}

 

   window.addEventListener(‘load’, () => {  const _learnq = window._learnq || [];  let klAjax = true;   const addedToCart = async () => {    try {      const response = await fetch(`${window.location.origin}/cart.js`);      if (!response.ok) {        throw new Error(‘Network response was not ok’);      }      const data = await response.json();      const cart = {        total_price: data.total_price / 100,        $value: data.total_price / 100,        total_discount: data.total_discount,        original_total_price: data.original_total_price / 100,        items: data.items,        …(typeof item !== ‘undefined’ && item)      };       if (klAjax) {        console.log(‘Pushing to _learnq:’, cart); // Logging for debugging        _learnq.push([‘track’, ‘Added to Cart’, cart]);        klAjax = false;      }    } catch (error) {      console.error(‘Error fetching cart data:’, error);    }  };   const originalFetch = window.fetch.bind(window);  window.fetch = (…args) => {    return originalFetch(…args).then(response => {      if (response.url.includes(`${window.location.origin}/cart/add.js`)) {        addedToCart();      }      return response;    });  };   const debounce = (func, wait) => {    let timeout;    return (…args) => {      clearTimeout(timeout);      timeout = setTimeout(() => func.apply(this, args), wait);    };  };   const handleAddToCartClick = debounce(() => {    if (klAjax) {      console.log(‘Tracking add to cart click’); // Logging for debugging      _learnq.push([‘track’, ‘Added to Cart’, item]);      klAjax = false;    }  }, 200);   const observeAddToCartButtons = () => {    const atcButtons = document.querySelectorAll(“form[action*=’/cart/add’] button[type=’submit’]”);    atcButtons.forEach(button => {      button.removeEventListener(“click”, handleAddToCartClick);      button.addEventListener(“click”, handleAddToCartClick);    });  };   const observer = new MutationObserver(observeAddToCartButtons);  observer.observe(document.body, { childList: true, subtree: true });   observeAddToCartButtons();});