${function() {
const variantData = data.variant || {"id":"4e3653a3-eff6-4704-90d4-adbe6a293090","product_id":"9beb1f3f-6695-4a7d-92ad-d3830dee09b2","title":"White","weight_unit":"lb","inventory_quantity":100,"sku":"23784906","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71f9a03fb501a5c78ab4368fa42ea553.jpeg","path":"71f9a03fb501a5c78ab4368fa42ea553.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":162.35,"min_quantity":1}],"weight":"13","compare_at_price":"191","price":"162.35","retail_price":"191","available":true,"url":"\/products\/round-nesting-table-set-of-2?variant=4e3653a3-eff6-4704-90d4-adbe6a293090","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"White"}],"off_ratio":"15","flashsale_info":{"variant_id":"4e3653a3-eff6-4704-90d4-adbe6a293090","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":137244,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"162.35","compare_at_price":"191","discount_price":"162.35","customary_saved_price":"28.65","customary_off_ratio":"15","discount_saved_price":"28.65","discount_off_ratio":"15","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
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.
${function(){
const variantData = data.variant || {"id":"4e3653a3-eff6-4704-90d4-adbe6a293090","product_id":"9beb1f3f-6695-4a7d-92ad-d3830dee09b2","title":"White","weight_unit":"lb","inventory_quantity":100,"sku":"23784906","barcode":"","position":1,"option1":"White","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71f9a03fb501a5c78ab4368fa42ea553.jpeg","path":"71f9a03fb501a5c78ab4368fa42ea553.jpeg","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":162.35,"min_quantity":1}],"weight":"13","compare_at_price":"191","price":"162.35","retail_price":"191","available":true,"url":"\/products\/round-nesting-table-set-of-2?variant=4e3653a3-eff6-4704-90d4-adbe6a293090","available_quantity":100,"options":[{"name":"\u989c\u8272","value":"White"}],"off_ratio":"15","flashsale_info":{"variant_id":"4e3653a3-eff6-4704-90d4-adbe6a293090","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":137244,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"162.35","compare_at_price":"191","discount_price":"162.35","customary_saved_price":"28.65","customary_off_ratio":"15","discount_saved_price":"28.65","discount_off_ratio":"15","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"","discount_quantity":0,"is_need_split":false},"sales":0};
return `
`
}()}