${function() {
const variantData = data.variant || {"id":"fa98aff0-09f8-41ae-84ed-5f6d864fe1f0","product_id":"7f538a87-9b09-4229-be3b-fc042eb7c6bc","title":"Gray-S","weight_unit":"kg","inventory_quantity":1000,"sku":"210963957498-Gray-S","barcode":"","position":13,"option1":"Gray","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e91f00b4cc1e7d762c351f63ceaf1a5.jpeg","path":"6e91f00b4cc1e7d762c351f63ceaf1a5.jpeg","width":640,"height":640,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":22.99,"min_quantity":1}],"weight":"0","compare_at_price":"47.99","price":"22.99","retail_price":"47.99","available":true,"url":"\/products\/mens-shorts-summer-shorts-beach-shorts-drawstring-elastic-waist-3d-print-graphic-breathable-soft-short-casual-daily-holiday-designer-ethnic-style-dark-brown-blue-micro-elastic?variant=fa98aff0-09f8-41ae-84ed-5f6d864fe1f0","available_quantity":999999999,"options":[{"name":"Color","value":"Gray"},{"name":"Size","value":"S"}],"off_ratio":52,"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.