${function() {
const variantData = data.variant || {"id":"23ce0771-2841-43cc-adc3-97b056d39689","product_id":"a1d2fb36-f5b0-4b16-aae8-dba1ebf10e2d","title":"sand-S","weight_unit":"kg","inventory_quantity":1000,"sku":"128-240124-A06-MT0071525M-sand-S","barcode":"","position":1,"option1":"sand","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fad0424d21065b122e818e7233adbaa3.jpeg","path":"fad0424d21065b122e818e7233adbaa3.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":19.99,"min_quantity":1}],"weight":"0","compare_at_price":"19.99","price":"19.99","retail_price":"19.99","available":true,"url":"\/products\/mermaid-cat-art-print-design-t-shirt?variant=23ce0771-2841-43cc-adc3-97b056d39689","available_quantity":999999999,"options":[{"name":"Color","value":"sand"},{"name":"Size","value":"S"}],"off_ratio":0,"flashsale_info":[],"sales":2};
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.