people are viewing this right now
${function() {
const variantData = data.variant || {"id":"664b4822-ab9b-4fef-b7dc-6bd2343264ef","product_id":"1fe52da7-4abf-4480-96b6-d3194aa140e0","title":"1 PACK","weight_unit":"kg","inventory_quantity":129,"sku":"NSK-1","barcode":"","position":1,"option1":"1 PACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4682f7e0bfa17d5517dc0d2859aeab6.webp","path":"e4682f7e0bfa17d5517dc0d2859aeab6.webp","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"25","retail_price":"36.99","available":true,"url":"\/products\/tuya-wifi-smoke-detector-alarm-sensor-smart-home-security-fire-protection-smart-life-works-with-alexa-google-assistant?variant=664b4822-ab9b-4fef-b7dc-6bd2343264ef","available_quantity":999999999,"options":[{"name":"Menge","value":"1 PACK"}],"off_ratio":"32","flashsale_info":{"variant_id":"664b4822-ab9b-4fef-b7dc-6bd2343264ef","product_id":"","quantity":0,"discount_id":"5003bfe0-3d35-4af3-83e1-33cd9fc8f90b","limit_time":116234,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":201,"discount_sales_rate":"67","discount_stock":-1,"ends_at":1715356799,"starts_at":1715147063,"allow_oversold":"uncheck","allocation_method":"none","price":"25","compare_at_price":"36.99","discount_price":"25","customary_saved_price":"11.99","customary_off_ratio":"32","discount_saved_price":"11.99","discount_off_ratio":"32","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":274};
const saveType = "percentage";
const saveText = "Speichern {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ` `
)}
`;
}()}
Menge
: 1 PACK
${function(){
const optName = "Menge";
const optionValue = data.originData.selectData ? data.originData.selectData[optName].value : data.originData.value;
const optionValueText = optionValue ? (': ' + optionValue) : '';
return `
${optionValueText}
`
}()}
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
In den Warenkorb legen
€25.00
${function(){
const wholesale_enabled = false;
const qty = data.quantity || 1;
const currentSelectVariant = data.variant;
const defaultVariant = (data.product && data.product.variants && data.product.variants[0]);
const productVariant = {"id":"664b4822-ab9b-4fef-b7dc-6bd2343264ef","product_id":"1fe52da7-4abf-4480-96b6-d3194aa140e0","title":"1 PACK","weight_unit":"kg","inventory_quantity":129,"sku":"NSK-1","barcode":"","position":1,"option1":"1 PACK","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4682f7e0bfa17d5517dc0d2859aeab6.webp","path":"e4682f7e0bfa17d5517dc0d2859aeab6.webp","width":1600,"height":1600,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0","compare_at_price":"36.99","price":"25","retail_price":"36.99","available":true,"url":"\/products\/tuya-wifi-smoke-detector-alarm-sensor-smart-home-security-fire-protection-smart-life-works-with-alexa-google-assistant?variant=664b4822-ab9b-4fef-b7dc-6bd2343264ef","available_quantity":999999999,"options":[{"name":"Menge","value":"1 PACK"}],"off_ratio":"32","flashsale_info":{"variant_id":"664b4822-ab9b-4fef-b7dc-6bd2343264ef","product_id":"","quantity":0,"discount_id":"5003bfe0-3d35-4af3-83e1-33cd9fc8f90b","limit_time":116234,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":201,"discount_sales_rate":"67","discount_stock":-1,"ends_at":1715356799,"starts_at":1715147063,"allow_oversold":"uncheck","allocation_method":"none","price":"25","compare_at_price":"36.99","discount_price":"25","customary_saved_price":"11.99","customary_off_ratio":"32","discount_saved_price":"11.99","discount_off_ratio":"32","use_before_price":false,"before_price":"","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":274};
const variantData = currentSelectVariant || defaultVariant || productVariant;
const wholesale_price = variantData.wholesale_price || [];
if(wholesale_enabled && wholesale_price.length > 0) {
let wholesaleIndex = wholesale_price.findIndex(item => {
return item.min_quantity > qty;
});
if(wholesaleIndex < 0){
wholesaleIndex = wholesale_price.length - 1;
}else if(wholesaleIndex > 0){
wholesaleIndex = wholesaleIndex - 1;
}
const wholesalePrice = wholesale_price[wholesaleIndex] || '';
return `
`
}else {
const price = variantData && variantData.price;
return price != undefined ? `
` : ' ';
}
}()}
Produkt war ausverkauft.
Produkt ist nicht verfügbar.
30 days returns for no reason