${function() {
const variantData = data.variant || {"id":"5cc25641-5b89-409f-ba7a-2bca603c1561","product_id":"f713e89c-3321-41a6-be76-d3cebc685fd4","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210963958605-Gray-S","barcode":"","position":13,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a5a40491a6d8dc47dc663919aeb88faa.jpeg","path":"a5a40491a6d8dc47dc663919aeb88faa.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"51.83","price":"22.99","retail_price":"51.83","available":true,"url":"\/products\/mens-shorts-summer-shorts-beach-shorts-drawstring-elastic-waist-3d-print-graphic-breathable-soft-short-casual-daily-holiday-cotton-blend-designer-ethnic-style-blue-khaki-micro-elastic?variant=5cc25641-5b89-409f-ba7a-2bca603c1561","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":56,"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.