${function() {
const variantData = data.variant || {"id":"3da334d2-b91e-49c6-a3b4-de872e3eb785","product_id":"18cb140a-30dc-4021-a34e-0d93efd466e8","title":"style 5","weight_unit":"kg","inventory_quantity":997,"sku":"3256801251400819_style 5","barcode":"","position":1,"option1":"style 5","option2":"","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/58881500a517f9a8397976d4fd3b1f75.jpeg","path":"58881500a517f9a8397976d4fd3b1f75.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/tie-dye-corssed-headband-for-woman-girls-chic-width-hairband-hair-accessories-headwear-retro-ornaments-headwrap-turban?variant=3da334d2-b91e-49c6-a3b4-de872e3eb785","available_quantity":999999999,"options":[{"name":"Color","value":"style 5"}],"off_ratio":50,"flashsale_info":[],"sales":3};
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":"3da334d2-b91e-49c6-a3b4-de872e3eb785","product_id":"18cb140a-30dc-4021-a34e-0d93efd466e8","title":"style 5","weight_unit":"kg","inventory_quantity":997,"sku":"3256801251400819_style 5","barcode":"","position":1,"option1":"style 5","option2":"","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/58881500a517f9a8397976d4fd3b1f75.jpeg","path":"58881500a517f9a8397976d4fd3b1f75.jpeg","width":1000,"height":1000,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":9.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"9.99","retail_price":"19.99","available":true,"url":"\/products\/tie-dye-corssed-headband-for-woman-girls-chic-width-hairband-hair-accessories-headwear-retro-ornaments-headwrap-turban?variant=3da334d2-b91e-49c6-a3b4-de872e3eb785","available_quantity":999999999,"options":[{"name":"Color","value":"style 5"}],"off_ratio":50,"flashsale_info":[],"sales":3};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}