${function() {
const variantData = data.variant || {"id":"cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","product_id":"7065dc1f-b320-4ad1-b1dd-cb770a856b3b","title":"Silver","weight_unit":"lb","inventory_quantity":50,"sku":"S-29746183","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e27f1071a8af2968b212aec5fad24daa.jpeg","path":"e27f1071a8af2968b212aec5fad24daa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":121.55,"min_quantity":1}],"weight":"4.35","compare_at_price":"143","price":"121.55","retail_price":"143","available":true,"url":"\/products\/2-tier-steamer-pot?variant=cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"Silver"}],"off_ratio":"15","flashsale_info":{"variant_id":"cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":909884,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":50,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"121.55","compare_at_price":"143","discount_price":"121.55","customary_saved_price":"21.45","customary_off_ratio":"15","discount_saved_price":"21.45","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":"cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","product_id":"7065dc1f-b320-4ad1-b1dd-cb770a856b3b","title":"Silver","weight_unit":"lb","inventory_quantity":50,"sku":"S-29746183","barcode":"","position":1,"option1":"Silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e27f1071a8af2968b212aec5fad24daa.jpeg","path":"e27f1071a8af2968b212aec5fad24daa.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":121.55,"min_quantity":1}],"weight":"4.35","compare_at_price":"143","price":"121.55","retail_price":"143","available":true,"url":"\/products\/2-tier-steamer-pot?variant=cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","available_quantity":50,"options":[{"name":"\u989c\u8272","value":"Silver"}],"off_ratio":"15","flashsale_info":{"variant_id":"cd2d7dbc-de27-44f0-a6e5-daaf7ced83d0","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":909884,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":50,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"121.55","compare_at_price":"143","discount_price":"121.55","customary_saved_price":"21.45","customary_off_ratio":"15","discount_saved_price":"21.45","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 `
`
}()}