${function() {
const variantData = data.variant || {"id":"f2cffdb3-e8df-4f37-9817-d7427e02941c","product_id":"303600f8-e5ff-4909-bd3c-4d81c52e7304","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL230315779-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/5b19ee8240751c9b2b52e5540793b01a.jpeg","path":"5b19ee8240751c9b2b52e5540793b01a.jpeg","width":666,"height":792,"alt":"Exotic Floral Printed Dress","aspect_ratio":0.8409090909090909},"wholesale_price":[{"price":39.65,"min_quantity":1}],"weight":"0.25","compare_at_price":"50","price":"39.65","retail_price":"50","available":true,"url":"\/products\/exotic-floral-printed-dress-u41k?variant=f2cffdb3-e8df-4f37-9817-d7427e02941c","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"name":"Size","value":"S"}],"off_ratio":21,"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}
`
}()}
${function(){
const tipText = "Please select a {{ name }}".replace(/\{\{\s+name\s+\}\}/g, data);
return `${tipText}
`
}()}
Product was out of stock.
Product is unavailable.