Seidenschal aus Wollmischung
${function() {
const variantData = data.variant || {"id":"4344a39d-7ec1-45a1-8efd-c598ec481598","product_id":"05b9a62f-6ba2-4bcf-a757-a4a07fd43bf4","title":"Orange","weight_unit":"kg","inventory_quantity":0,"sku":"SJ-066-Orange","barcode":"","position":2,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b242035c2cc1f2674beb8efdd31c201.jpeg","path":"7b242035c2cc1f2674beb8efdd31c201.jpeg","width":1066,"height":1066,"alt":"Seidenschal aus Wollmischung- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0.15","compare_at_price":"49","price":"49","retail_price":"49","available":true,"url":"\/products\/seidenschal-aus-wollmischung?variant=4344a39d-7ec1-45a1-8efd-c598ec481598","available_quantity":999999999,"options":[{"name":"Farbe","value":"Orange"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Orange
${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
€49,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":"4344a39d-7ec1-45a1-8efd-c598ec481598","product_id":"05b9a62f-6ba2-4bcf-a757-a4a07fd43bf4","title":"Orange","weight_unit":"kg","inventory_quantity":0,"sku":"SJ-066-Orange","barcode":"","position":2,"option1":"Orange","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b242035c2cc1f2674beb8efdd31c201.jpeg","path":"7b242035c2cc1f2674beb8efdd31c201.jpeg","width":1066,"height":1066,"alt":"Seidenschal aus Wollmischung- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0.15","compare_at_price":"49","price":"49","retail_price":"49","available":true,"url":"\/products\/seidenschal-aus-wollmischung?variant=4344a39d-7ec1-45a1-8efd-c598ec481598","available_quantity":999999999,"options":[{"name":"Farbe","value":"Orange"}],"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.