${function() {
const variantData = data.variant || {"id":"9d7a6b8c-740e-431b-9ebb-1350c8705540","product_id":"465df38f-e237-466a-b779-ffdcb2d2af74","title":"Black-S","weight_unit":"kg","inventory_quantity":0,"sku":"2209262736-Black-S","barcode":"","position":1,"option1":"Black","option2":"S","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/8fc55e0d6ec63363a8932e859e34444a.jpeg","path":"8fc55e0d6ec63363a8932e859e34444a.jpeg","width":552,"height":690,"alt":"Irregular Off Shoulder Shawl","aspect_ratio":0.8},"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=9d7a6b8c-740e-431b-9ebb-1350c8705540","available_quantity":999999999,"options":[{"name":"Color","value":"Black"},{"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.