${function() {
const variantData = data.variant || {"id":"f92bf1d5-5f2f-41e1-811a-da95de857631","product_id":"7cd34d71-61f4-4b83-a364-3d081c45a34a","title":"hemp-S","weight_unit":"kg","inventory_quantity":0,"sku":"66230428470-hemp-S","barcode":"","position":7,"option1":"hemp","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/31ebd040bd9c805c8673ee4de7e4658b.jpeg","path":"31ebd040bd9c805c8673ee4de7e4658b.jpeg","width":800,"height":800,"alt":"3\/4 sleeve cotton and linen round neck shirt","aspect_ratio":1},"wholesale_price":[{"price":31.85,"min_quantity":1}],"weight":"0.35","compare_at_price":"42","price":"31.85","retail_price":"42","available":true,"url":"\/products\/3-4-sleeve-cotton-and-linen-round-neck-shirt?variant=f92bf1d5-5f2f-41e1-811a-da95de857631","available_quantity":999999999,"options":[{"name":"color","value":"hemp"},{"name":"size","value":"S"}],"off_ratio":24,"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.