${function() {
const variantData = data.variant || {"id":"bde8494a-031b-463b-ac38-a474a76e7270","product_id":"40e1d368-a7d8-4da3-b4f0-93d9ee843540","title":"Colorful-S","weight_unit":"kg","inventory_quantity":994,"sku":"099-230330-A04-ZDMT00NTTX-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/1c059d7670d00d728129451c159dbebf.jpeg","path":"1c059d7670d00d728129451c159dbebf.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/mens-rainbow-hands-love-is-love-gay-print-casual-t-shirt?variant=bde8494a-031b-463b-ac38-a474a76e7270","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.