${function() {
const variantData = data.variant || {"id":"5b7f5b47-86ed-4f84-b774-20293e3e9cd6","product_id":"08a9f066-2d51-4a55-a119-7018ab482546","title":"purple","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e74d2907409d660084d908b625972edc.jpeg","path":"e74d2907409d660084d908b625972edc.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.71,"min_quantity":1}],"weight":"0.55","compare_at_price":"24.89","price":"8.71","retail_price":"24.89","available":true,"url":"\/products\/s021-portable-cordless-electric-leg-hand-head-scalp-massager-back-and-neck-vibrating-massage-vibrator-for-massage?variant=5b7f5b47-86ed-4f84-b774-20293e3e9cd6","available_quantity":999999999,"options":[{"name":"Color","value":"purple"}],"off_ratio":"65","flashsale_info":{"variant_id":"5b7f5b47-86ed-4f84-b774-20293e3e9cd6","product_id":"","quantity":0,"discount_id":"4179750e-fde5-4db7-8119-f1aa8dd09f83","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":-1,"starts_at":1699268226,"allow_oversold":"uncheck","allocation_method":"none","price":"8.71","compare_at_price":"24.89","discount_price":"8.71","customary_saved_price":"16.18","customary_off_ratio":"65","discount_saved_price":"16.18","discount_off_ratio":"65","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":"5b7f5b47-86ed-4f84-b774-20293e3e9cd6","product_id":"08a9f066-2d51-4a55-a119-7018ab482546","title":"purple","weight_unit":"kg","inventory_quantity":99,"sku":"","barcode":"","position":1,"option1":"purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e74d2907409d660084d908b625972edc.jpeg","path":"e74d2907409d660084d908b625972edc.jpeg","width":900,"height":900,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":8.71,"min_quantity":1}],"weight":"0.55","compare_at_price":"24.89","price":"8.71","retail_price":"24.89","available":true,"url":"\/products\/s021-portable-cordless-electric-leg-hand-head-scalp-massager-back-and-neck-vibrating-massage-vibrator-for-massage?variant=5b7f5b47-86ed-4f84-b774-20293e3e9cd6","available_quantity":999999999,"options":[{"name":"Color","value":"purple"}],"off_ratio":"65","flashsale_info":{"variant_id":"5b7f5b47-86ed-4f84-b774-20293e3e9cd6","product_id":"","quantity":0,"discount_id":"4179750e-fde5-4db7-8119-f1aa8dd09f83","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":-1,"ends_at":-1,"starts_at":1699268226,"allow_oversold":"uncheck","allocation_method":"none","price":"8.71","compare_at_price":"24.89","discount_price":"8.71","customary_saved_price":"16.18","customary_off_ratio":"65","discount_saved_price":"16.18","discount_off_ratio":"65","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}
`
}()}