fix: pre-process both the existing and new products

This commit is contained in:
Mangesh-Khairnar 2020-04-30 17:55:03 +05:30
parent f382257fc7
commit 7f374e7ba5

View File

@ -157,8 +157,9 @@ def publish_selected_items(items_to_publish):
existing_items = map_fields(items_to_update)
try:
item_sync_preprocess(len(items))
convert_relative_image_urls_to_absolute(items)
item_sync_preprocess(len(new_items+existing_items))
convert_relative_image_urls_to_absolute(new_items)
convert_relative_image_urls_to_absolute(existing_items)
# TODO: Publish Progress
connection = get_hub_connection()