${function() {
const variantData = data.variant || {"id":"4ac52466-af6a-4272-a22b-ce459434b983","product_id":"227b13f2-225c-493e-8b43-feb50933ef61","title":"black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-230516-A02-WT0002TBZ5-black-S","barcode":"","position":1,"option1":"black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5c3a6019c33cd884b80c181f152586c9.jpeg","path":"5c3a6019c33cd884b80c181f152586c9.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":20.99,"min_quantity":1}],"weight":"0.2","compare_at_price":"20.99","price":"20.99","retail_price":"20.99","available":true,"url":"\/products\/womens-lgbt-rainbow-gradient-pride-ally-cat-casual-print-t-shirt?variant=4ac52466-af6a-4272-a22b-ce459434b983","available_quantity":999999999,"options":[{"name":"Color","value":"black"},{"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.