- Posts: 98
- Thank you received: 4
Issue when importing.
1 year 9 months ago #364999
by alainz
Issue when importing. was created by alainz
-- url of the page with the problem -- :
ayam.com
-- HikaShop version -- : 5.1.2
Hi,
We are running some test on the website.
While we are importing the file to the Hikashop, we empty the column for product categories and product related on the file.
But on the Hikashop we have field for the product categories and product related.
While importing the file, it not overwrite and empty the column for field on product categories and product related.
Can you explain about this issue?
-- HikaShop version -- : 5.1.2
Hi,
We are running some test on the website.
While we are importing the file to the Hikashop, we empty the column for product categories and product related on the file.
But on the Hikashop we have field for the product categories and product related.
While importing the file, it not overwrite and empty the column for field on product categories and product related.
Can you explain about this issue?
Please Log in or Create an account to join the conversation.
1 year 9 months ago #365003
by nicolas
Replied by nicolas on topic Issue when importing.
Hi,
Thanks for your feedback.
HikaShop doesn't allow a product to not be linked to any category.
If that was the case, then you wouldn't be able to find the products without categories on the frontend or backend.
In fact, if you try to remove all the categories of a product in the backend interface, HikaShop will link it to the main category of the shop automatically in order to avoid having the product without any category.
So, if you provide a CSV with nothing in the "categories" column, the import system will just ignore it.
So what you're talking about is meant to be this way for a good reason.
However, regarding the related products, you're indeed correct that this case is currently not supported while it would make sense to support it. In fact, it's the same for options and bundles.
So, I've looked into it and I've made a patch to support that. Download again the install package of the 5.1.2 on our website and install it on yours and you'll get the patch to support that.
Thanks for your feedback.
HikaShop doesn't allow a product to not be linked to any category.
If that was the case, then you wouldn't be able to find the products without categories on the frontend or backend.
In fact, if you try to remove all the categories of a product in the backend interface, HikaShop will link it to the main category of the shop automatically in order to avoid having the product without any category.
So, if you provide a CSV with nothing in the "categories" column, the import system will just ignore it.
So what you're talking about is meant to be this way for a good reason.
However, regarding the related products, you're indeed correct that this case is currently not supported while it would make sense to support it. In fact, it's the same for options and bundles.
So, I've looked into it and I've made a patch to support that. Download again the install package of the 5.1.2 on our website and install it on yours and you'll get the patch to support that.
The following user(s) said Thank You: alainz
Please Log in or Create an account to join the conversation.
Time to create page: 0.180 seconds