${function() {
const variantData = data.variant || {"id":"d2128188-1598-4899-8fac-e0fc3ec255ef","product_id":"d29f0b73-ad7b-4723-b8ae-92b1454fb522","title":"Light Purple","weight_unit":"kg","inventory_quantity":999,"sku":"3256805415413067_Light Purple","barcode":"","position":1,"option1":"Light Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62a7efb13926c39690faa79ca084eefe.jpeg","path":"62a7efb13926c39690faa79ca084eefe.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-extra-large-bowknot-ribbon-gauze-hair-claws-hairpins-lady-hair-accessories-girls-hair-clips-headwear-ornaments-barrettes?variant=d2128188-1598-4899-8fac-e0fc3ec255ef","available_quantity":999999999,"options":[{"name":"Color","value":"Light Purple"}],"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":"d2128188-1598-4899-8fac-e0fc3ec255ef","product_id":"d29f0b73-ad7b-4723-b8ae-92b1454fb522","title":"Light Purple","weight_unit":"kg","inventory_quantity":999,"sku":"3256805415413067_Light Purple","barcode":"","position":1,"option1":"Light Purple","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/62a7efb13926c39690faa79ca084eefe.jpeg","path":"62a7efb13926c39690faa79ca084eefe.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-extra-large-bowknot-ribbon-gauze-hair-claws-hairpins-lady-hair-accessories-girls-hair-clips-headwear-ornaments-barrettes?variant=d2128188-1598-4899-8fac-e0fc3ec255ef","available_quantity":999999999,"options":[{"name":"Color","value":"Light Purple"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}