${function() {
const variantData = data.variant || {"id":"34591b48-a734-41a4-a904-0a5f7811e7d2","product_id":"4e297a57-398f-4e25-9028-e74fc5e58d63","title":"Colorful-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103-230508-08-MS0007LHKL-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/9bce85dd4cb31645cbfaa502421d9830.jpeg","path":"9bce85dd4cb31645cbfaa502421d9830.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":24.99,"min_quantity":1}],"weight":"0.25","compare_at_price":"24.99","price":"24.99","retail_price":"24.99","available":true,"url":"\/products\/mens-lgbt-gay-pride-rainbow-lines-polo-shirt?variant=34591b48-a734-41a4-a904-0a5f7811e7d2","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.