diff --git a/ecommerce_integrations/unicommerce/product.py b/ecommerce_integrations/unicommerce/product.py index e71f03ca..e8ee2210 100644 --- a/ecommerce_integrations/unicommerce/product.py +++ b/ecommerce_integrations/unicommerce/product.py @@ -288,7 +288,7 @@ def _build_unicommerce_item(item_code: ItemCode) -> JsonDict: item_json["imageUrl"] = get_url(item.image) item_json["maxRetailPrice"] = frappe.get_value("Item Price",{"item_code":item_code},"price_list_rate") item_json["hsnCode"] = frappe.get_value("Item",item.name,"gst_hsn_code") - item_json["description"] = frappe.get_value("Item",item.name,"description") + item_json["description"] = frappe.utils.strip_html_tags(frappe.get_value("Item",item.name,"description")) item_json["gstTaxTypeCode"] = frappe.get_value("Item Tax",{"parent":item.name},"item_tax_template") item_json["costPrice"] = item.valuation_rate return item_json