Mod Color Block Turtleneck Sweater
${function() {
const variantData = data.variant || {"id":"fc173222-7072-475b-b44b-76b850338131","product_id":"a7b56a9e-e65f-4324-8524-b7c05a6ef985","title":"Taupe-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WD-605229","barcode":"","position":1,"option1":"Taupe","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a26c31e5f0a42301eea1347433a460c.jpeg","path":"4a26c31e5f0a42301eea1347433a460c.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"39","retail_price":"50","available":true,"url":"\/products\/pzmbjp5nnavq2?variant=fc173222-7072-475b-b44b-76b850338131","available_quantity":1000,"options":[{"name":"Color","value":"Taupe"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Color:
Taupe
${function(){
const optName = "Color";
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}
`
}()}
Size:
S
${function(){
const optName = "Size";
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
€39.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":"fc173222-7072-475b-b44b-76b850338131","product_id":"a7b56a9e-e65f-4324-8524-b7c05a6ef985","title":"Taupe-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WD-605229","barcode":"","position":1,"option1":"Taupe","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a26c31e5f0a42301eea1347433a460c.jpeg","path":"4a26c31e5f0a42301eea1347433a460c.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"39","retail_price":"50","available":true,"url":"\/products\/pzmbjp5nnavq2?variant=fc173222-7072-475b-b44b-76b850338131","available_quantity":1000,"options":[{"name":"Color","value":"Taupe"},{"name":"Size","value":"S"}],"off_ratio":22,"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.
${function(){
const variantData = data.variant || {"id":"fc173222-7072-475b-b44b-76b850338131","product_id":"a7b56a9e-e65f-4324-8524-b7c05a6ef985","title":"Taupe-S","weight_unit":"kg","inventory_quantity":1000,"sku":"WD-605229","barcode":"","position":1,"option1":"Taupe","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/4a26c31e5f0a42301eea1347433a460c.jpeg","path":"4a26c31e5f0a42301eea1347433a460c.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":39,"min_quantity":1}],"weight":"0","compare_at_price":"50","price":"39","retail_price":"50","available":true,"url":"\/products\/pzmbjp5nnavq2?variant=fc173222-7072-475b-b44b-76b850338131","available_quantity":1000,"options":[{"name":"Color","value":"Taupe"},{"name":"Size","value":"S"}],"off_ratio":22,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}