${function() {
const variantData = data.variant || {"id":"809361a1-3f8e-4107-800c-c3d49e2d2354","product_id":"4112f022-1d64-460c-b9a8-08646420aefe","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"BL2308031284-Burgundy-S","barcode":"","position":1,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/2cff1dedebd0718994abd4ec026db9ca.jpeg","path":"2cff1dedebd0718994abd4ec026db9ca.jpeg","width":800,"height":900,"alt":"Casual Lapel Collar Linen Wrap Dress","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":39.99,"min_quantity":1}],"weight":"0.4","compare_at_price":"50","price":"39.99","retail_price":"50","available":true,"url":"\/products\/casual-lapel-collar-linen-wrap-dress?variant=809361a1-3f8e-4107-800c-c3d49e2d2354","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":20,"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.