Simulation Einzel Löwenzahn Einfache Stil Künstliche Blumen
${function() {
const variantData = data.variant || {"id":"53378b0b-91f0-4147-8351-63252d7fca33","product_id":"bc9ab82f-4713-44ff-9d08-bcff3f0a22a1","title":"Golden-1 PCS-65cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!143783-C1249N2683S2818","barcode":"","position":1,"option1":"Golden","option2":"1 PCS","option3":"65cm","note":"","image":{"src":"\/\/img.staticdj.com\/dbee51a0706947bcde7d2722c2828956.jpeg","path":"dbee51a0706947bcde7d2722c2828956.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.68,"min_quantity":1}],"weight":"0.4","compare_at_price":"7.36","price":"3.68","retail_price":"7.36","available":true,"url":"\/products\/simulation-einzel-lowenzahn-einfache-stil-kunstliche-blumen?variant=53378b0b-91f0-4147-8351-63252d7fca33","available_quantity":999999999,"options":[{"name":"Farbe","value":"Golden"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"65cm"}],"off_ratio":50,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Farbe:
Golden
${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:
65cm
${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
€3.68
${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":"53378b0b-91f0-4147-8351-63252d7fca33","product_id":"bc9ab82f-4713-44ff-9d08-bcff3f0a22a1","title":"Golden-1 PCS-65cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!143783-C1249N2683S2818","barcode":"","position":1,"option1":"Golden","option2":"1 PCS","option3":"65cm","note":"","image":{"src":"\/\/img.staticdj.com\/dbee51a0706947bcde7d2722c2828956.jpeg","path":"dbee51a0706947bcde7d2722c2828956.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.68,"min_quantity":1}],"weight":"0.4","compare_at_price":"7.36","price":"3.68","retail_price":"7.36","available":true,"url":"\/products\/simulation-einzel-lowenzahn-einfache-stil-kunstliche-blumen?variant=53378b0b-91f0-4147-8351-63252d7fca33","available_quantity":999999999,"options":[{"name":"Farbe","value":"Golden"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"65cm"}],"off_ratio":50,"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-!143783-C1249N2683S2818
Gewicht : 0.4kg
${function(){
const variantData = data.variant || {"id":"53378b0b-91f0-4147-8351-63252d7fca33","product_id":"bc9ab82f-4713-44ff-9d08-bcff3f0a22a1","title":"Golden-1 PCS-65cm","weight_unit":"kg","inventory_quantity":0,"sku":"CY-!143783-C1249N2683S2818","barcode":"","position":1,"option1":"Golden","option2":"1 PCS","option3":"65cm","note":"","image":{"src":"\/\/img.staticdj.com\/dbee51a0706947bcde7d2722c2828956.jpeg","path":"dbee51a0706947bcde7d2722c2828956.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":3.68,"min_quantity":1}],"weight":"0.4","compare_at_price":"7.36","price":"3.68","retail_price":"7.36","available":true,"url":"\/products\/simulation-einzel-lowenzahn-einfache-stil-kunstliche-blumen?variant=53378b0b-91f0-4147-8351-63252d7fca33","available_quantity":999999999,"options":[{"name":"Farbe","value":"Golden"},{"name":"Anzahl","value":"1 PCS"},{"name":"Gr\u00f6\u00dfe","value":"65cm"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}