${function() {
const variantData = data.variant || {"id":"11295d10-8d9c-40d7-881c-7b1cd5c8868c","product_id":"e1cae65e-fa05-433d-afcd-07aeefadf702","title":"navy-M","weight_unit":"kg","inventory_quantity":0,"sku":"66230428455-navy-M","barcode":"","position":5,"option1":"navy","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fcaf8e661d140d19f17516e0b1917071.jpeg","path":"fcaf8e661d140d19f17516e0b1917071.jpeg","width":800,"height":800,"alt":"Cotton and linen V-neck half-sleeve all-match shirt","aspect_ratio":1},"wholesale_price":[{"price":36.89,"min_quantity":1}],"weight":"0.3","compare_at_price":"46","price":"36.89","retail_price":"46","available":true,"url":"\/products\/cotton-and-linen-v-neck-half-sleeve-all-match-shirt?variant=11295d10-8d9c-40d7-881c-7b1cd5c8868c","available_quantity":999999999,"options":[{"name":"color","value":"navy"},{"name":"size","value":"M"}],"off_ratio":20,"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.