${function() {
const variantData = data.variant || {"id":"65948004-126b-4ff5-bb72-559425956e89","product_id":"0392b490-413a-45ee-8f93-3c9eb456ac89","title":"hemp-M","weight_unit":"kg","inventory_quantity":0,"sku":"662305101057-hemp-M","barcode":"","position":9,"option1":"hemp","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c431ecdd5fac64a8fd343b82b44d85a8.jpeg","path":"c431ecdd5fac64a8fd343b82b44d85a8.jpeg","width":800,"height":800,"alt":"All-match retro cotton and linen fireworks T-shirt","aspect_ratio":1},"wholesale_price":[{"price":31.69,"min_quantity":1}],"weight":"0.2","compare_at_price":"44","price":"31.69","retail_price":"44","available":true,"url":"\/products\/all-match-retro-cotton-and-linen-fireworks-t-shirt?variant=65948004-126b-4ff5-bb72-559425956e89","available_quantity":999999999,"options":[{"name":"color","value":"hemp"},{"name":"size","value":"M"}],"off_ratio":28,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.