Klassischer Seide Kopftuch Schlafmütze
${function() {
const variantData = data.variant || {"id":"51c63380-d0a6-4acd-b20e-f188a05c1022","product_id":"272ef63c-8850-435a-ae66-94e0efe91d10","title":"Schwarz","weight_unit":"kg","inventory_quantity":0,"sku":"TS-010-Black","barcode":"","position":1,"option1":"Schwarz","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1051bf7663aa2e1aa185ec212bd2254.png","path":"f1051bf7663aa2e1aa185ec212bd2254.png","width":600,"height":800,"alt":"Klassischer Seide Kopftuch Schlafm\u00fctze- DE-RealSilkLife","aspect_ratio":0.75},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0.25","compare_at_price":"25","price":"25","retail_price":"25","available":true,"url":"\/products\/klassischer-seide-kopftuch-schlafmutze-tik6?variant=51c63380-d0a6-4acd-b20e-f188a05c1022","available_quantity":999999999,"options":[{"name":"Farbe","value":"Schwarz"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Schwarz
${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}
`
}()}
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":"51c63380-d0a6-4acd-b20e-f188a05c1022","product_id":"272ef63c-8850-435a-ae66-94e0efe91d10","title":"Schwarz","weight_unit":"kg","inventory_quantity":0,"sku":"TS-010-Black","barcode":"","position":1,"option1":"Schwarz","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f1051bf7663aa2e1aa185ec212bd2254.png","path":"f1051bf7663aa2e1aa185ec212bd2254.png","width":600,"height":800,"alt":"Klassischer Seide Kopftuch Schlafm\u00fctze- DE-RealSilkLife","aspect_ratio":0.75},"wholesale_price":[{"price":25,"min_quantity":1}],"weight":"0.25","compare_at_price":"25","price":"25","retail_price":"25","available":true,"url":"\/products\/klassischer-seide-kopftuch-schlafmutze-tik6?variant=51c63380-d0a6-4acd-b20e-f188a05c1022","available_quantity":999999999,"options":[{"name":"Farbe","value":"Schwarz"}],"off_ratio":0,"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.