${function() {
const variantData = data.variant || {"id":"3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","product_id":"8431b6cb-d922-470e-b5a6-ef7a5cb0085a","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":125.67,"min_quantity":1}],"weight":"0.38","compare_at_price":"167.56","price":"125.67","retail_price":"167.56","available":true,"url":"\/products\/free-shipping-yvonne-platinum-deep-wave-3-bundles-weaves-with-5x5-closure?variant=3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","available_quantity":100,"options":[{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":124819,"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":"125.67","compare_at_price":"167.56","discount_price":"125.67","customary_saved_price":"41.89","customary_off_ratio":"25","discount_saved_price":"41.89","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":23};
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":"3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","product_id":"8431b6cb-d922-470e-b5a6-ef7a5cb0085a","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":125.67,"min_quantity":1}],"weight":"0.38","compare_at_price":"167.56","price":"125.67","retail_price":"167.56","available":true,"url":"\/products\/free-shipping-yvonne-platinum-deep-wave-3-bundles-weaves-with-5x5-closure?variant=3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","available_quantity":100,"options":[{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"3cf80aa2-ea1a-48a9-bdba-6631b3bdd650","product_id":"","quantity":0,"discount_id":"6179f681-f732-40c7-b376-72ab53ce02ae","limit_time":124819,"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":"125.67","compare_at_price":"167.56","discount_price":"125.67","customary_saved_price":"41.89","customary_off_ratio":"25","discount_saved_price":"41.89","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":23};
return `
Sku : ${variantData && variantData.sku}
`
}()}