product import with assignment to several subcategories

  • Posts: 141
  • Thank you received: 3
5 years 2 months ago #311187

-- HikaShop version -- : 4.2.1
-- Joomla version -- : 3.9.8
-- PHP version -- : 7.2.14

Hello,

I would like to import products assigned to different categories and subcategories. I don’t want to create new categories during products import. Is it possible to assigned to the product different subcategories but not using ID of the subcategories as described in the documentation link only using names of subcategories ?

Example:

Categories tree:

Root>Parent1>SubA>White
Root>Parent1>SubA>Black

Root>Parent2>Sub1>White
Root>Parent2>Sub1>Black

Product:

Product should be assigned to categories: Root>Parent1>SubA>White and Root>Parent2>Sub1>Black

For me it would be perfect to use path to the right subcategories for example: Root/Parent1/SubA/White;Root/Parent2/Sub1/Black

Regards,
Greg

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
5 years 1 month ago #311204

Hi,

There is no "path" system support for the import.
However, you can use the "parent_category" column in such case. For example you could have such CSV:

product_code;parent_category;categories
productA;SubA;White,Black
product1;Sub1;White,Black
In that case, productA will be added to the categories White and Black of the SubA category and product1 will be added to the White and Black categories of the Sub1 category.

The following user(s) said Thank You: Greg_C

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

  • Posts: 141
  • Thank you received: 3
5 years 1 month ago #311209

Hi Nicolas, ok, thank you for clarification

Regards,
Greg

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

Time to create page: 0.038 seconds
Powered by Kunena Forum