${function() {
const variantData = data.variant || {"id":"cfae2d6e-b8df-4ee4-9665-48ecd8aa2bbe","product_id":"671677a6-a8c3-4015-bbaf-14e91b96eb37","title":"Purple","weight_unit":"kg","inventory_quantity":1000,"sku":"GU06607-Purple-A001772","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d606c6d3973e294d187f2133b9539f4.jpeg","path":"1d606c6d3973e294d187f2133b9539f4.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=cfae2d6e-b8df-4ee4-9665-48ecd8aa2bbe","available_quantity":1000,"options":[{"name":"Color","value":"Purple"}],"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-Purple-A001772
${function(){
const variantData = data.variant || {"id":"cfae2d6e-b8df-4ee4-9665-48ecd8aa2bbe","product_id":"671677a6-a8c3-4015-bbaf-14e91b96eb37","title":"Purple","weight_unit":"kg","inventory_quantity":1000,"sku":"GU06607-Purple-A001772","barcode":"","position":3,"option1":"Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1d606c6d3973e294d187f2133b9539f4.jpeg","path":"1d606c6d3973e294d187f2133b9539f4.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=cfae2d6e-b8df-4ee4-9665-48ecd8aa2bbe","available_quantity":1000,"options":[{"name":"Color","value":"Purple"}],"off_ratio":67,"flashsale_info":[],"sales":500};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}