${function() {
const variantData = data.variant || {"id":"cc1902f9-0929-4472-ae6f-59cacc3f4920","product_id":"1c4ac83d-4d93-4e03-9447-4ab558d7e6ad","title":"12 12 12","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"12 12 12","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":126.86,"min_quantity":1}],"weight":"0.38","compare_at_price":"169.15","price":"126.86","retail_price":"169.15","available":true,"url":"\/products\/free-shipping-yvonne-kinky-straight-3-bundles-with-4x4-lace-closure?variant=cc1902f9-0929-4472-ae6f-59cacc3f4920","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"cc1902f9-0929-4472-ae6f-59cacc3f4920","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":100742,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":1,"discount_sales_rate":"1","discount_stock":100,"ends_at":1714463999,"starts_at":1685438570,"allow_oversold":"uncheck","allocation_method":"none","price":"126.86","compare_at_price":"169.15","discount_price":"126.86","customary_saved_price":"42.29","customary_off_ratio":"25","discount_saved_price":"42.29","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":127};
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":"cc1902f9-0929-4472-ae6f-59cacc3f4920","product_id":"1c4ac83d-4d93-4e03-9447-4ab558d7e6ad","title":"12 12 12","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"12 12 12","option2":"","option3":"","note":"","image":null,"wholesale_price":[{"price":126.86,"min_quantity":1}],"weight":"0.38","compare_at_price":"169.15","price":"126.86","retail_price":"169.15","available":true,"url":"\/products\/free-shipping-yvonne-kinky-straight-3-bundles-with-4x4-lace-closure?variant=cc1902f9-0929-4472-ae6f-59cacc3f4920","available_quantity":100,"options":[{"name":"Length","value":"12 12 12"}],"off_ratio":"25","flashsale_info":{"variant_id":"cc1902f9-0929-4472-ae6f-59cacc3f4920","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":100742,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":1,"discount_sales_rate":"1","discount_stock":100,"ends_at":1714463999,"starts_at":1685438570,"allow_oversold":"uncheck","allocation_method":"none","price":"126.86","compare_at_price":"169.15","discount_price":"126.86","customary_saved_price":"42.29","customary_off_ratio":"25","discount_saved_price":"42.29","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":127};
return `
Sku : ${variantData && variantData.sku}
`
}()}