${function() {
const variantData = data.variant || {"id":"68c35610-a928-4e94-82d9-1ee0fc02a2df","product_id":"6e62e1d7-4b51-4336-92cf-904549bda2cc","title":"grey-S","weight_unit":"kg","inventory_quantity":999,"sku":"128-240124-A09-MT0071VQD8-grey-S","barcode":"","position":1,"option1":"grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d4f49f9f73fd3016b588eb5ee397378c.jpeg","path":"d4f49f9f73fd3016b588eb5ee397378c.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\/retro-winged-mermaid-cat-art-print-design-t-shirt?variant=68c35610-a928-4e94-82d9-1ee0fc02a2df","available_quantity":999999999,"options":[{"name":"Color","value":"grey"},{"name":"Size","value":"S"}],"off_ratio":0,"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.