${function() {
const variantData = data.variant || {"id":"dfd67e16-fd1e-4eff-9f3e-e884e1b4c885","product_id":"4a521ec4-0a01-49a8-a2f7-5fb513c1b163","title":"White-S","weight_unit":"kg","inventory_quantity":999,"sku":"WTS201088-WHI00S","barcode":"","position":1,"option1":"White","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/0ed8a3a4654e778e068d9a737b887a6e.jpeg","path":"0ed8a3a4654e778e068d9a737b887a6e.jpeg","width":675,"height":900,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"31.99","price":"19.99","retail_price":"31.99","available":true,"url":"\/products\/womens-lgbtq-pride-rainbow-print-v-neck-t-shirt-4?variant=dfd67e16-fd1e-4eff-9f3e-e884e1b4c885","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"S"}],"off_ratio":38,"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.