${function() {
const variantData = data.variant || {"id":"15a1e972-1dd7-4ec8-a0ed-bf928f3d75f9","product_id":"4873d0bb-fe87-44e9-814a-094721b593bd","title":"Color-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-230219-13-ZDMT00ZU6Y-Color-S","barcode":"","position":1,"option1":"Color","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/bfb5767475eb6bef55eb77c0d59bd2cb.jpeg","path":"bfb5767475eb6bef55eb77c0d59bd2cb.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":18.99,"min_quantity":1}],"weight":"0","compare_at_price":"18.99","price":"18.99","retail_price":"18.99","available":true,"url":"\/products\/mens-love-is-love-rainbow-heart-gay-t-shirt-1?variant=15a1e972-1dd7-4ec8-a0ed-bf928f3d75f9","available_quantity":1000,"options":[{"name":"Color","value":"Color"},{"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.