${function() {
const variantData = data.variant || {"id":"1650e53a-528d-4ab1-bccf-717190de70be","product_id":"2a760816-dd4b-43bf-8257-c1dea01690c6","title":"style 1","weight_unit":"kg","inventory_quantity":999,"sku":"3256802066807709_style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9064337b563cfbb6216ed399677c1f5.jpeg","path":"e9064337b563cfbb6216ed399677c1f5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/woman-elegant-pearl-hair-bun-maker-tool-girl-flower-pontail-band-hairstyle-donut-hair-accessories-braider-twist-headwear?variant=1650e53a-528d-4ab1-bccf-717190de70be","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":58,"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":"1650e53a-528d-4ab1-bccf-717190de70be","product_id":"2a760816-dd4b-43bf-8257-c1dea01690c6","title":"style 1","weight_unit":"kg","inventory_quantity":999,"sku":"3256802066807709_style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e9064337b563cfbb6216ed399677c1f5.jpeg","path":"e9064337b563cfbb6216ed399677c1f5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/woman-elegant-pearl-hair-bun-maker-tool-girl-flower-pontail-band-hairstyle-donut-hair-accessories-braider-twist-headwear?variant=1650e53a-528d-4ab1-bccf-717190de70be","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}