${function() {
const variantData = data.variant || {"id":"3809abca-7c40-4247-bd23-b49735dff27f","product_id":"edd9c84b-5df8-4209-b975-41179c73f732","title":"Green","weight_unit":"kg","inventory_quantity":500,"sku":"HB10487-Green-A001811","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb29be434e80bffcacdf6121e71e0fd5.jpg","path":"fb29be434e80bffcacdf6121e71e0fd5.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239.99,"min_quantity":1}],"weight":"0","compare_at_price":"719.99","price":"239.99","retail_price":"719.99","available":true,"url":"\/products\/small-washing-machine-6l-folding-portable-sterilization-drying-laundry-machine-for-underwear-socks-clothes?variant=3809abca-7c40-4247-bd23-b49735dff27f","available_quantity":500,"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 : HB10487-Green-A001811
${function(){
const variantData = data.variant || {"id":"3809abca-7c40-4247-bd23-b49735dff27f","product_id":"edd9c84b-5df8-4209-b975-41179c73f732","title":"Green","weight_unit":"kg","inventory_quantity":500,"sku":"HB10487-Green-A001811","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fb29be434e80bffcacdf6121e71e0fd5.jpg","path":"fb29be434e80bffcacdf6121e71e0fd5.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":239.99,"min_quantity":1}],"weight":"0","compare_at_price":"719.99","price":"239.99","retail_price":"719.99","available":true,"url":"\/products\/small-washing-machine-6l-folding-portable-sterilization-drying-laundry-machine-for-underwear-socks-clothes?variant=3809abca-7c40-4247-bd23-b49735dff27f","available_quantity":500,"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}
`
}()}