${function() {
const variantData = data.variant || {"id":"5c5f3b55-6ea7-421c-a4b2-1b94b31d3f9a","product_id":"b4a29c11-e9ae-4cc6-828c-6b2c8fb9e32b","title":"Beige-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054031165","barcode":"","position":1,"option1":"Beige","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0257df46fbfcb831b944a48fdeb91822.jpeg","path":"0257df46fbfcb831b944a48fdeb91822.jpeg","width":800,"height":800,"alt":"Sexy Knitted Turtleneck Sweater Vest","aspect_ratio":1},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"22.95","price":"22.95","retail_price":"22.95","available":true,"url":"\/products\/sexy-knitted-turtleneck-sweater-vest-2063?variant=5c5f3b55-6ea7-421c-a4b2-1b94b31d3f9a","available_quantity":1000,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
const productLabelDiscountOn = true;
return `
-
${saveText.replace('\{\{saved_amount\}\}',
saveType == 'percentage'
? variantData.off_ratio + '%'
: ``
)}
`;
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"5c5f3b55-6ea7-421c-a4b2-1b94b31d3f9a","product_id":"b4a29c11-e9ae-4cc6-828c-6b2c8fb9e32b","title":"Beige-One Size","weight_unit":"kg","inventory_quantity":1000,"sku":"dlz1693054031165","barcode":"","position":1,"option1":"Beige","option2":"One Size","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0257df46fbfcb831b944a48fdeb91822.jpeg","path":"0257df46fbfcb831b944a48fdeb91822.jpeg","width":800,"height":800,"alt":"Sexy Knitted Turtleneck Sweater Vest","aspect_ratio":1},"wholesale_price":[{"price":22.95,"min_quantity":1}],"weight":"0","compare_at_price":"22.95","price":"22.95","retail_price":"22.95","available":true,"url":"\/products\/sexy-knitted-turtleneck-sweater-vest-2063?variant=5c5f3b55-6ea7-421c-a4b2-1b94b31d3f9a","available_quantity":1000,"options":[{"name":"Color","value":"Beige"},{"name":"Size","value":"One Size"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}