${function() {
const variantData = data.variant || {"id":"fa8afc8c-f7ac-49e1-bc32-d919c77e9187","product_id":"76db8549-8d25-40f5-ade4-a8089eeb11cc","title":"black 1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256801647341619_black 1","barcode":"","position":1,"option1":"black 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05c9ee9c11a9b07d544e07e06513e88c.jpeg","path":"05c9ee9c11a9b07d544e07e06513e88c.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-fashion-gling-hairpins-girls-solid-hair-clips-barrettes-women-hair-accessories-headwear-hairgrip?variant=fa8afc8c-f7ac-49e1-bc32-d919c77e9187","available_quantity":999999999,"options":[{"name":"Color","value":"black 1"}],"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":"fa8afc8c-f7ac-49e1-bc32-d919c77e9187","product_id":"76db8549-8d25-40f5-ade4-a8089eeb11cc","title":"black 1","weight_unit":"kg","inventory_quantity":1000,"sku":"3256801647341619_black 1","barcode":"","position":1,"option1":"black 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/05c9ee9c11a9b07d544e07e06513e88c.jpeg","path":"05c9ee9c11a9b07d544e07e06513e88c.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-fashion-gling-hairpins-girls-solid-hair-clips-barrettes-women-hair-accessories-headwear-hairgrip?variant=fa8afc8c-f7ac-49e1-bc32-d919c77e9187","available_quantity":999999999,"options":[{"name":"Color","value":"black 1"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}