${function() {
const variantData = data.variant || {"id":"3d4b663c-00dc-4431-8430-11e2a4edcd4f","product_id":"19cf6af8-ce1e-4c87-af0a-a83bf1ea678c","title":"White-M","weight_unit":"g","inventory_quantity":500,"sku":"X86-221031-03-NLGSW4RS5B-White-M","barcode":"","position":17,"option1":"White","option2":"M","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/64b7fc4d75dca56cef4659c2d8c93be8.jpeg","path":"64b7fc4d75dca56cef4659c2d8c93be8.jpeg","width":900,"height":1200,"alt":"","aspect_ratio":0.75},"wholesale_price":[{"price":40,"min_quantity":1}],"weight":"0","compare_at_price":"40","price":"40","retail_price":"40","available":true,"url":"\/products\/womens-plush-thick-long-sleeved-coat-cardigan?variant=3d4b663c-00dc-4431-8430-11e2a4edcd4f","available_quantity":999999999,"options":[{"name":"Color","value":"White"},{"name":"Size","value":"M"}],"off_ratio":0,"flashsale_info":[],"sales":9};
const saveType = "amount";
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.