${function() {
const variantData = data.variant || {"id":"8f61bbc7-f665-4e55-a643-62786ae53b96","product_id":"24dd8a55-5a26-43fc-9cc2-c5c3d465c779","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-01-EN9ET3SBHJ-white-S","barcode":"","position":7,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5a935267d85fa438849f59dae6413503.jpeg","path":"5a935267d85fa438849f59dae6413503.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"300","compare_at_price":"29.99","price":"29.99","retail_price":"29.99","available":true,"url":"\/products\/mens-100-cotton-solid-shirt-casual-breathable-lapel-button-up-slim-fit-long-sleeve-shirt?variant=8f61bbc7-f665-4e55-a643-62786ae53b96","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":1};
const saveType = "amount";
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.