${function() {
const variantData = data.variant || {"id":"2614a3c1-2cc5-4a27-a4cb-3a465eb5aca1","product_id":"9d7ac130-bf94-402d-8c69-a2a93f292278","title":"Colorful-S","weight_unit":"kg","inventory_quantity":995,"sku":"103-220922-13-JJJUFJNCMG-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5dc03c8d3fba35c81002da2cde95e4e7.jpeg","path":"5dc03c8d3fba35c81002da2cde95e4e7.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-color-love-is-love-rainbow-lgbt-art-t-shirt?variant=2614a3c1-2cc5-4a27-a4cb-3a465eb5aca1","available_quantity":999999999,"options":[{"name":"Color","value":"Colorful"},{"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.