${function() {
const variantData = data.variant || {"id":"cb8ef2e5-a318-4bfe-b8f9-3e6b92490dba","product_id":"28230ff9-a64a-41bf-a183-ea56443387db","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2304193521-Burgundy-S","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/ae5c44e30888422c1182773d67d12c24.jpeg","path":"ae5c44e30888422c1182773d67d12c24.jpeg","width":800,"height":900,"alt":"Burgundy Solid Color Linen Wrap Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":36.27,"min_quantity":1}],"weight":"0.2","compare_at_price":"48","price":"36.27","retail_price":"48","available":true,"url":"\/products\/burgundy-solid-color-linen-wrap-dress?variant=cb8ef2e5-a318-4bfe-b8f9-3e6b92490dba","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":24,"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.