${function() {
const variantData = data.variant || {"id":"121c4600-846d-48bf-838d-0dfd6b63209a","product_id":"b5dd8fa0-4b4a-42bf-bf43-2572889ee750","title":"White-S","weight_unit":"kg","inventory_quantity":994,"sku":"S95827740000F","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/231de5bc4cb3c28fb76145d53dd7b7f9.jpeg","path":"231de5bc4cb3c28fb76145d53dd7b7f9.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=121c4600-846d-48bf-838d-0dfd6b63209a","available_quantity":999999999,"options":[{"name":"COLOR","value":"White"},{"name":"SIZE","value":"S"}],"off_ratio":32,"flashsale_info":[],"sales":21};
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.