Geschenkkarte - E-Mail-Versand
${function() {
const variantData = data.variant || {"id":"94349641-fd70-4300-b491-897661cb3073","product_id":"16e3b28d-0ade-41c2-afbe-2d7d1c376640","title":"30\u20ac","weight_unit":"kg","inventory_quantity":0,"sku":"Gift-30","barcode":"","position":1,"option1":"30\u20ac","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97fde155130626fa78abd24893425c2e.png","path":"97fde155130626fa78abd24893425c2e.png","width":800,"height":800,"alt":"Geschenkkarte - E-Mail-Versand- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0.4","compare_at_price":"30","price":"30","retail_price":"30","available":true,"url":"\/products\/geschenkkarte-e-mail-versand-wed6?variant=94349641-fd70-4300-b491-897661cb3073","available_quantity":999999999,"options":[{"name":"Preis","value":"30\u20ac"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "percentage";
const productLabelDiscountOn = false;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}%`
: `- `
}
`;
}()}
Preis
${function(){
const tipText = "Bitte w\u00e4hlen Sie einen {{ name }} aus".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
In den Warenkorb legen
€30,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":"94349641-fd70-4300-b491-897661cb3073","product_id":"16e3b28d-0ade-41c2-afbe-2d7d1c376640","title":"30\u20ac","weight_unit":"kg","inventory_quantity":0,"sku":"Gift-30","barcode":"","position":1,"option1":"30\u20ac","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/97fde155130626fa78abd24893425c2e.png","path":"97fde155130626fa78abd24893425c2e.png","width":800,"height":800,"alt":"Geschenkkarte - E-Mail-Versand- DE-RealSilkLife","aspect_ratio":1},"wholesale_price":[{"price":30,"min_quantity":1}],"weight":"0.4","compare_at_price":"30","price":"30","retail_price":"30","available":true,"url":"\/products\/geschenkkarte-e-mail-versand-wed6?variant=94349641-fd70-4300-b491-897661cb3073","available_quantity":999999999,"options":[{"name":"Preis","value":"30\u20ac"}],"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.