${function() {
const variantData = data.variant || {"id":"c7444681-3d07-4ac9-8344-ec667e25314d","product_id":"b7fcce18-150f-4647-a6f7-c02157dd8645","title":"yellow-5","weight_unit":"kg","inventory_quantity":1000,"sku":"a-yellow-5-A0023037","barcode":"","position":1,"option1":"yellow","option2":"5","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/fe1be9e96fec3644da7a05c1bc525e73.jpeg","path":"fe1be9e96fec3644da7a05c1bc525e73.jpeg","width":800,"height":800,"alt":"","aspect_ratio":1},"wholesale_price":[{"price":43.99,"min_quantity":1}],"weight":"0","compare_at_price":"69.99","price":"43.99","retail_price":"69.99","available":true,"url":"\/products\/breathable-sandals-mesh-sneakers?variant=c7444681-3d07-4ac9-8344-ec667e25314d","available_quantity":1000,"options":[{"name":"COLOR","value":"yellow"},{"name":"SIZE","value":"5"}],"off_ratio":37,"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.