" />
";var removeFromCartClick = function (e) { var mybtn = (this).closest('dt'); var qtity = $(mybtn).find('.quantity').text(); var mydataid = $(mybtn).attr('data-id') ; var product_id = mydataid.split('_')[3] ; var attribute_id = mydataid.split('_')[4] ; //console.log("remove from cart: " + product_id + "-" + attribute_id + " x " + qtity); window.dataLayer.push({ 'event': 'removeFromCart', 'ecommerce': { 'remove': { 'products': [{ 'id': product_id + "-" + attribute_id, 'item_id': product_id, 'quantity': qtity }] } } }); } var removeFromCartClick_ps171 = function (e) { var mybtn = (this).closest('.product-line-grid'); var qtity = $(mybtn).find('.js-cart-line-product-quantity').val(); var product_id = $(this).attr('data-id-product'); var attribute_id = $(this).attr('data-id-product-attribute'); console.log("remove from cart 1.7: " + product_id + "-" + attribute_id + " x " + qtity); window.dataLayer.push({ 'event': 'removeFromCart', 'ecommerce': { 'remove': { 'products': [{ 'id': product_id + "-" + attribute_id, 'item_id': product_id, 'quantity': qtity }] } } }); } window.addEventListener('load', function() { $(document).on('click', '.ajax_cart_block_remove_link', removeFromCartClick ); $(document).on('mousedown', 'BODY#cart .cart-items a.remove-from-cart', removeFromCartClick_ps171 ); }); if (typeof(page_name)== "undefined"){ if (!(typeof(prestashop))== "undefined"){ var page_name = prestashop.page.page_name; } } if(typeof(ph_product_price) !== 'undefined'){ if (typeof(parseFloat(ph_product_price)) == 'number'){ if (!isNaN(ph_product_price)){ // var productPrice = ph_product_price; var productPrice = parseFloat(ph_product_price); } } } /*if (typeof(ph_product_price) == 'number'){ var productPrice = ph_product_price; }*/ if(typeof(productPrice) == 'undefined'){ var productPrice = 0; var productPriceFloat = 0; }else{ if(isFloat(productPrice)){ var productPriceFloat = productPrice; } else { var productPriceFloat = productPrice.toFixed(2); } } if (typeof(sharing_name) == 'undefined' ){ if(typeof(prestashop) !== "undefined"){ if(typeof(prestashop.page) !== "undefined"){ if(typeof(prestashop.page.meta) !== "undefined"){ if(typeof(prestashop.page.meta.title) !== "undefined"){ var sharing_name = prestashop.page.meta.title; } } } } else { var sharing_name = ph_page_name; } } /*VIEW PRODUCT DETAIL*/ var filtered_keys = function(obj, filter) { var key, keys = []; for (key in obj) { if (obj.hasOwnProperty(key) && filter.test(key)) { keys.push(key); } } return keys; } if (typeof(id_product) == "undefined"){ if(typeof(prestashop) == "undefined" ){ id_product = 542; } else{var findproductid = filtered_keys( prestashop.page.body_classes , /^product-id-\d+$/ ); id_product = findproductid[0].replace('product-id-',''); } }var action = "detail" var list = "Bücher"; var products = [{"reference":"MESU004-01","item_id":"MESU004-01","ean13":"","upc":"","id":"MESU004-01","id_product":542,"name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","item_name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","price":177.96,"quantity":0,"category":"B\u00fccher","item_category":"B\u00fccher","list":"Category Listing"}]; var currencyCode = "EUR"; window.dataLayer.push({ "page": "viewProduct", "ecommerce": { 'detail': { "actionField": { "list": list }, "products": products } } }); /* for all pages*/ var action = "detail" var list = "Bücher"; var products = [{"reference":"MESU004-01","item_id":"MESU004-01","ean13":"","upc":"","id":"MESU004-01","id_product":542,"name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","item_name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","price":177.96,"quantity":0,"category":"B\u00fccher","item_category":"B\u00fccher","list":"Category Listing"}]; var currencyCode = "EUR"; document.addEventListener("DOMContentLoaded", function() { // window.addEventListener('load', function() {// $(document).on('click', '.ajax_add_to_cart_button , #add_to_cart > button > span , .add-to-cart', function (e) { $('.ajax_add_to_cart_button , #add_to_cart > button > span , .add-to-cart , .elementor-button-add-to-cart ').click( function (e) {var products = [{"reference":"MESU004-01","item_id":"MESU004-01","ean13":"","upc":"","id":"MESU004-01","id_product":542,"name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","item_name":"Kubierungstabelle f\u00fcr geschlagenes Holz - Durchmesser","price":177.96,"quantity":0,"category":"B\u00fccher","item_category":"B\u00fccher","list":"Category Listing"}];if(products.length>1){/* Fix For PS1.7 */ // if(typeof(products) == "undefined" ){ // if(!(typeof(products[0]) == "undefined" )){ var products_quickview = $(this).closest('.quickview'); if(products_quickview.size()>0){ var products_quickview = $(this).closest('.quickview'); //if(typeof(ph_merchant_center_id) == "undefined") var products_name = products_quickview.find('H1').text(); var products_id = products_quickview.find('INPUT[name=id_product]').attr('value') ; /*reference*/ var products_id_product = products_quickview.find('INPUT[name=id_product]').attr('value'); var products_reference = products_quickview.find('INPUT[name=id_product]').attr('value') ; var products_price = products_quickview.find('.product-price span').attr('content') ; var products_quantity = products_quickview.find('.qty input').attr('value'); ; var products_ean13 = '' ; var products_upc = '' ; var products_category = '' ; var products = [{"reference":products_reference,"ean13":products_ean13,"upc":products_upc,"id":products_id,"id_product":products_id_product,"name":products_name,"price":products_price,"quantity":products_quantity,"category":products_category,"list":"QuickView"}]; } // } }window.dataLayer.push({ 'event': 'addToCart', 'ecommerce': { 'currencyCode': currencyCode, 'add': { 'products': products } } }); }); }); if (typeof(id) == "undefined"){ } if (typeof(id) != "undefined"){ window.dataLayer.push({ "google_conversion_id": "11070171750", "google_conversion_format": "3", "google_conversion_color": "ffffff", "google_conversion_label": "X0iZCLWItq8YEObU1Z4p", "google_conversion_only": false, "currency_code": currencyCode, "order_id": id, "ADW_enhancedConversion_Email": "", "ADW_enhancedConversion_Phone": "" }); }else{ window.dataLayer.push({ "google_conversion_id": "11070171750", "google_conversion_format": "3", "google_conversion_color": "ffffff", "google_conversion_label": "X0iZCLWItq8YEObU1Z4p", "google_conversion_only": false, "currency_code": currencyCode, }); } var ph_fb_prodid = []; var ph_fb_prodid_attribute = '';if(typeof(prestashop) == "undefined" ){ ph_fb_prodid = id_product; } else { var findproductidprodpage = filtered_keys( prestashop.page.body_classes , /^product-id-\d+$/ ); ph_fb_id_product_prodpage = findproductidprodpage[0].replace('product-id-',''); ph_fb_prodid.push( ph_fb_id_product_prodpage ); }var google_tag_params = { ecomm_prodid: "542", ecomm_pagetype: "product", ecomm_totalvalue: "177.9624", }; google_tag_params["category"] = "Bücher"; window.dataLayer.push({ "google_tag_params": google_tag_params }); window.dataLayer.push({ "ph_anonymize_analytics" : true,"UID_Cookie": "-guest", "CID_Cookie": "", "AdwConvId": "11070171750", "AdwConvLb": "X0iZCLWItq8YEObU1Z4p", }); function isFloat(n) { return n === +n && n !== (n|0); } function isInteger(n) { return n === +n && n === (n|0); } function createCookie(name,value,days,path) { if (days) { var date = new Date(); date.setTime(date.getTime()+(days*24*60*60*1000)); var expires = "; expires="+date.toGMTString(); } else var expires = ""; document.cookie = name+"="+value+expires+"; path="+path; } function eraseCookie(cookie_name,path) { createCookie(cookie_name,"",0,path); } function getCookie(name) { var value = "; " + document.cookie; var parts = value.split("; " + name + "="); if (parts.length == 2) return parts.pop().split(";").shift(); }
Gleicher Tag Versand für alle Bestellungen, die vor 14 Uhr aufgegeben werden, in ganz Europa mit DPD
Keine Artikel
Preise inkl. MwSt.
Lieferzeit unter 10 Tage
Sammeln Sie mit dem Kauf dieses Artikels bis zu 177 Treuepunkte. Ihr Warenkorb hat insgesamt 177 points die umgewandelt werden können in einen Gutschein im Wert von 1,77 €.