Decke Wiederauf ladbare beheizte elektrische Matratze Heizkissen
${function() {
const variantData = data.variant || {"id":"ec59e418-2efd-4722-9087-95f405d1f117","product_id":"89cd8f87-70fb-4b79-a876-ab1472523dfd","title":"ROSA-140x80cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140382-C1253S4474","barcode":"","position":1,"option1":"ROSA","option2":"140x80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","path":"9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.96,"min_quantity":1}],"weight":"0.85","compare_at_price":"64.4","price":"34.96","retail_price":"64.4","available":true,"url":"\/products\/decke-wiederauf-ladbare-beheizte-elektrische-matratze-heizkissen?variant=ec59e418-2efd-4722-9087-95f405d1f117","available_quantity":999999999,"options":[{"name":"Farbe","value":"ROSA"},{"name":"Gr\u00f6\u00dfe","value":"140x80cm"}],"off_ratio":46,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
ROSA
${function(){
const optName = "Farbe";
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}
`
}()}
Größe:
140x80cm
${function(){
const optName = "Größe";
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
€34.96
${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":"ec59e418-2efd-4722-9087-95f405d1f117","product_id":"89cd8f87-70fb-4b79-a876-ab1472523dfd","title":"ROSA-140x80cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140382-C1253S4474","barcode":"","position":1,"option1":"ROSA","option2":"140x80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","path":"9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.96,"min_quantity":1}],"weight":"0.85","compare_at_price":"64.4","price":"34.96","retail_price":"64.4","available":true,"url":"\/products\/decke-wiederauf-ladbare-beheizte-elektrische-matratze-heizkissen?variant=ec59e418-2efd-4722-9087-95f405d1f117","available_quantity":999999999,"options":[{"name":"Farbe","value":"ROSA"},{"name":"Gr\u00f6\u00dfe","value":"140x80cm"}],"off_ratio":46,"flashsale_info":[],"sales":0};
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 ? `
` : ' ';
}
}()}
Kaufe jetzt
Produkt war ausverkauft.
Produkt ist nicht verfügbar.
Sku : CY-!140382-C1253S4474
Gewicht : 0.85kg
${function(){
const variantData = data.variant || {"id":"ec59e418-2efd-4722-9087-95f405d1f117","product_id":"89cd8f87-70fb-4b79-a876-ab1472523dfd","title":"ROSA-140x80cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!140382-C1253S4474","barcode":"","position":1,"option1":"ROSA","option2":"140x80cm","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","path":"9c0f48f08d3b6e12d2fd941ad4df5768.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.96,"min_quantity":1}],"weight":"0.85","compare_at_price":"64.4","price":"34.96","retail_price":"64.4","available":true,"url":"\/products\/decke-wiederauf-ladbare-beheizte-elektrische-matratze-heizkissen?variant=ec59e418-2efd-4722-9087-95f405d1f117","available_quantity":999999999,"options":[{"name":"Farbe","value":"ROSA"},{"name":"Gr\u00f6\u00dfe","value":"140x80cm"}],"off_ratio":46,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}