PiWear Sonnenbrille - Long Beach - matt schwarz, blaue Gläser, verspiegelt


VID

133467

if(!document.getElementById('paypal-smart-payment-script')) { var script = document.createElement("script"); script.type = "module"; script.id = "paypal-smart-payment-script"; script.src = "https://cdn02.plentymarkets.com/c76gn8a1nz7n/plugin/20/paypal/js/smartPaymentScript.min.js"; script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw"); script.setAttribute("data-user-id-token", ""); script.setAttribute("data-merchant-id", "LNU9ZCF7ABSDC"); script.setAttribute("data-currency", "EUR"); script.setAttribute("data-append-trailing-slash", ""); script.setAttribute("data-locale", "de_DE"); script.setAttribute("sandbox", ""); script.setAttribute("googlePayComponent", 0); script.setAttribute("applePayComponent", 0); document.body.appendChild(script); } else { var script = document.getElementById('paypal-smart-payment-script'); script.src = "https://cdn02.plentymarkets.com/c76gn8a1nz7n/plugin/20/paypal/js/smartPaymentScript.min.js"; script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw"); script.setAttribute("data-user-id-token", ""); script.setAttribute("data-merchant-id", "LNU9ZCF7ABSDC"); script.setAttribute("data-currency", "EUR"); script.setAttribute("data-append-trailing-slash", ""); script.setAttribute("data-locale", "de_DE"); script.setAttribute("sandbox", ""); script.setAttribute("googlePayComponent", 0); script.setAttribute("applePayComponent", 0); }
if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') { document.addEventListener('payPalScriptInitialized', () => { renderPayPalButtons('673580545e2ec', 'paylater', 'paypal', 'rect', 'gold'); }); } else { renderPayPalButtons('673580545e2ec', 'paylater', 'paypal', 'rect', 'gold'); } if (typeof paypal_plenty_sdk === 'undefined' || typeof renderPayPalButtons !== 'function') { document.addEventListener('payPalScriptInitialized', () => { renderPayPalButtons('673580545e2ec', 'paypal', 'buynow', 'rect', 'gold'); }); } else { renderPayPalButtons('673580545e2ec', 'paypal', 'buynow', 'rect', 'gold'); }
if(!document.getElementById('paypal-smart-payment-script')) { var script = document.createElement("script"); script.type = "module"; script.id = "paypal-smart-payment-script"; script.src = "https://cdn02.plentymarkets.com/c76gn8a1nz7n/plugin/20/paypal/js/smartPaymentScript.min.js"; script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw"); script.setAttribute("data-user-id-token", ""); script.setAttribute("data-merchant-id", "LNU9ZCF7ABSDC"); script.setAttribute("data-currency", "EUR"); script.setAttribute("data-append-trailing-slash", ""); script.setAttribute("data-locale", "de_DE"); script.setAttribute("sandbox", ""); script.setAttribute("googlePayComponent", 0); script.setAttribute("applePayComponent", 0); document.body.appendChild(script); } else { var script = document.getElementById('paypal-smart-payment-script'); script.src = "https://cdn02.plentymarkets.com/c76gn8a1nz7n/plugin/20/paypal/js/smartPaymentScript.min.js"; script.setAttribute("data-client-id", "AfslQana4f4CQjHvRBnUc6vBJg5jgJuZFwM-SbrTiGKUAqB7MrxQv3QWFdQ6U1h7ogMDokT1DNBzRxMw"); script.setAttribute("data-user-id-token", ""); script.setAttribute("data-merchant-id", "LNU9ZCF7ABSDC"); script.setAttribute("data-currency", "EUR"); script.setAttribute("data-append-trailing-slash", ""); script.setAttribute("data-locale", "de_DE"); script.setAttribute("sandbox", ""); script.setAttribute("googlePayComponent", 0); script.setAttribute("applePayComponent", 0); }
* inkl. ges. MwSt. zzgl. Versandkosten
window.onload = function() { // Extract Item Name const itemNameElement = document.querySelector('.widget-inner h1 span'); const itemName = itemNameElement ? itemNameElement.innerText : 'Unknown'; // Extract Price const priceElement = document.querySelector('.price.h1 span'); const price = priceElement ? priceElement.innerText.replace('EUR', '').trim() : '0'; // Extract VID const vidElement = document.querySelector('.extern.variation-id span'); const vid = vidElement ? vidElement.innerText : 'Unknown'; // Extract Category from Breadcrumb const categoryBreadcrumbs = document.querySelectorAll('nav.breadcrumb ul li a'); let category = ''; if (categoryBreadcrumbs.length > 1) { category = categoryBreadcrumbs[categoryBreadcrumbs.length - 2].innerText.trim(); } // Push view_item event to DataLayer window.dataLayer = window.dataLayer || []; window.dataLayer.push({ 'event': 'view_item', 'ecommerce': { 'items': [{ 'item_name': itemName, 'item_id': vid, 'price': price, 'item_category': category }] } }); // Add to Cart Event Tracking const addToCartButton = document.querySelector('.add-to-basket-container button'); if (addToCartButton) { addToCartButton.addEventListener('click', function() { window.dataLayer.push({ 'event': 'add_to_cart', 'ecommerce': { 'items': [{ 'item_name': itemName, 'item_id': vid, 'price': price, 'item_category': category }] } }); }); } };

Die Long Beach Sonnenbrille von PiWear ist eine coole, stylische Brille, die Dank ihrer splitterfreien Polycarbonatgläser auch zum Motorradfahren geeignet ist. Der Rahmen ist matt und die Bügel sind mit einem Federscharnier befestigt. Die Gläser sind blau verspiegelt. Die Brille ist ein absolutes Must-Have für den Sommer.

Details:
PiWear Sonnenbrille - Long Beach - matt schwarz, blaue Gläser, verspiegelt
coole, stylische Brille
splitterfreie Polycarbonatgläser - auch zum Motorradfahren geeignet
matter Rahmen
Federscharnier
blau, verspiegelt
inklusive Microfaserbeutel

Lieferumfang:
1x PiWear Sonnenbrille - Long Beach - matt schwarz, blaue Gläser, verspiegelt

PiWear Sonnenbrille - Long Beach - matt schwarz, blaue Gläser, verspiegelt
coole, stylische Brille
splitterfreie Polycarbonatgläser - auch zum Motorradfahren geeignet
matter Rahmen, Federscharnier
blau, verspiegelt

document.addEventListener('DOMContentLoaded', function() { document.getElementById('newsletterButton').addEventListener('click', function() { var footerElement = document.querySelector('.footer'); var topBarHeight = document.querySelector('.top-bar')?.offsetHeight || 0; var navbarHeight = document.querySelector('.navbar')?.offsetHeight || 0; var shippingInfoHeight = document.querySelector('#shippinginfo')?.offsetHeight || 0; var totalOffset = topBarHeight + navbarHeight + shippingInfoHeight; if (footerElement) { var footerPosition = footerElement.getBoundingClientRect().top + window.pageYOffset - totalOffset; window.scrollTo({ top: footerPosition, behavior: 'smooth' }); } }); }); document.addEventListener('DOMContentLoaded', function() { // Function to hide or show the newsletter button based on the basket price function toggleNewsletterVisibility() { var basketPriceElement = document.querySelector('.toggle-basket-preview .badge'); var newsletter = document.getElementById('newsletterWrapper'); if (basketPriceElement) { var basketPriceText = basketPriceElement.innerText.trim(); if (basketPriceText.startsWith("0,00")) { newsletter.style.display = 'block'; } else { newsletter.style.display = 'none'; } } } // Initially set the visibility based on the current price toggleNewsletterVisibility(); // Observe changes in the basket price element var basketPriceElement = document.querySelector('.toggle-basket-preview .badge'); if (basketPriceElement) { var observer = new MutationObserver(function(mutations) { mutations.forEach(function(mutation) { if (mutation.type === 'childList' || mutation.type === 'characterData') { toggleNewsletterVisibility(); } }); }); // Start observing the basket price element for changes observer.observe(basketPriceElement, { childList: true, // Monitor changes to the direct children characterData: true, // Monitor changes to the character data subtree: true // Monitor changes within the subtree }); } });
document.addEventListener('DOMContentLoaded', function() { const menuToggleCheckbox = document.getElementById('menuToggleCheckbox'); const openedMenu = document.getElementById('openedMenu'); menuToggleCheckbox.addEventListener('change', function() { if (this.checked) { openedMenu.style.display = 'block'; } else { openedMenu.style.display = 'none'; } }); }); document.addEventListener('DOMContentLoaded', function() { const menuToggleCheckbox = document.getElementById('menuToggleCheckbox'); menuToggleCheckbox.checked = false; // Ensure checkbox is unchecked on page load });