Seidenkrawatte mit Wassertropfen
${function() {
const variantData = data.variant || {"id":"3fb45ea7-d4c7-4954-b93c-82f07fbf8361","product_id":"870a8a24-b8be-47cb-ad38-8ea962c92a91","title":"Grau","weight_unit":"kg","inventory_quantity":0,"sku":"LD-009-Gray","barcode":"","position":1,"option1":"Grau","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b0212cb61140b617a59674e7abdce2d.png","path":"8b0212cb61140b617a59674e7abdce2d.png","width":600,"height":800,"alt":"Seidenkrawatte mit Wassertropfen- DE-RealSilkLife","aspect_ratio":0.75},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0.1","compare_at_price":"35","price":"35","retail_price":"35","available":true,"url":"\/products\/seidenkrawatte-mit-wassertropfen-vta8?variant=3fb45ea7-d4c7-4954-b93c-82f07fbf8361","available_quantity":999999999,"options":[{"name":"Farbe","value":"Grau"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Grau
${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
€35,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":"3fb45ea7-d4c7-4954-b93c-82f07fbf8361","product_id":"870a8a24-b8be-47cb-ad38-8ea962c92a91","title":"Grau","weight_unit":"kg","inventory_quantity":0,"sku":"LD-009-Gray","barcode":"","position":1,"option1":"Grau","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8b0212cb61140b617a59674e7abdce2d.png","path":"8b0212cb61140b617a59674e7abdce2d.png","width":600,"height":800,"alt":"Seidenkrawatte mit Wassertropfen- DE-RealSilkLife","aspect_ratio":0.75},"wholesale_price":[{"price":35,"min_quantity":1}],"weight":"0.1","compare_at_price":"35","price":"35","retail_price":"35","available":true,"url":"\/products\/seidenkrawatte-mit-wassertropfen-vta8?variant=3fb45ea7-d4c7-4954-b93c-82f07fbf8361","available_quantity":999999999,"options":[{"name":"Farbe","value":"Grau"}],"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.