${function() {
const variantData = data.variant || {"id":"db5455e8-babe-4e1e-8e8f-8d85ead0c331","product_id":"044d1539-e3f7-4aad-b443-39424807e460","title":"white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"103A-240513-A17-MS0006APBB-white-S","barcode":"","position":7,"option1":"white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/85d79f7136b01e246e632f62e0882a53.jpeg","path":"85d79f7136b01e246e632f62e0882a53.jpeg","width":1200,"height":1500,"alt":"","aspect_ratio":0.8},"wholesale_price":[{"price":25.99,"min_quantity":1}],"weight":"300","compare_at_price":"25.99","price":"25.99","retail_price":"25.99","available":true,"url":"\/products\/mens-rainbow-lgbt-pigeon-gay-polo-shirt?variant=db5455e8-babe-4e1e-8e8f-8d85ead0c331","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.