${function() {
const variantData = data.variant || {"id":"616dda9c-1c31-4f02-9889-adadc652e08b","product_id":"9bd12dc3-6e31-4ad8-aead-6ebde45045d8","title":"White-S","weight_unit":"kg","inventory_quantity":994,"sku":"086-230207-A07-MT0036NTKK-White-S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/14829d846edabf6f93c24f9c4b438cf3.jpeg","path":"14829d846edabf6f93c24f9c4b438cf3.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-rainbow-cocky-gay-t-shirt?variant=616dda9c-1c31-4f02-9889-adadc652e08b","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":5};
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.