${function() {
const variantData = data.variant || {"id":"edf6d723-3d05-49ab-96f1-b40da866c69d","product_id":"30490594-af14-4ded-8a99-1a13e7e00920","title":"","weight_unit":"kg","inventory_quantity":8883,"sku":"4838735-antique-silver-plated","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1.9,"min_quantity":1}],"weight":"0","compare_at_price":"2.24","price":"1.9","retail_price":"2.24","available":true,"url":"\/products\/fashion-angel-wings-earrings-for-women-ear-charm-feather-stud?variant=edf6d723-3d05-49ab-96f1-b40da866c69d","available_quantity":8883,"options":[],"off_ratio":"15","flashsale_info":{"variant_id":"edf6d723-3d05-49ab-96f1-b40da866c69d","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1626081,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":8883,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"1.9","compare_at_price":"2.24","discount_price":"1.9","customary_saved_price":"0.34","customary_off_ratio":"15","discount_saved_price":"0.34","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 + '%'
: ``
)}
`;
}()}
Product was out of stock.
Product is unavailable.
${function(){
const variantData = data.variant || {"id":"edf6d723-3d05-49ab-96f1-b40da866c69d","product_id":"30490594-af14-4ded-8a99-1a13e7e00920","title":"","weight_unit":"kg","inventory_quantity":8883,"sku":"4838735-antique-silver-plated","barcode":"","position":1,"option1":"","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":1.9,"min_quantity":1}],"weight":"0","compare_at_price":"2.24","price":"1.9","retail_price":"2.24","available":true,"url":"\/products\/fashion-angel-wings-earrings-for-women-ear-charm-feather-stud?variant=edf6d723-3d05-49ab-96f1-b40da866c69d","available_quantity":8883,"options":[],"off_ratio":"15","flashsale_info":{"variant_id":"edf6d723-3d05-49ab-96f1-b40da866c69d","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1626081,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":8883,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"1.9","compare_at_price":"2.24","discount_price":"1.9","customary_saved_price":"0.34","customary_off_ratio":"15","discount_saved_price":"0.34","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 `
`
}()}