${function() {
const variantData = data.variant || {"id":"123edfcb-04ae-448c-82af-51462c93ecaa","product_id":"01ce3cf5-ff1b-46ea-a1c6-7938f0891ff6","title":"style 1","weight_unit":"kg","inventory_quantity":1000,"sku":"ZY14-style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/1c20821220709e261c94d3f2494205fd.jpeg","path":"1c20821220709e261c94d3f2494205fd.jpeg","width":800,"height":800,"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\/3pcs-woman-girls-acctate-leopard-hair-ties-scrunchies-women-hair-rope-gum-headwear-rubber-band-elastic-hairband-hair-accessories?variant=123edfcb-04ae-448c-82af-51462c93ecaa","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":50,"flashsale_info":[],"sales":0};
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":"123edfcb-04ae-448c-82af-51462c93ecaa","product_id":"01ce3cf5-ff1b-46ea-a1c6-7938f0891ff6","title":"style 1","weight_unit":"kg","inventory_quantity":1000,"sku":"ZY14-style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.fantaskycdn.com\/1c20821220709e261c94d3f2494205fd.jpeg","path":"1c20821220709e261c94d3f2494205fd.jpeg","width":800,"height":800,"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\/3pcs-woman-girls-acctate-leopard-hair-ties-scrunchies-women-hair-rope-gum-headwear-rubber-band-elastic-hairband-hair-accessories?variant=123edfcb-04ae-448c-82af-51462c93ecaa","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}