${function() {
const variantData = data.variant || {"id":"57f4e103-cf59-4928-8af7-1cea5346fea9","product_id":"e82c25ad-961e-4cae-b93b-4c2560ce6e13","title":"Raw white off white-S","weight_unit":"kg","inventory_quantity":1000,"sku":"MMZX01802_W_S","barcode":"","position":1,"option1":"Raw white off white","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d1d539570ddffb1282157b6cd86e13f5.jpeg","path":"d1d539570ddffb1282157b6cd86e13f5.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":28.12,"min_quantity":1}],"weight":"0","compare_at_price":"28.12","price":"28.12","retail_price":"28.12","available":true,"url":"\/products\/mens-loose-casual-solid-cotton-long-sleeve-top-zt4b?variant=57f4e103-cf59-4928-8af7-1cea5346fea9","available_quantity":1000,"options":[{"name":"color","value":"Raw white off white"},{"name":"size","value":"S"}],"off_ratio":0,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.