${function() {
const variantData = data.variant || {"id":"f2cd9aee-3b1c-47ca-a8b6-5f6141f3be5e","product_id":"2b3fa225-0d41-4f0f-9a0c-69cfa98a085f","title":"gold","weight_unit":"kg","inventory_quantity":1000,"sku":"3256803026145359_gold","barcode":"","position":1,"option1":"gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f74ae790cc701578f0b12833f69e341e.jpeg","path":"f74ae790cc701578f0b12833f69e341e.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\/simple-metal-hair-claws-women-big-barrettes-women-hairpin-gold-silver-hair-clips-hairgrip-hair-accessories-crab-headwear?variant=f2cd9aee-3b1c-47ca-a8b6-5f6141f3be5e","available_quantity":999999999,"options":[{"name":"Color","value":"gold"}],"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":"f2cd9aee-3b1c-47ca-a8b6-5f6141f3be5e","product_id":"2b3fa225-0d41-4f0f-9a0c-69cfa98a085f","title":"gold","weight_unit":"kg","inventory_quantity":1000,"sku":"3256803026145359_gold","barcode":"","position":1,"option1":"gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f74ae790cc701578f0b12833f69e341e.jpeg","path":"f74ae790cc701578f0b12833f69e341e.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\/simple-metal-hair-claws-women-big-barrettes-women-hairpin-gold-silver-hair-clips-hairgrip-hair-accessories-crab-headwear?variant=f2cd9aee-3b1c-47ca-a8b6-5f6141f3be5e","available_quantity":999999999,"options":[{"name":"Color","value":"gold"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}