${function() {
const variantData = data.variant || {"id":"93015ee7-fa69-475c-a919-45fe93a2308d","product_id":"7bf0574a-cbb8-4ab6-9350-5bd943676012","title":"white-M","weight_unit":"kg","inventory_quantity":1000,"sku":"X103A-240509-21-8J7NDD3K5U-white-M","barcode":"","position":1,"option1":"white","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/70e83b4b2f2c9635595726a8e4432953.jpeg","path":"70e83b4b2f2c9635595726a8e4432953.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":14.99,"min_quantity":1}],"weight":"93","compare_at_price":"14.99","price":"14.99","retail_price":"14.99","available":true,"url":"\/products\/mens-super-wide-waist-briefs-trendy-high-cut-rainbow-briefs-high-elasticity-personalized-sports-and-fitness?variant=93015ee7-fa69-475c-a919-45fe93a2308d","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"M"}],"off_ratio":0,"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.