${function() {
const variantData = data.variant || {"id":"334ae411-6fb5-4303-a1e1-1da6c0deefa9","product_id":"c8e93953-7ae8-4cf4-8798-835e07707c0a","title":"Red","weight_unit":"kg","inventory_quantity":38991,"sku":"1963274-red","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c9c4d847f1e3fb6cc07d76ef159f56c.jpeg","path":"5c9c4d847f1e3fb6cc07d76ef159f56c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.67,"min_quantity":1}],"weight":"0","compare_at_price":"40.79","price":"34.67","retail_price":"40.79","available":true,"url":"\/products\/jewelry-packing-velvet-bags-gift-display?variant=334ae411-6fb5-4303-a1e1-1da6c0deefa9","available_quantity":38991,"options":[{"name":"Color","value":"Red"}],"off_ratio":"15","flashsale_info":{"variant_id":"334ae411-6fb5-4303-a1e1-1da6c0deefa9","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1632069,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":38991,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"34.67","compare_at_price":"40.79","discount_price":"34.67","customary_saved_price":"6.12","customary_off_ratio":"15","discount_saved_price":"6.12","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":"334ae411-6fb5-4303-a1e1-1da6c0deefa9","product_id":"c8e93953-7ae8-4cf4-8798-835e07707c0a","title":"Red","weight_unit":"kg","inventory_quantity":38991,"sku":"1963274-red","barcode":"","position":1,"option1":"Red","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c9c4d847f1e3fb6cc07d76ef159f56c.jpeg","path":"5c9c4d847f1e3fb6cc07d76ef159f56c.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":34.67,"min_quantity":1}],"weight":"0","compare_at_price":"40.79","price":"34.67","retail_price":"40.79","available":true,"url":"\/products\/jewelry-packing-velvet-bags-gift-display?variant=334ae411-6fb5-4303-a1e1-1da6c0deefa9","available_quantity":38991,"options":[{"name":"Color","value":"Red"}],"off_ratio":"15","flashsale_info":{"variant_id":"334ae411-6fb5-4303-a1e1-1da6c0deefa9","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":1632069,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":38991,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"34.67","compare_at_price":"40.79","discount_price":"34.67","customary_saved_price":"6.12","customary_off_ratio":"15","discount_saved_price":"6.12","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 `
`
}()}