${function() {
const variantData = data.variant || {"id":"4be082b2-ec47-43b3-ad67-48434e6de655","product_id":"1f9f148a-c0ed-47fc-b714-b6209210c9da","title":"brown","weight_unit":"kg","inventory_quantity":1000,"sku":"CP19136-C026","barcode":"","position":1,"option1":"brown","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/b33ca47a9892886fdd771e54c2072c7f.jpeg","path":"b33ca47a9892886fdd771e54c2072c7f.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0","compare_at_price":"0","price":"24.99","retail_price":"0","available":true,"url":"\/products\/16-piece-nail-clipper-set?variant=4be082b2-ec47-43b3-ad67-48434e6de655","available_quantity":999999999,"options":[{"name":"Color","value":"brown"}],"off_ratio":0,"flashsale_info":[],"sales":0};
const saveType = "amount";
const saveText = "Save {{saved_amount}}";
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.