High-End-Einzel kamillen simulation Künstliche Blumen
${function() {
const variantData = data.variant || {"id":"b6eb4344-8446-472a-ae27-57814057a19c","product_id":"722241b0-67df-432f-9d2c-c77e1f0f57ac","title":"Rot-1 PCS-55cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!142248-C1240N2683S2817","barcode":"","position":1,"option1":"Rot","option2":"1 PCS","option3":"55cm","note":"","image":{"src":"\/\/img.staticdj.com\/7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","path":"7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.76,"min_quantity":1}],"weight":"0.02","compare_at_price":"6.44","price":"2.76","retail_price":"6.44","available":true,"url":"\/products\/high-end-einzel-kamillen-simulation-kunstliche-blumen?variant=b6eb4344-8446-472a-ae27-57814057a19c","available_quantity":999999999,"options":[{"name":"Farbe","value":"Rot"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"55cm"}],"off_ratio":57,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Rot
${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}
`
}()}
Anzahl:
1 PCS
${function(){
const optName = "Anzahl";
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:
55cm
${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
€2.76
${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":"b6eb4344-8446-472a-ae27-57814057a19c","product_id":"722241b0-67df-432f-9d2c-c77e1f0f57ac","title":"Rot-1 PCS-55cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!142248-C1240N2683S2817","barcode":"","position":1,"option1":"Rot","option2":"1 PCS","option3":"55cm","note":"","image":{"src":"\/\/img.staticdj.com\/7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","path":"7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.76,"min_quantity":1}],"weight":"0.02","compare_at_price":"6.44","price":"2.76","retail_price":"6.44","available":true,"url":"\/products\/high-end-einzel-kamillen-simulation-kunstliche-blumen?variant=b6eb4344-8446-472a-ae27-57814057a19c","available_quantity":999999999,"options":[{"name":"Farbe","value":"Rot"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"55cm"}],"off_ratio":57,"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 : CY-!142248-C1240N2683S2817
Gewicht : 0.02kg
${function(){
const variantData = data.variant || {"id":"b6eb4344-8446-472a-ae27-57814057a19c","product_id":"722241b0-67df-432f-9d2c-c77e1f0f57ac","title":"Rot-1 PCS-55cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!142248-C1240N2683S2817","barcode":"","position":1,"option1":"Rot","option2":"1 PCS","option3":"55cm","note":"","image":{"src":"\/\/img.staticdj.com\/7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","path":"7e7c5e9d74cb28b871806b2cd88e28a3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":2.76,"min_quantity":1}],"weight":"0.02","compare_at_price":"6.44","price":"2.76","retail_price":"6.44","available":true,"url":"\/products\/high-end-einzel-kamillen-simulation-kunstliche-blumen?variant=b6eb4344-8446-472a-ae27-57814057a19c","available_quantity":999999999,"options":[{"name":"Farbe","value":"Rot"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"55cm"}],"off_ratio":57,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}