1. visability
  2. RO CSVI
  3. Thursday, 25 June 2015
  4.  Subscribe via email
I am having trouble importing products where some of the products need to be added to more than one category. I am using VirtueMart 3.0.9 and CSVI Pro 5.21.2

Everything imports perfectly except for the categories. The product only gets added to the last category in my combined category list. I have attached a part of my XML import file. As an example an Apple Watch needs to get added to both the Apple watch category and the Smart Watch category.

This is what I have done:
I have created 4 combine fields each to collect a separate category path from an XML node so:
Category0 collects this info: Apple/Apple Gadgets/Apple Watch
Category1 collects this info: Electronics & Gadgets/Gadgets/Smart Watches
Category2 in this case is empty
Category3 in this case is empty

I then created a category_path field and combined the four fields above. The field name is set to category_path. When I run the import it creates the last category in the list and adds the product to that category but the other categories are ignored.

Do you have any pointers for me? I have spent hours trying to get this sorted myself.
Accepted Answer Pending Moderation
An interesting note. If I use the delimiter | on its own the categories don't import. If I use a space and then | it works. The one issue though is that I now alos have a category where the title is a space with tones of products in it.
  1. more than a month ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hello,

Please post the debug log as well as requested at the top of the page. The debug log of using the |-symbol without the space. I will see if I can find out what happens with the category path.
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. more than a month ago
  2. RO CSVI
  3. # 2
  • Page :
  • 1


There are no replies made for this post yet.
Be one of the first to reply to this post!