${function() {
const variantData = data.variant || {"id":"7973079a-1263-4884-ac29-a6137009ad45","product_id":"6481405b-c515-47c8-be3d-be577357ee3c","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804389221093_Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2ada14a031a79003c1f6043a9262741.jpeg","path":"b2ada14a031a79003c1f6043a9262741.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/women-elegant-big-bowknot-pearl-hair-claw-ball-head-hair-clips-headband-hairpin-fashion-hair-artifact-hair-accessories-oranment?variant=7973079a-1263-4884-ac29-a6137009ad45","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":58,"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":"7973079a-1263-4884-ac29-a6137009ad45","product_id":"6481405b-c515-47c8-be3d-be577357ee3c","title":"Black","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804389221093_Black","barcode":"","position":1,"option1":"Black","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b2ada14a031a79003c1f6043a9262741.jpeg","path":"b2ada14a031a79003c1f6043a9262741.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":16.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"16.99","retail_price":"39.99","available":true,"url":"\/products\/women-elegant-big-bowknot-pearl-hair-claw-ball-head-hair-clips-headband-hairpin-fashion-hair-artifact-hair-accessories-oranment?variant=7973079a-1263-4884-ac29-a6137009ad45","available_quantity":999999999,"options":[{"name":"Color","value":"Black"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}