Skip to content

Commit

Permalink
fix(unicommerce): set name also when syncing new item
Browse files Browse the repository at this point in the history
  • Loading branch information
ankush committed Apr 29, 2022
1 parent e8a932b commit 6b2199f
Showing 1 changed file with 1 addition and 0 deletions.
1 change: 1 addition & 0 deletions ecommerce_integrations/unicommerce/product.py
Expand Up @@ -99,6 +99,7 @@ def _create_item_dict(uni_item):
item_dict["barcodes"] = _get_barcode_data(uni_item)
item_dict["disabled"] = int(not uni_item.get("enabled"))
item_dict["item_group"] = _get_item_group(uni_item.get("categoryCode"))
item_dict["name"] = item_dict["item_code"] # when naming is by item series

return item_dict

Expand Down

0 comments on commit 6b2199f

Please sign in to comment.