${function() {
const variantData = data.variant || {"id":"2e35f974-eb87-4c39-ae90-c4954e3f66a0","product_id":"6df81153-ecd2-4738-835b-032a187c6e62","title":"Sliver","weight_unit":"kg","inventory_quantity":999,"sku":"3256804630641837_Sliver","barcode":"","position":1,"option1":"Sliver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/640614e6979f184d01b6de699252d325.jpeg","path":"640614e6979f184d01b6de699252d325.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\/13cm-extal-large-metal-love-tassel-chain-hair-claws-girls-barrettes-hairpins-hair-clips-woman-hair-accessories-headwear-hairgrip?variant=2e35f974-eb87-4c39-ae90-c4954e3f66a0","available_quantity":999999999,"options":[{"name":"Color","value":"Sliver"}],"off_ratio":50,"flashsale_info":[],"sales":1};
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":"2e35f974-eb87-4c39-ae90-c4954e3f66a0","product_id":"6df81153-ecd2-4738-835b-032a187c6e62","title":"Sliver","weight_unit":"kg","inventory_quantity":999,"sku":"3256804630641837_Sliver","barcode":"","position":1,"option1":"Sliver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/640614e6979f184d01b6de699252d325.jpeg","path":"640614e6979f184d01b6de699252d325.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\/13cm-extal-large-metal-love-tassel-chain-hair-claws-girls-barrettes-hairpins-hair-clips-woman-hair-accessories-headwear-hairgrip?variant=2e35f974-eb87-4c39-ae90-c4954e3f66a0","available_quantity":999999999,"options":[{"name":"Color","value":"Sliver"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}