${function() {
const variantData = data.variant || {"id":"27fb73b6-5113-4203-be1a-0dcaa84039b4","product_id":"7562f0ac-2b04-46c7-9403-953008f07b81","title":"Pink-S","weight_unit":"kg","inventory_quantity":1000,"sku":"SKU102361290001","barcode":"","position":1,"option1":"Pink","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/3520742bd71ba2bf51cd93272e05b747.jpeg","path":"3520742bd71ba2bf51cd93272e05b747.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":19.98,"min_quantity":1}],"weight":"0","compare_at_price":"28.98","price":"19.98","retail_price":"28.98","available":true,"url":"\/products\/hippie-bus-floral-printed-v-neck-womens-t-shirt8891d4f4-64a5-45d7-9293-96de53977caf?variant=27fb73b6-5113-4203-be1a-0dcaa84039b4","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"S"}],"off_ratio":31,"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.