${function() {
const variantData = data.variant || {"id":"77ea5749-0a67-4446-a694-fdcfc0cf6290","product_id":"23ec5eab-00c1-4f3e-a704-1fb562a87cc8","title":"Free Part\uff08HD Lace)-10 10 10","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Free Part\uff08HD Lace)","option2":"10 10 10","option3":"","note":"","image":null,"wholesale_price":[{"price":129.83,"min_quantity":1}],"weight":"0.35","compare_at_price":"173.11","price":"129.83","retail_price":"173.11","available":true,"url":"\/products\/yvonne-free-shipping-platinum-kinky-curly-3-bundles-human-hair-weaves-with-hd-5x5-lace-closure?variant=77ea5749-0a67-4446-a694-fdcfc0cf6290","available_quantity":100,"options":[{"name":"Part Design","value":"Free Part\uff08HD Lace)"},{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"77ea5749-0a67-4446-a694-fdcfc0cf6290","product_id":"","quantity":0,"discount_id":"08dbbfee-aa9b-4207-8902-f447839c2e62","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":-1,"starts_at":1714464000,"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":112};
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}
`
}()}
${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":"77ea5749-0a67-4446-a694-fdcfc0cf6290","product_id":"23ec5eab-00c1-4f3e-a704-1fb562a87cc8","title":"Free Part\uff08HD Lace)-10 10 10","weight_unit":"kg","inventory_quantity":100,"sku":"","barcode":"","position":1,"option1":"Free Part\uff08HD Lace)","option2":"10 10 10","option3":"","note":"","image":null,"wholesale_price":[{"price":129.83,"min_quantity":1}],"weight":"0.35","compare_at_price":"173.11","price":"129.83","retail_price":"173.11","available":true,"url":"\/products\/yvonne-free-shipping-platinum-kinky-curly-3-bundles-human-hair-weaves-with-hd-5x5-lace-closure?variant=77ea5749-0a67-4446-a694-fdcfc0cf6290","available_quantity":100,"options":[{"name":"Part Design","value":"Free Part\uff08HD Lace)"},{"name":"Length","value":"10 10 10"}],"off_ratio":"25","flashsale_info":{"variant_id":"77ea5749-0a67-4446-a694-fdcfc0cf6290","product_id":"","quantity":0,"discount_id":"08dbbfee-aa9b-4207-8902-f447839c2e62","limit_time":-1,"limit_buy":-1,"user_limit_buy":-1,"discount_sales":0,"discount_sales_rate":"0","discount_stock":100,"ends_at":-1,"starts_at":1714464000,"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":112};
return `
Sku : ${variantData && variantData.sku}
`
}()}