${function() {
const variantData = data.variant || {"id":"06e2b747-6f3f-4a18-a6d5-ad3a26fd1a24","product_id":"aceefa91-283b-45a3-8551-9c9ba7c7e4a0","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Green S-43069692","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d6048123405027d6efccd1adc96b6ff.jpeg","path":"2d6048123405027d6efccd1adc96b6ff.jpeg","width":750,"height":750,"alt":"Elegant Floral Knit Sweater Pullover for Women","aspect_ratio":1},"wholesale_price":[{"price":30.57,"min_quantity":1}],"weight":"0","compare_at_price":"30.57","price":"30.57","retail_price":"30.57","available":true,"url":"\/products\/elegant-floral-knit-sweater-pullover-for-women-208529810253?variant=06e2b747-6f3f-4a18-a6d5-ad3a26fd1a24","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"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":"06e2b747-6f3f-4a18-a6d5-ad3a26fd1a24","product_id":"aceefa91-283b-45a3-8551-9c9ba7c7e4a0","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"Green S-43069692","barcode":"","position":1,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2d6048123405027d6efccd1adc96b6ff.jpeg","path":"2d6048123405027d6efccd1adc96b6ff.jpeg","width":750,"height":750,"alt":"Elegant Floral Knit Sweater Pullover for Women","aspect_ratio":1},"wholesale_price":[{"price":30.57,"min_quantity":1}],"weight":"0","compare_at_price":"30.57","price":"30.57","retail_price":"30.57","available":true,"url":"\/products\/elegant-floral-knit-sweater-pullover-for-women-208529810253?variant=06e2b747-6f3f-4a18-a6d5-ad3a26fd1a24","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}