${function() {
const variantData = data.variant || {"id":"2b11dc3b-4b41-4195-8424-20627f6a6b4f","product_id":"639ff73c-e55e-424c-ad0a-bf804a576d28","title":"Burgundy-l","weight_unit":"kg","inventory_quantity":0,"sku":"21041501-burgundy-l","barcode":"","position":2,"option1":"Burgundy","option2":"l","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8bfaa0af9116be1c05b1281ce76a619f.jpg","path":"8bfaa0af9116be1c05b1281ce76a619f.jpg","width":800,"height":900,"alt":"Elegant Ink Blue Linen Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":37.2,"min_quantity":1}],"weight":"0","compare_at_price":"56","price":"37.2","retail_price":"56","available":true,"url":"\/products\/elegant-ink-blue-linen-dress-kgd2?variant=2b11dc3b-4b41-4195-8424-20627f6a6b4f","available_quantity":999999999,"options":[{"name":"color","value":"Burgundy"},{"name":"size","value":"l"}],"off_ratio":34,"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.