${function() {
const variantData = data.variant || {"id":"abe992cf-bd17-4659-9248-e83c53c593b4","product_id":"068df8ad-d617-4813-882d-efb8e2952e03","title":"style 1","weight_unit":"kg","inventory_quantity":998,"sku":"3256803353125489_style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c73b444d1535d2bd8e13522c963cde1.jpeg","path":"9c73b444d1535d2bd8e13522c963cde1.jpeg","width":1500,"height":1500,"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-elegant-rhinestone-hair-sticks-women-wedding-fashion-jewrly-bride-hairpins-hair-clips-lady-airwear-updo-headpiece?variant=abe992cf-bd17-4659-9248-e83c53c593b4","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":50,"flashsale_info":[],"sales":6};
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":"abe992cf-bd17-4659-9248-e83c53c593b4","product_id":"068df8ad-d617-4813-882d-efb8e2952e03","title":"style 1","weight_unit":"kg","inventory_quantity":998,"sku":"3256803353125489_style 1","barcode":"","position":1,"option1":"style 1","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9c73b444d1535d2bd8e13522c963cde1.jpeg","path":"9c73b444d1535d2bd8e13522c963cde1.jpeg","width":1500,"height":1500,"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-elegant-rhinestone-hair-sticks-women-wedding-fashion-jewrly-bride-hairpins-hair-clips-lady-airwear-updo-headpiece?variant=abe992cf-bd17-4659-9248-e83c53c593b4","available_quantity":999999999,"options":[{"name":"Color","value":"style 1"}],"off_ratio":50,"flashsale_info":[],"sales":6};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}