${function() {
const variantData = data.variant || {"id":"8f18f1e5-8b3c-493b-8efe-bd9147ea03b7","product_id":"62845f65-07c0-4912-8e28-9d3474e1dfa7","title":"pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"x099-240412-12-JDHXDCNAWV-pink-S","barcode":"","position":15,"option1":"pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/713ba40f181d015aa307091a40e832b8.jpeg","path":"713ba40f181d015aa307091a40e832b8.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"300","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-cotton-linen-blouse-summer-men-turn-down-collar-short-sleeve-button-loose-blouse-tops?variant=8f18f1e5-8b3c-493b-8efe-bd9147ea03b7","available_quantity":999999999,"options":[{"name":"Color","value":"pink"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":0};
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.