Seidenschal mit Pferdemuster
${function() {
const variantData = data.variant || {"id":"abaed99b-bc79-488d-9c32-d6bea94f2909","product_id":"8679f4de-6ce2-456b-bb8b-b7ae6baae71e","title":"Beige","weight_unit":"kg","inventory_quantity":0,"sku":"SJ-065-Beige","barcode":"","position":1,"option1":"Beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c144071cafee1a4f68dc406e1e97b7d.png","path":"6c144071cafee1a4f68dc406e1e97b7d.png","width":800,"height":800,"alt":"Seidenschal mit Pferdemuster- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0.2","compare_at_price":"49","price":"49","retail_price":"49","available":true,"url":"\/products\/seidenschal-mit-pferdemuster?variant=abaed99b-bc79-488d-9c32-d6bea94f2909","available_quantity":999999999,"options":[{"name":"Farbe","value":"Beige"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Beige
${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":"abaed99b-bc79-488d-9c32-d6bea94f2909","product_id":"8679f4de-6ce2-456b-bb8b-b7ae6baae71e","title":"Beige","weight_unit":"kg","inventory_quantity":0,"sku":"SJ-065-Beige","barcode":"","position":1,"option1":"Beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6c144071cafee1a4f68dc406e1e97b7d.png","path":"6c144071cafee1a4f68dc406e1e97b7d.png","width":800,"height":800,"alt":"Seidenschal mit Pferdemuster- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":49,"min_quantity":1}],"weight":"0.2","compare_at_price":"49","price":"49","retail_price":"49","available":true,"url":"\/products\/seidenschal-mit-pferdemuster?variant=abaed99b-bc79-488d-9c32-d6bea94f2909","available_quantity":999999999,"options":[{"name":"Farbe","value":"Beige"}],"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.