${function() {
const variantData = data.variant || {"id":"7d877b37-4145-4321-a257-fbd570f70270","product_id":"6b284bc5-f63c-4f00-9035-ff1dbffd43fc","title":"Blue-L","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304193509-Blue-L","barcode":"","position":1,"option1":"Blue","option2":"L","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/d51b2596229378accd0d5ab36b5ee3af.jpeg","path":"d51b2596229378accd0d5ab36b5ee3af.jpeg","width":800,"height":900,"alt":"Chic Linen Wrap Jumpsuit","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0.2","compare_at_price":"55","price":"37.98","retail_price":"55","available":true,"url":"\/products\/chic-linen-wrap-jumpsuit?variant=7d877b37-4145-4321-a257-fbd570f70270","available_quantity":999999999,"options":[{"name":"Color","value":"Blue"},{"name":"Size","value":"L"}],"off_ratio":31,"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.