${function() {
const variantData = data.variant || {"id":"94264066-5ab3-4660-87da-80f6b7cd21c6","product_id":"32a1b64a-2f5e-4f95-9fae-96f1ae0b92be","title":"Colorful-S","weight_unit":"kg","inventory_quantity":999,"sku":"099-230330-02-ZDMT00GADP-Colorful-S","barcode":"","position":1,"option1":"Colorful","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/f0406795d019418aa96933aeafd9be4d.jpeg","path":"f0406795d019418aa96933aeafd9be4d.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-lgbt-colorful-tie-dye-cats-kitty-rainbow-print-casual-t-shirt?variant=94264066-5ab3-4660-87da-80f6b7cd21c6","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.