Christmas Ball Coral Fleece Socks Gift Box Christmas Gift Thickened Cartoon Sleep Socks
${function() {
const variantData = data.variant || {"id":"6bbd97bd-f21d-4ce4-ae3d-11832772c407","product_id":"7e69ec01-5a8e-4dde-a480-ca0e898f0837","title":"Elk","weight_unit":"kg","inventory_quantity":987,"sku":"X84-220908-04-PWRJT4V8DV-Elk","barcode":"","position":1,"option1":"Elk","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","path":"6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/christmas-ball-coral-fleece-socks-gift-box-christmas-gift-thickened-cartoon-sleep-socks?variant=6bbd97bd-f21d-4ce4-ae3d-11832772c407","available_quantity":987,"options":[{"name":"Type","value":"Elk"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const productLabelDiscountOn = true;
return `
-
${saveType == 'percentage'
? `-${variantData.off_ratio}% `
: `- `
}
`;
}()}
Type:
Elk
${function(){
const optName = "Type";
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
€4.99
${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":"6bbd97bd-f21d-4ce4-ae3d-11832772c407","product_id":"7e69ec01-5a8e-4dde-a480-ca0e898f0837","title":"Elk","weight_unit":"kg","inventory_quantity":987,"sku":"X84-220908-04-PWRJT4V8DV-Elk","barcode":"","position":1,"option1":"Elk","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","path":"6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/christmas-ball-coral-fleece-socks-gift-box-christmas-gift-thickened-cartoon-sleep-socks?variant=6bbd97bd-f21d-4ce4-ae3d-11832772c407","available_quantity":987,"options":[{"name":"Type","value":"Elk"}],"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.
Sku : X84-220908-04-PWRJT4V8DV-Elk
${function(){
const variantData = data.variant || {"id":"6bbd97bd-f21d-4ce4-ae3d-11832772c407","product_id":"7e69ec01-5a8e-4dde-a480-ca0e898f0837","title":"Elk","weight_unit":"kg","inventory_quantity":987,"sku":"X84-220908-04-PWRJT4V8DV-Elk","barcode":"","position":1,"option1":"Elk","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","path":"6e6d4bfe1cb9167a19e10c68291ac94d.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":4.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"4.99","retail_price":"0","available":true,"url":"\/products\/christmas-ball-coral-fleece-socks-gift-box-christmas-gift-thickened-cartoon-sleep-socks?variant=6bbd97bd-f21d-4ce4-ae3d-11832772c407","available_quantity":987,"options":[{"name":"Type","value":"Elk"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Gewicht : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Strichcode : ${variantData && variantData.barcode}
`
}()}