${function() {
const variantData = data.variant || {"id":"28b9c23c-0b95-400f-86d7-e1431889006e","product_id":"3280b3b4-990b-4d10-a245-4e9a348aa5d6","title":"10 10 10","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"10 10 10","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":129.83,"min_quantity":1}],"weight":"0.38","compare_at_price":"173.11","price":"129.83","retail_price":"173.11","available":true,"url":"\/products\/free-shipping-yvonne-platinum-kinky-curly-3-bundles-weaves-with-5x5-closure?variant=28b9c23c-0b95-400f-86d7-e1431889006e","available_quantity":100,"options":[{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"28b9c23c-0b95-400f-86d7-e1431889006e","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":109659,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1714463999,"starts_at":1685438570,"allow_oversold":"uncheck","allocation_method":"none","price":"129.83","compare_at_price":"173.11","discount_price":"129.83","customary_saved_price":"43.28","customary_off_ratio":"25","discount_saved_price":"43.28","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"SPECIAL OFFER","discount_quantity":0,"is_need_split":false},"sales":36};
const saveType = "percentage";
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":"28b9c23c-0b95-400f-86d7-e1431889006e","product_id":"3280b3b4-990b-4d10-a245-4e9a348aa5d6","title":"10 10 10","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"10 10 10","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":129.83,"min_quantity":1}],"weight":"0.38","compare_at_price":"173.11","price":"129.83","retail_price":"173.11","available":true,"url":"\/products\/free-shipping-yvonne-platinum-kinky-curly-3-bundles-weaves-with-5x5-closure?variant=28b9c23c-0b95-400f-86d7-e1431889006e","available_quantity":100,"options":[{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"28b9c23c-0b95-400f-86d7-e1431889006e","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":109659,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":1714463999,"starts_at":1685438570,"allow_oversold":"uncheck","allocation_method":"none","price":"129.83","compare_at_price":"173.11","discount_price":"129.83","customary_saved_price":"43.28","customary_off_ratio":"25","discount_saved_price":"43.28","discount_off_ratio":"25","use_before_price":false,"before_price":"0","title":"","properties":"","color_setting_promotional_copy":"SPECIAL OFFER","discount_quantity":0,"is_need_split":false},"sales":36};
return `
Sku : ${variantData && variantData.sku}
`
}()}