${function() {
const variantData = data.variant || {"id":"754151d3-7660-4044-aa38-f2c078d51778","product_id":"6e18300a-c935-4c27-95ec-62fd8f691eef","title":"orange-10x14cm 10pcs","weight_unit":"kg","inventory_quantity":879,"sku":"43109725-orange-10x14cm-10pcs","barcode":"","position":2,"option1":"orange","option2":"10x14cm 10pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/389a7012a8240759dbdd8b86669047d9.jpeg","path":"389a7012a8240759dbdd8b86669047d9.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.05,"min_quantity":1}],"weight":"0","compare_at_price":"18.88","price":"16.05","retail_price":"18.88","available":true,"url":"\/products\/multi-colors-imitation-cotton-linen-drawstring-organza-jewelry-bag-10pcs-lot?variant=754151d3-7660-4044-aa38-f2c078d51778","available_quantity":879,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"10x14cm 10pcs"}],"off_ratio":"15","flashsale_info":{"variant_id":"754151d3-7660-4044-aa38-f2c078d51778","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":958350,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":879,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"16.05","compare_at_price":"18.88","discount_price":"16.05","customary_saved_price":"2.83","customary_off_ratio":"15","discount_saved_price":"2.83","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}
`
}()}
${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":"754151d3-7660-4044-aa38-f2c078d51778","product_id":"6e18300a-c935-4c27-95ec-62fd8f691eef","title":"orange-10x14cm 10pcs","weight_unit":"kg","inventory_quantity":879,"sku":"43109725-orange-10x14cm-10pcs","barcode":"","position":2,"option1":"orange","option2":"10x14cm 10pcs","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/389a7012a8240759dbdd8b86669047d9.jpeg","path":"389a7012a8240759dbdd8b86669047d9.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.05,"min_quantity":1}],"weight":"0","compare_at_price":"18.88","price":"16.05","retail_price":"18.88","available":true,"url":"\/products\/multi-colors-imitation-cotton-linen-drawstring-organza-jewelry-bag-10pcs-lot?variant=754151d3-7660-4044-aa38-f2c078d51778","available_quantity":879,"options":[{"name":"Color","value":"orange"},{"name":"Size","value":"10x14cm 10pcs"}],"off_ratio":"15","flashsale_info":{"variant_id":"754151d3-7660-4044-aa38-f2c078d51778","product_id":"","quantity":0,"discount_id":"8244c655-56a7-4716-a760-1408dd4e9baa","limit_time":958350,"limit_buy":2,"user_limit_buy":2,"discount_sales":0,"discount_sales_rate":"0","discount_stock":879,"ends_at":1715097599,"starts_at":1713428843,"allow_oversold":"check","allocation_method":"each","price":"16.05","compare_at_price":"18.88","discount_price":"16.05","customary_saved_price":"2.83","customary_off_ratio":"15","discount_saved_price":"2.83","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 `
`
}()}