${function() {
const variantData = data.variant || {"id":"c0ac3bad-86cb-4c5c-85d2-1c2fbf747c69","product_id":"68b8f4ee-6779-432d-8fb7-ac61a3b40083","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"ML07126-Green-A001957","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b583c5a2807505e8a19ea9d495bcf5e.jpg","path":"7b583c5a2807505e8a19ea9d495bcf5e.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":346.99,"min_quantity":1}],"weight":"0","compare_at_price":"1039.99","price":"346.99","retail_price":"1039.99","available":true,"url":"\/products\/smart-soymilk-maker-multifunctional-mini-filter-for-2-5-people-households-fully-automatic?variant=c0ac3bad-86cb-4c5c-85d2-1c2fbf747c69","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
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 : ML07126-Green-A001957
${function(){
const variantData = data.variant || {"id":"c0ac3bad-86cb-4c5c-85d2-1c2fbf747c69","product_id":"68b8f4ee-6779-432d-8fb7-ac61a3b40083","title":"Green","weight_unit":"kg","inventory_quantity":1000,"sku":"ML07126-Green-A001957","barcode":"","position":1,"option1":"Green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/7b583c5a2807505e8a19ea9d495bcf5e.jpg","path":"7b583c5a2807505e8a19ea9d495bcf5e.jpg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":346.99,"min_quantity":1}],"weight":"0","compare_at_price":"1039.99","price":"346.99","retail_price":"1039.99","available":true,"url":"\/products\/smart-soymilk-maker-multifunctional-mini-filter-for-2-5-people-households-fully-automatic?variant=c0ac3bad-86cb-4c5c-85d2-1c2fbf747c69","available_quantity":1000,"options":[{"name":"Color","value":"Green"}],"off_ratio":67,"flashsale_info":[],"sales":3000};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}