${function() {
const variantData = data.variant || {"id":"ce3e78ba-349a-4b48-a9de-ba4c3ea803bd","product_id":"b5dd8fa0-4b4a-42bf-bf43-2572889ee750","title":"Pink-S","weight_unit":"kg","inventory_quantity":999,"sku":"S95827740000L","barcode":"","position":7,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f26f599506006c145cd03de9bb64e432.jpeg","path":"f26f599506006c145cd03de9bb64e432.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"38.38","price":"25.99","retail_price":"38.38","available":true,"url":"\/products\/mens-shirt-linen-shirt-summer-shirt-beach-shirt-henley-shirt-white-pink-navy-blue-long-sleeve-color-block-henley-spring-summer-casual-daily-clothing-apparel-1?variant=ce3e78ba-349a-4b48-a9de-ba4c3ea803bd","available_quantity":999999999,"options":[{"name":"COLOR","value":"Pink"},{"name":"SIZE","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":23};
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.