${function() {
const variantData = data.variant || {"id":"589f0c54-cb27-45fb-b3ea-55d6a5556d14","product_id":"6e2d2da0-4530-4399-bcda-44bbd6dc393c","title":"Green-S","weight_unit":"kg","inventory_quantity":1000,"sku":"F1100408-Green-S","barcode":"","position":7,"option1":"Green","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6cd4c6e7f49afb7ecc7b8929f3535655.png","path":"6cd4c6e7f49afb7ecc7b8929f3535655.png","width":675,"height":898,"alt":"","aspect_ratio":0.7516703786191536},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/mens-fashionable-casual-white-shirtse151d114-7af0-4e16-9a6c-2f840f90c8df?variant=589f0c54-cb27-45fb-b3ea-55d6a5556d14","available_quantity":999999999,"options":[{"name":"Color","value":"Green"},{"name":"Size","value":"S"}],"off_ratio":25,"flashsale_info":[],"sales":1};
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.