${function() {
const variantData = data.variant || {"id":"c86f68e0-fc10-4a0e-a4ab-70f96e35a569","product_id":"2b8e2470-ba98-48d5-b33f-c67a9b9dee99","title":"dark beige","weight_unit":"kg","inventory_quantity":1000,"sku":"3256802059373606_dark beige","barcode":"","position":1,"option1":"dark beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed66d1434d6d14a9517298028e471efa.jpeg","path":"ed66d1434d6d14a9517298028e471efa.jpeg","width":1000,"height":1000,"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-soft-sponge-hairband-solid-headband-girls-hair-accessories-thick-velvet-headwear-cotton-hairhoop-party-ornaments?variant=c86f68e0-fc10-4a0e-a4ab-70f96e35a569","available_quantity":999999999,"options":[{"name":"Color","value":"dark beige"}],"off_ratio":50,"flashsale_info":[],"sales":3};
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":"c86f68e0-fc10-4a0e-a4ab-70f96e35a569","product_id":"2b8e2470-ba98-48d5-b33f-c67a9b9dee99","title":"dark beige","weight_unit":"kg","inventory_quantity":1000,"sku":"3256802059373606_dark beige","barcode":"","position":1,"option1":"dark beige","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ed66d1434d6d14a9517298028e471efa.jpeg","path":"ed66d1434d6d14a9517298028e471efa.jpeg","width":1000,"height":1000,"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-soft-sponge-hairband-solid-headband-girls-hair-accessories-thick-velvet-headwear-cotton-hairhoop-party-ornaments?variant=c86f68e0-fc10-4a0e-a4ab-70f96e35a569","available_quantity":999999999,"options":[{"name":"Color","value":"dark beige"}],"off_ratio":50,"flashsale_info":[],"sales":3};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}