${function() {
const variantData = data.variant || {"id":"8eaf0bed-488b-416f-bff0-a49066515255","product_id":"3d3f739b-f9da-4168-be63-610a272518de","title":"Dark Blue","weight_unit":"kg","inventory_quantity":1000,"sku":"a--Dark Blue-A004324","barcode":"","position":1,"option1":"Dark Blue","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ded93a1aae1c80c5e771b50b0bedf01d.gif","path":"ded93a1aae1c80c5e771b50b0bedf01d.gif","width":750,"height":750,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"39.99","price":"29.99","retail_price":"39.99","available":true,"url":"\/products\/multi-pocket-handbag?variant=8eaf0bed-488b-416f-bff0-a49066515255","available_quantity":1000,"options":[{"name":"Color","value":"Dark Blue"}],"off_ratio":25,"flashsale_info":[],"sales":0};
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.