${function() {
const variantData = data.variant || {"id":"1e87cf45-08d7-4baf-9d51-70336047ce34","product_id":"57859014-5ff7-462c-9500-67ad8b4dc95e","title":"grey-s","weight_unit":"kg","inventory_quantity":0,"sku":"Lin21011918-grey-s","barcode":"","position":1,"option1":"grey","option2":"s","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/19b7e17df8a399ab1b7239614c9c7801.jpg","path":"19b7e17df8a399ab1b7239614c9c7801.jpg","width":480,"height":640,"alt":"Casual Sleeveless A-Line Mini Dress","aspect_ratio":0.75},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0","compare_at_price":"45","price":"29.99","retail_price":"45","available":true,"url":"\/products\/casual-sleeveless-a-line-mini-dress?variant=1e87cf45-08d7-4baf-9d51-70336047ce34","available_quantity":999999999,"options":[{"name":"color","value":"grey"},{"name":"size","value":"s"}],"off_ratio":33,"flashsale_info":[],"sales":1};
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.