${function() {
const variantData = data.variant || {"id":"501e9e31-60e6-4fc4-bc9d-f54b572996db","product_id":"9a9391e4-bfbf-4a4d-80c4-ed153713cafc","title":"green","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48358e755e333406f24badbb66c51aec.jpeg","path":"48358e755e333406f24badbb66c51aec.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.69,"min_quantity":1}],"weight":"0.41","compare_at_price":"39.37","price":"19.69","retail_price":"39.37","available":true,"url":"\/products\/s060-hot-selling-smart-mini-body-cellulite-muscle-massage-head-massager-back-and-neck-machine?variant=501e9e31-60e6-4fc4-bc9d-f54b572996db","available_quantity":999999999,"options":[{"name":"Color","value":"green"}],"off_ratio":"50","flashsale_info":{"variant_id":"501e9e31-60e6-4fc4-bc9d-f54b572996db","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3233100,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1705391999,"starts_at":1698915434,"allow_oversold":"uncheck","allocation_method":"none","price":"19.69","compare_at_price":"39.37","discount_price":"19.69","customary_saved_price":"19.68","customary_off_ratio":"50","discount_saved_price":"19.68","discount_off_ratio":"50","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
const saveType = "percentage";
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.
${function(){
const variantData = data.variant || {"id":"501e9e31-60e6-4fc4-bc9d-f54b572996db","product_id":"9a9391e4-bfbf-4a4d-80c4-ed153713cafc","title":"green","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"green","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/48358e755e333406f24badbb66c51aec.jpeg","path":"48358e755e333406f24badbb66c51aec.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.69,"min_quantity":1}],"weight":"0.41","compare_at_price":"39.37","price":"19.69","retail_price":"39.37","available":true,"url":"\/products\/s060-hot-selling-smart-mini-body-cellulite-muscle-massage-head-massager-back-and-neck-machine?variant=501e9e31-60e6-4fc4-bc9d-f54b572996db","available_quantity":999999999,"options":[{"name":"Color","value":"green"}],"off_ratio":"50","flashsale_info":{"variant_id":"501e9e31-60e6-4fc4-bc9d-f54b572996db","product_id":"","quantity":0,"discount_id":"39f7a298-e85a-4b00-b6db-02532c9b0873","limit_time":3233100,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":1705391999,"starts_at":1698915434,"allow_oversold":"uncheck","allocation_method":"none","price":"19.69","compare_at_price":"39.37","discount_price":"19.69","customary_saved_price":"19.68","customary_off_ratio":"50","discount_saved_price":"19.68","discount_off_ratio":"50","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
Sku : ${variantData && variantData.sku}
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}