${function() {
const variantData = data.variant || {"id":"28d6afe9-5423-45e2-b32b-de0fe025c06d","product_id":"9dedb519-48a4-41d9-ab2f-4d34ff8e9a65","title":"silver","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804080796667_silver","barcode":"","position":1,"option1":"silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/553bd14fb753feadc9ff8e41854f999b.jpeg","path":"553bd14fb753feadc9ff8e41854f999b.jpeg","width":1920,"height":1920,"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\/11cm-4-color-woman-metal-large-moon-design-hair-claws-clips-fashion-washing-face-hairpins-gilrs-hair-accessories-for-thick-hair?variant=28d6afe9-5423-45e2-b32b-de0fe025c06d","available_quantity":999999999,"options":[{"name":"Color","value":"silver"}],"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":"28d6afe9-5423-45e2-b32b-de0fe025c06d","product_id":"9dedb519-48a4-41d9-ab2f-4d34ff8e9a65","title":"silver","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804080796667_silver","barcode":"","position":1,"option1":"silver","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/553bd14fb753feadc9ff8e41854f999b.jpeg","path":"553bd14fb753feadc9ff8e41854f999b.jpeg","width":1920,"height":1920,"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\/11cm-4-color-woman-metal-large-moon-design-hair-claws-clips-fashion-washing-face-hairpins-gilrs-hair-accessories-for-thick-hair?variant=28d6afe9-5423-45e2-b32b-de0fe025c06d","available_quantity":999999999,"options":[{"name":"Color","value":"silver"}],"off_ratio":50,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}