${function() {
const variantData = data.variant || {"id":"6f84eb45-273f-4270-9b80-24f95194ab22","product_id":"e070793e-0c5f-4a0e-b75d-17fe523322b1","title":"blue","weight_unit":"kg","inventory_quantity":0,"sku":"662206241898-blue","barcode":"","position":1,"option1":"blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/24d26588e62ff79dd8eba470def5f39d.jpeg","path":"24d26588e62ff79dd8eba470def5f39d.jpeg","width":1920,"height":1920,"alt":"Hollow woven holiday fashion women's bag","aspect_ratio":1},"wholesale_price":[{"price":32.67,"min_quantity":1}],"weight":"0","compare_at_price":"47.88","price":"32.67","retail_price":"47.88","available":true,"url":"\/products\/hollow-woven-holiday-fashion-womens-bag?variant=6f84eb45-273f-4270-9b80-24f95194ab22","available_quantity":999999999,"options":[{"name":"color","value":"blue"}],"off_ratio":32,"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.