${function() {
const variantData = data.variant || {"id":"4f9aad04-6405-487f-831a-87fcbcf05832","product_id":"f771e511-6ea4-4ad1-afed-d0281d4b9cf4","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"086-230317-A08-MT0036G4XQ-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/dac6fbf80f4e3cef570ada0fec6c86f3.jpeg","path":"dac6fbf80f4e3cef570ada0fec6c86f3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/mens-rinbow-pride-2023-lgbt-t-shirt?variant=4f9aad04-6405-487f-831a-87fcbcf05832","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.