${function() {
const variantData = data.variant || {"id":"fbef82ba-cefc-4c52-adf2-b54de9fc7028","product_id":"e070793e-0c5f-4a0e-b75d-17fe523322b1","title":"yellow","weight_unit":"kg","inventory_quantity":0,"sku":"662206241898-yellow","barcode":"","position":2,"option1":"yellow","option2":"","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/e4c5a0589072499fc9ac66aed2d54126.jpeg","path":"e4c5a0589072499fc9ac66aed2d54126.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=fbef82ba-cefc-4c52-adf2-b54de9fc7028","available_quantity":999999999,"options":[{"name":"color","value":"yellow"}],"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.