${function() {
const variantData = data.variant || {"id":"08390236-2675-48c4-8fba-52ce8a2382c5","product_id":"68fc51cb-994e-4530-98cc-6fa92e3cbd40","title":"01","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804190980949_01","barcode":"","position":1,"option1":"01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81232ad7e6e229c551f388c5fdd3836d.jpeg","path":"81232ad7e6e229c551f388c5fdd3836d.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-gradient-flower-hair-claw-woman-plastic-hair-clips-girls-hair-accessories-hairpins-headwear-barrettes?variant=08390236-2675-48c4-8fba-52ce8a2382c5","available_quantity":999999999,"options":[{"name":"Color","value":"01"}],"off_ratio":50,"flashsale_info":[],"sales":1};
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":"08390236-2675-48c4-8fba-52ce8a2382c5","product_id":"68fc51cb-994e-4530-98cc-6fa92e3cbd40","title":"01","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804190980949_01","barcode":"","position":1,"option1":"01","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/81232ad7e6e229c551f388c5fdd3836d.jpeg","path":"81232ad7e6e229c551f388c5fdd3836d.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-gradient-flower-hair-claw-woman-plastic-hair-clips-girls-hair-accessories-hairpins-headwear-barrettes?variant=08390236-2675-48c4-8fba-52ce8a2382c5","available_quantity":999999999,"options":[{"name":"Color","value":"01"}],"off_ratio":50,"flashsale_info":[],"sales":1};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}