${function() {
const variantData = data.variant || {"id":"ac5b234c-9304-42ac-877d-1a7c95ad23dc","product_id":"7ab2d493-60a7-4509-9f55-97fb1fa38e78","title":"Golden","weight_unit":"kg","inventory_quantity":1000,"sku":"3256805390622974_Golden","barcode":"","position":1,"option1":"Golden","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3f55ccdc93cbd140f61f9748e65fcec.jpeg","path":"d3f55ccdc93cbd140f61f9748e65fcec.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\/korean-woman-large-metal-irregular-bow-hair-claw-ladies-barrettes-hairgrip-girls-hair-clips-headwear-fashion-hair-accessories?variant=ac5b234c-9304-42ac-877d-1a7c95ad23dc","available_quantity":999999999,"options":[{"name":"Color","value":"Golden"}],"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":"ac5b234c-9304-42ac-877d-1a7c95ad23dc","product_id":"7ab2d493-60a7-4509-9f55-97fb1fa38e78","title":"Golden","weight_unit":"kg","inventory_quantity":1000,"sku":"3256805390622974_Golden","barcode":"","position":1,"option1":"Golden","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d3f55ccdc93cbd140f61f9748e65fcec.jpeg","path":"d3f55ccdc93cbd140f61f9748e65fcec.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\/korean-woman-large-metal-irregular-bow-hair-claw-ladies-barrettes-hairgrip-girls-hair-clips-headwear-fashion-hair-accessories?variant=ac5b234c-9304-42ac-877d-1a7c95ad23dc","available_quantity":999999999,"options":[{"name":"Color","value":"Golden"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}