${function() {
const variantData = data.variant || {"id":"478a8e51-2435-4a1e-bdaa-7b12cf4b86b6","product_id":"465df38f-e237-466a-b779-ffdcb2d2af74","title":"Burgundy-S","weight_unit":"kg","inventory_quantity":0,"sku":"2209262736-Burgundy-S","barcode":"","position":11,"option1":"Burgundy","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8979c4a98af047f6ea7c679cd1d93035.png","path":"8979c4a98af047f6ea7c679cd1d93035.png","width":800,"height":900,"alt":"Irregular Off Shoulder Shawl","aspect_ratio":0.8888888888888888},"wholesale_price":[{"price":29.99,"min_quantity":1}],"weight":"0.35","compare_at_price":"55.54","price":"29.99","retail_price":"55.54","available":true,"url":"\/products\/irregular-off-shoulder-shawl?variant=478a8e51-2435-4a1e-bdaa-7b12cf4b86b6","available_quantity":999999999,"options":[{"name":"Color","value":"Burgundy"},{"name":"Size","value":"S"}],"off_ratio":46,"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.