${function() {
const variantData = data.variant || {"id":"30215e15-200c-4bdc-9646-31f8091f93e3","product_id":"b8623bbc-8fdf-4b5c-9dc0-b23270acb769","title":"RETRO","weight_unit":"kg","inventory_quantity":999,"sku":"a-\u9ad8\u7ea7\u590d\u53e4\u624b\u5de5\u5305-RETRO-1","barcode":"","position":1,"option1":"RETRO","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/6e110c6a6503c3eebe5b18d221f91232.jpeg","path":"6e110c6a6503c3eebe5b18d221f91232.jpeg","width":500,"height":500,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":42.98,"min_quantity":1}],"weight":"0","compare_at_price":"89.9","price":"42.98","retail_price":"89.9","available":true,"url":"\/products\/retro-handmade-bag?variant=30215e15-200c-4bdc-9646-31f8091f93e3","available_quantity":999999999,"options":[{"name":"Buy 2 Free Shipping","value":"RETRO"}],"off_ratio":52,"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}
`
}()}
Product was out of stock.
Product is unavailable.