";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; } } /*IMPRESSIONS PRODUCTS*/ var impressions = []; var maxProducts = 35; var impressions = [{"reference":"MART018-02","item_id":"MART018-02","ean13":"0034139612421","upc":"","id":"MART018-02","id_product":897,"name":"Axt - Special Edition","item_name":"Axt - Special Edition","price":95.32,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":1},{"reference":"MART027-02","item_id":"MART027-02","ean13":"0034139677062","upc":"","id":"MART027-02","id_product":912,"name":"Black Eagle - Doppelaxt","item_name":"Black Eagle - Doppelaxt","price":138.1,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":2},{"reference":"MART018-01","item_id":"MART018-01","ean13":"0034139611219","upc":"","id":"MART018-01","id_product":896,"name":"Axt","item_name":"Axt","price":112.16,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":3}]; ;while(impressions.length){ var impressions_part = impressions.splice(0,maxProducts); window.dataLayer.push({ "page": "viewCategory", "currentCateg": "Spezial Wurfaxt", "parentCateg": "Estwing Äxte","ecommerce": { "currencyCode": currencyCode, "impressions": impressions_part } }); }/*CLICK PRODUCT ON CATEGORY*/ var clickCallBack = function (e) { // var url = $(this).attr('href'); var url = e.getAttribute('href'); var clicked_product_name = e.text.trim(); console.log( clicked_product_name ); if(clicked_product_name == ''){ clicked_product_name = e.parentElement.parentElement.getElementsByClassName('product-title')[0].getElementsByTagName('A')[0].innerHTML.trim(); } console.log( clicked_product_name ); window.dataLayer.push({ 'event': 'productClick', 'ecommerce': { 'click': { 'actionField': {'list': 'Category Listing'}, // Optional list property.*/ 'products': [{ // 'name': this.text.trim() // 'name': e.text.trim() 'name': clicked_product_name //'id': productObj.id, //'price': $, //'brand': productObj.brand, //'category': productObj.cat, //'variant': productObj.variant, //'position': productObj.position }] } }, 'eventCallback': function () { document.location = url } }); /* $(document).on('click', '.product-name', clickCallBack); */ /*e.preventDefault();*/ }; window.addEventListener('load', function() { // $(document).on('click', '.product-name , BODY#category .products article a', clickCallBack); console.log('productClick loaded'); $('.product-title a:not(.quick-view):not(.js-quick-view), .product-name , BODY#category .products article a:not(.quick-view):not(.js-quick-view)').click( function (e) { console.log($(this)[0] ); clickCallBack( $(this)[0] ); }); }); /* for all pages*/ var action = "" var list = "Spezial Wurfaxt"; var products = [{"reference":"MART018-02","item_id":"MART018-02","ean13":"0034139612421","upc":"","id":"MART018-02","id_product":897,"name":"Axt - Special Edition","item_name":"Axt - Special Edition","price":95.32,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":1},{"reference":"MART027-02","item_id":"MART027-02","ean13":"0034139677062","upc":"","id":"MART027-02","id_product":912,"name":"Black Eagle - Doppelaxt","item_name":"Black Eagle - Doppelaxt","price":138.1,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":2},{"reference":"MART018-01","item_id":"MART018-01","ean13":"0034139611219","upc":"","id":"MART018-01","id_product":896,"name":"Axt","item_name":"Axt","price":112.16,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":3}]; 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":"MART018-02","item_id":"MART018-02","ean13":"0034139612421","upc":"","id":"MART018-02","id_product":897,"name":"Axt - Special Edition","item_name":"Axt - Special Edition","price":95.32,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":1},{"reference":"MART027-02","item_id":"MART027-02","ean13":"0034139677062","upc":"","id":"MART027-02","id_product":912,"name":"Black Eagle - Doppelaxt","item_name":"Black Eagle - Doppelaxt","price":138.1,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":2},{"reference":"MART018-01","item_id":"MART018-01","ean13":"0034139611219","upc":"","id":"MART018-01","id_product":896,"name":"Axt","item_name":"Axt","price":112.16,"quantity":0,"category":"Spezial Wurfaxt","item_category":"Spezial Wurfaxt","list":"Category Listing","position":3}];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 = '';var google_tag_params = { ecomm_pagetype: "category", ecomm_category: "Spezial Wurfaxt", }; 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.
Discover how to sharpen your kitchen knives optimally with a sharpening machine.
Die japanischen Takagi-Sägen, insbesondere die Shark Saw-Serie, sind für ihre Effizienz und Präzision bekannt.
Set the perfect sharpening...