${function() {
const variantData = data.variant || {"id":"b4975f48-29e9-4440-8a43-5635f995f66c","product_id":"fa3031a3-0b08-4921-8b70-4353c7b62c63","title":"grey-green-2XL","weight_unit":"kg","inventory_quantity":0,"sku":"662206221818-grey-green-2XL","barcode":"","position":1,"option1":"grey-green","option2":"2XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/eb32361b6da6f9ed977583b66936df30.jpg","path":"eb32361b6da6f9ed977583b66936df30.jpg","width":800,"height":1000,"alt":"Chic Button Open Back Dress","aspect_ratio":0.8},"wholesale_price":[{"price":37.98,"min_quantity":1}],"weight":"0","compare_at_price":"71.66","price":"37.98","retail_price":"71.66","available":true,"url":"\/products\/chic-button-open-back-dress-gm68?variant=b4975f48-29e9-4440-8a43-5635f995f66c","available_quantity":999999999,"options":[{"name":"Color","value":"grey-green"},{"name":"Size","value":"2XL"}],"off_ratio":47,"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.