${function() {
const variantData = data.variant || {"id":"75938d20-753c-4e7d-9a10-bdcfe2c67c5e","product_id":"8dc0d524-81d0-43b1-805a-ba8ff057a13f","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44371129","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c66d9bf843d4b81ca8f9f35d0103bbf.jpeg","path":"0c66d9bf843d4b81ca8f9f35d0103bbf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.22,"min_quantity":1}],"weight":"0","compare_at_price":"54.22","price":"54.22","retail_price":"54.22","available":true,"url":"\/products\/two-piece-sweater-for-autumn-and-winter-design-207998497239?variant=75938d20-753c-4e7d-9a10-bdcfe2c67c5e","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"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":"75938d20-753c-4e7d-9a10-bdcfe2c67c5e","product_id":"8dc0d524-81d0-43b1-805a-ba8ff057a13f","title":"apricot-L","weight_unit":"kg","inventory_quantity":1000,"sku":"apricot L-44371129","barcode":"","position":1,"option1":"apricot","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0c66d9bf843d4b81ca8f9f35d0103bbf.jpeg","path":"0c66d9bf843d4b81ca8f9f35d0103bbf.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":54.22,"min_quantity":1}],"weight":"0","compare_at_price":"54.22","price":"54.22","retail_price":"54.22","available":true,"url":"\/products\/two-piece-sweater-for-autumn-and-winter-design-207998497239?variant=75938d20-753c-4e7d-9a10-bdcfe2c67c5e","available_quantity":999999999,"options":[{"name":"color","value":"apricot"},{"name":"size","value":"L"}],"off_ratio":0,"flashsale_info":[],"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}