${function() {
const variantData = data.variant || {"id":"dd37fe89-b12e-4f15-bb86-dae6bde3d3e5","product_id":"17c903cf-1cf5-4c54-920f-c617f8b3660b","title":"white","weight_unit":"kg","inventory_quantity":0,"sku":"66221021466-white","barcode":"","position":1,"option1":"white","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/c3bbbb58c42a076168e066d5d6dba36f.jpeg","path":"c3bbbb58c42a076168e066d5d6dba36f.jpeg","width":1440,"height":1920,"alt":"French niche lock design versatile messenger bag","aspect_ratio":0.75},"wholesale_price":[{"price":38.74,"min_quantity":1}],"weight":"0.8","compare_at_price":"57.77","price":"38.74","retail_price":"57.77","available":true,"url":"\/products\/french-niche-lock-design-versatile-messenger-bag?variant=dd37fe89-b12e-4f15-bb86-dae6bde3d3e5","available_quantity":999999999,"options":[{"name":"color","value":"white"}],"off_ratio":33,"flashsale_info":[],"sales":0};
const saveType = "percentage";
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.