${function() {
const variantData = data.variant || {"id":"c5c07b85-0353-47a2-9e6e-a67e32bcb439","product_id":"671677a6-a8c3-4015-bbaf-14e91b96eb37","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"GU06607-Green-A001770","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e6a7815bd101082c3f31f16c1eefed3.jpeg","path":"2e6a7815bd101082c3f31f16c1eefed3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":241.99,"min_quantity":1}],"weight":"0","compare_at_price":"724.99","price":"241.99","retail_price":"724.99","available":true,"url":"\/products\/small-washing-machine-with-blue-light-6l-folding-portable-sterilization-drying-laundry-machine-for-underwear-socks-baby-clothes?variant=c5c07b85-0353-47a2-9e6e-a67e32bcb439","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":500};
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}
`
}()}
Product was out of stock.
Product is unavailable.
Sku : GU06607-Green-A001770
${function(){
const variantData = data.variant || {"id":"c5c07b85-0353-47a2-9e6e-a67e32bcb439","product_id":"671677a6-a8c3-4015-bbaf-14e91b96eb37","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"GU06607-Green-A001770","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2e6a7815bd101082c3f31f16c1eefed3.jpeg","path":"2e6a7815bd101082c3f31f16c1eefed3.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":241.99,"min_quantity":1}],"weight":"0","compare_at_price":"724.99","price":"241.99","retail_price":"724.99","available":true,"url":"\/products\/small-washing-machine-with-blue-light-6l-folding-portable-sterilization-drying-laundry-machine-for-underwear-socks-baby-clothes?variant=c5c07b85-0353-47a2-9e6e-a67e32bcb439","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":500};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}