// 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”: “Black folding umbrella with stripes”,    “url”: “https://www.eden-park.com/en/products/heahtpae0002_no”,    “image”: [        “https://www.eden-park.com/cdn/shop/files/HEAHTPAE0002-NO-mface_1206x.jpg?v=1710495286”      ],    “description”: “Protégez-vous des averses sous ce chic parapluie confectionné en toile rayée. Robuste et pratique, il se plie et se range facilement dans sa pochette de protection imperméable. Un accessoire élégant signé Eden Park.nToile polyester à rayures en camaïeunMécanisme automatiquenOuverture et fermeture par bouton pressionnPochette rayée assortienSignature Eden Park appliquée sous le manche.n”,    “sku”: “3606378857122”, “gtin13”: “3606378857122”,    “brand”: {      “@type”: “Brand”,      “name”: “EDEN PARK”    },    “offers”: [{          “@type” : “Offer”,”sku”: “3606378857122”,”availability” : “http://schema.org/InStock”,          “price” : 75.0,          “priceCurrency” : “EUR”,          “url” : “https://www.eden-park.com/en/products/heahtpae0002_no?variant=42092620316868”        }]  }

.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();});