Issue when importing.

  • Posts: 89
  • Thank you received: 2
  • Hikashop Multisite
1 day 6 hours ago #364999

-- 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?

Please Log in or Create an account to join the conversation.

  • Posts: 83007
  • Thank you received: 13398
  • MODERATOR
21 hours 20 minutes ago #365003

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.

The following user(s) said Thank You: alainz

Please Log in or Create an account to join the conversation.

Time to create page: 0.056 seconds
Powered by Kunena Forum