${function() {
const variantData = data.variant || {"id":"e8856a72-3b21-47de-ba85-718ca56ee7af","product_id":"47c2c76e-9a14-4c72-bbaf-77d2340cfea8","title":"style 6","weight_unit":"kg","inventory_quantity":1000,"sku":"3256801762277963_style 6","barcode":"","position":1,"option1":"style 6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/baca37d0f19685eedf5d92be76c24d6e.jpeg","path":"baca37d0f19685eedf5d92be76c24d6e.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\/woman-chain-vintage-hair-claws-fashion-hair-accessories-hairpins-hair-clips-women-hairgrip-headwear-barrettes-ornaments?variant=e8856a72-3b21-47de-ba85-718ca56ee7af","available_quantity":999999999,"options":[{"name":"Color","value":"style 6"}],"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":"e8856a72-3b21-47de-ba85-718ca56ee7af","product_id":"47c2c76e-9a14-4c72-bbaf-77d2340cfea8","title":"style 6","weight_unit":"kg","inventory_quantity":1000,"sku":"3256801762277963_style 6","barcode":"","position":1,"option1":"style 6","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/baca37d0f19685eedf5d92be76c24d6e.jpeg","path":"baca37d0f19685eedf5d92be76c24d6e.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\/woman-chain-vintage-hair-claws-fashion-hair-accessories-hairpins-hair-clips-women-hairgrip-headwear-barrettes-ornaments?variant=e8856a72-3b21-47de-ba85-718ca56ee7af","available_quantity":999999999,"options":[{"name":"Color","value":"style 6"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}