1. laconcorde
  2. RO CSVI
  3. Thursday, 06 February 2020
  4.  Subscribe via email
Thanks, it works! Another question: how do I import products into the main category and sub category. Currently, products are displayed only in a subcategory.
Accepted Answer Pending Moderation
Hello,
If you want your products to be added to parent and child category then you need to have category_path field to have parent and child categories separated by |. Check the example below

"product_sku","product_name","category_path"
"10001","Sample Product","parent-category|parent-category/child-category"
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. 3 weeks ago
  2. RO CSVI
  3. # 1
Accepted Answer Pending Moderation
Hi. Thanks. The question is, how do I make a rule for this? In the xml file stands parent-category> child-category, I made the rule of replacing> with /, how can I add parent-category before.
  1. 3 weeks ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,
There is no rule to read the first category and combine it with category_path. You may need to write your own custom rule to get this working.
Kind regards,

Tharuna

=========================
If you use CSVI, please post a rating and a review at the Joomla! Extension Directory
  1. 3 weeks ago
  2. RO CSVI
  3. # 3
Accepted Answer Pending Moderation
Hello,

You can do this with a regular expression. For example your category path is parent>child and you want to import the product in parent|parent/child so it appears in both parent and child category.

Create a rule as shown in the screenshot and apply it to the category_path field. That should do what you are asking for I think.

Let me know how it goes.
Attachments (1)
Kind regards,

RolandD

=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
  1. 3 weeks ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Great! Thanks. It works!
  1. 3 weeks ago
  2. RO CSVI
  3. # 5
  • Page :
  • 1


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