${function() {
const variantData = data.variant || {"id":"b7398c2e-a263-4b69-ae7c-ed3be7c62a9c","product_id":"5d499e52-ec2b-49ef-8218-a5c1de43f9ba","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240424-A11-MS0006AUG9-white-S","barcode":"","position":7,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fff2249d21766a8c4c9c234548d9664b.jpeg","path":"fff2249d21766a8c4c9c234548d9664b.jpeg","width":1200,"height":1500,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"0","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-rainbow-stripes-heart-you-are-safe-with-me-gay-polo-shirt?variant=b7398c2e-a263-4b69-ae7c-ed3be7c62a9c","available_quantity":999999999,"options":[{"name":"Color","value":"white"},{"name":"Size","value":"S"}],"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.