${function() {
const variantData = data.variant || {"id":"99e7f673-475f-4ace-8781-56aa11384ad3","product_id":"777aa833-744f-4a95-a5e6-b158c9818726","title":"White-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-240529-A10-MT0071S5H4-White-S","barcode":"","position":9,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1298520fbf0920201c67f93d5324a932.jpeg","path":"1298520fbf0920201c67f93d5324a932.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/bisexual-pride-casual-print-t-shirt?variant=99e7f673-475f-4ace-8781-56aa11384ad3","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"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.