${function() {
const variantData = data.variant || {"id":"708cafc6-0856-4382-9116-a82f25bba144","product_id":"ff1a9b18-1db3-4ec8-b456-f6d415421b47","title":"Grey-S","weight_unit":"kg","inventory_quantity":0,"sku":"2301053078-Grey-S","barcode":"","position":7,"option1":"Grey","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/a772ea00a7d90067efa400bb351ec5a2.png","path":"a772ea00a7d90067efa400bb351ec5a2.png","width":600,"height":800,"alt":"2023 New Linen Grass Green Midi Dress","aspect_ratio":0.75},"wholesale_price":[{"price":37.53,"min_quantity":1}],"weight":"0.6","compare_at_price":"49","price":"37.53","retail_price":"49","available":true,"url":"\/products\/2023-new-linen-grass-green-midi-dress-wc1h?variant=708cafc6-0856-4382-9116-a82f25bba144","available_quantity":999999999,"options":[{"name":"Color","value":"Grey"},{"name":"Size","value":"S"}],"off_ratio":23,"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.