${function() {
const variantData = data.variant || {"id":"58f10896-2e16-4288-85a3-34a2a1beef2e","product_id":"6a60cd3c-be49-4359-9fc4-82b5cf863a56","title":"gold","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804114314157_gold","barcode":"","position":1,"option1":"gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8b2d6e7ad55d747d5045f226733e186.jpeg","path":"e8b2d6e7ad55d747d5045f226733e186.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\/sexy-metal-fox-women-hair-claw-fashion-elegant-alloy-hairpin-headwear-hair-clip-for-girls-hair-accessories?variant=58f10896-2e16-4288-85a3-34a2a1beef2e","available_quantity":999999999,"options":[{"name":"Color","value":"gold"}],"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":"58f10896-2e16-4288-85a3-34a2a1beef2e","product_id":"6a60cd3c-be49-4359-9fc4-82b5cf863a56","title":"gold","weight_unit":"kg","inventory_quantity":1000,"sku":"3256804114314157_gold","barcode":"","position":1,"option1":"gold","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e8b2d6e7ad55d747d5045f226733e186.jpeg","path":"e8b2d6e7ad55d747d5045f226733e186.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\/sexy-metal-fox-women-hair-claw-fashion-elegant-alloy-hairpin-headwear-hair-clip-for-girls-hair-accessories?variant=58f10896-2e16-4288-85a3-34a2a1beef2e","available_quantity":999999999,"options":[{"name":"Color","value":"gold"}],"off_ratio":58,"flashsale_info":[],"sales":0};
return `
Weight : ${variantData && variantData.weight}${variantData && variantData.weight_unit}
Barcode : ${variantData && variantData.barcode}
`
}()}