// 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 »: « Broche noeud papillon »,    « url »: « https://www.eden-park.com/products/broche-noeud-papillon-ppntabce0001_gen »,    « image »: [        « https://www.eden-park.com/cdn/shop/files/PPNTABCE0001_GEN_hd-face_1280x.jpg?v=1713453849 »      ],    « description »: «  »,    « sku »: « 3606377217224 », « gtin13 »: « 3606377217224 »,    « brand »: {      « @type »: « Brand »,      « name »: «  »    },    « offers »: [{          « @type » : « Offer », »sku »: « 3606377217224 », »availability » : « http://schema.org/InStock »,          « price » : 3.0,          « priceCurrency » : « EUR »,          « url » : « https://www.eden-park.com/products/broche-noeud-papillon-ppntabce0001_gen?variant=41376949895364 »        }]  }

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

     

                                                                                         Livraison offerte
dès 99 € d achat

     

                                                                                         Paiement sécurisé
Via Paypal, Visa, Mastercard, Apple Pay

                                                                                      Retours
sous 14 jours
                                                       Service client
01 55 90 44 00
  

           {        « @context »: « http://schema.org »,        « @type »: « Product »,        « aggregateRating »: {            « @type »: « AggregateRating »,            « ratingValue »: « 4.0 »,            « reviewCount »: « 1 »        },        « name »: »Broche noeud papillon »,        « image »:[« https://www.eden-park.com/cdn/shop/files/PPNTABCE0001_GEN_hd-face.jpg?v=1713453849&width=480 »],        « offers »: {            « @type »: « Offer »,            « availability »: « http://schema.org/InStock »,            « price »: « 3.0 »,            « priceCurrency »: « EUR »,            « sku »: « 3606377217224 »,            « url »: « https://www.eden-park.com/products/broche-noeud-papillon-ppntabce0001_gen?variant=41376949895364 »        },        « brand »: {          « @type »: « Brand »,          « name »: «  »        },        « sku »: « 3606377217224 »      }          

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

 

 

Broche noeud papillon
Broche noeud papillon
Ce site utilise des cookies pour vous offrir une meilleure expérience de navigation. En naviguant sur ce site, vous acceptez notre utilisation de cookies.