${function() {
const variantData = data.variant || {"id":"5cb9f734-06a7-4728-83f5-ad57972167ba","product_id":"7b044ea4-8124-4f1e-b781-8ac44999933f","title":"Pink-3XL","weight_unit":"kg","inventory_quantity":500,"sku":"211008228-Pink-3XL","barcode":"","position":7,"option1":"Pink","option2":"3XL","option3":"","note":"","image":{"src":"\/\/img.staticdj.com\/122f49545713e6ee715dac5a15a2c8bc.jpeg","path":"122f49545713e6ee715dac5a15a2c8bc.jpeg","width":420,"height":553,"alt":"Lady'S Long Woolen Coat Multi-Button Woolen Coat","aspect_ratio":0.759493670886076},"wholesale_price":[{"price":49.98,"min_quantity":1}],"weight":"0.7","compare_at_price":"49","price":"49.98","retail_price":"49","available":true,"url":"\/products\/ladys-long-woolen-coat-multi-button-woolen-coat?variant=5cb9f734-06a7-4728-83f5-ad57972167ba","available_quantity":999999999,"options":[{"name":"Color","value":"Pink"},{"name":"Size","value":"3XL"}],"off_ratio":0,"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.