${function() {
const variantData = data.variant || {"id":"119e62a0-f51b-4c3c-8e25-890c02661633","product_id":"509cd6ff-27c9-4c6b-96fc-3705cf85200c","title":"Black-S","weight_unit":"kg","inventory_quantity":1000,"sku":"099-240529-A05-MT00718PNN-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/71b8eab9d9f92f748e1811ba867867eb.jpeg","path":"71b8eab9d9f92f748e1811ba867867eb.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":21.99,"min_quantity":1}],"weight":"0","compare_at_price":"21.99","price":"21.99","retail_price":"21.99","available":true,"url":"\/products\/god-loves-a-queen-pride-gay-pride-lgbt-rainbow-casual-print-t-shirt?variant=119e62a0-f51b-4c3c-8e25-890c02661633","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.