Warmer Schal Bedruckter Schal
${function() {
const variantData = data.variant || {"id":"69d945c6-5e19-4240-b5e3-df6adade3abc","product_id":"bcc97f5d-d9b6-450c-a2d0-a6d1683f0fb3","title":"Fotofarbe-Onesize","weight_unit":"kg","inventory_quantity":990,"sku":"X94-211029-09-Fotofarbe-Onesize","barcode":"","position":1,"option1":"Fotofarbe","option2":"Onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd3638c7717844c8d307b477e3e07e72.jpeg","path":"bd3638c7717844c8d307b477e3e07e72.jpeg","width":451,"height":601,"alt":"","aspect_ratio":0.7504159733777038},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/warmer-schal-bedruckter-schal-39?variant=69d945c6-5e19-4240-b5e3-df6adade3abc","available_quantity":990,"options":[{"name":"Farbe","value":"Fotofarbe"},{"name":"Gr\u00f6\u00dfe","value":"Onesize"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Farbe:
Fotofarbe
${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:
Onesize
${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
€16.99
${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":"69d945c6-5e19-4240-b5e3-df6adade3abc","product_id":"bcc97f5d-d9b6-450c-a2d0-a6d1683f0fb3","title":"Fotofarbe-Onesize","weight_unit":"kg","inventory_quantity":990,"sku":"X94-211029-09-Fotofarbe-Onesize","barcode":"","position":1,"option1":"Fotofarbe","option2":"Onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd3638c7717844c8d307b477e3e07e72.jpeg","path":"bd3638c7717844c8d307b477e3e07e72.jpeg","width":451,"height":601,"alt":"","aspect_ratio":0.7504159733777038},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/warmer-schal-bedruckter-schal-39?variant=69d945c6-5e19-4240-b5e3-df6adade3abc","available_quantity":990,"options":[{"name":"Farbe","value":"Fotofarbe"},{"name":"Gr\u00f6\u00dfe","value":"Onesize"}],"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.
Sku : X94-211029-09-Fotofarbe-Onesize
${function(){
const variantData = data.variant || {"id":"69d945c6-5e19-4240-b5e3-df6adade3abc","product_id":"bcc97f5d-d9b6-450c-a2d0-a6d1683f0fb3","title":"Fotofarbe-Onesize","weight_unit":"kg","inventory_quantity":990,"sku":"X94-211029-09-Fotofarbe-Onesize","barcode":"","position":1,"option1":"Fotofarbe","option2":"Onesize","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bd3638c7717844c8d307b477e3e07e72.jpeg","path":"bd3638c7717844c8d307b477e3e07e72.jpeg","width":451,"height":601,"alt":"","aspect_ratio":0.7504159733777038},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"16.99","retail_price":"0","available":true,"url":"\/products\/warmer-schal-bedruckter-schal-39?variant=69d945c6-5e19-4240-b5e3-df6adade3abc","available_quantity":990,"options":[{"name":"Farbe","value":"Fotofarbe"},{"name":"Gr\u00f6\u00dfe","value":"Onesize"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}