1. keep
  2. RO CSVI
  3. Wednesday, 08 December 2021
  4.  Subscribe via email
I was wondering what is the best method to rename the existing VirtueMart categories with RO CSVI.
The main goal would be export all of the categories and check for typos, make more specific etc and import them back.
Accepted Answer Pending Moderation
Hello,

You would need to export the virtuemart_category_id and category_name field. After you make your changes to this file you can import it back and the categories will be updated because of the virtuemart_category_id field that is included. This is the only way to rename existing categories.
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. # 1
Accepted Answer Pending Moderation
Ah using custom tables import could do the job.
It does work indeed, only a tiny notice:
The best way to us would be export the categories via VM categories with virtuemart_category_id, category_path, category_name, so I could see all of the parents as well.
But when I import it back I don't need the category_path so I need to remove, because - as far as I can see - there is no 'skip' field when I import to custom tables.
Could you please consider adding a skip field there?
  1. more than a month ago
  2. RO CSVI
  3. # 2
Accepted Answer Pending Moderation
Hello,

You do not need the custom tables import, you can do it using the VirtueMart Category import. This will allow you to skip the field. I understand you would want the category_path as well for context.
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. # 3
Accepted Answer Pending Moderation
Hm
We had a conversation before about some similar topic where I thought virtuemart_category_id can't be a key
https://rolandd.com/support/ro-csvi/import-virtuemart-categories-based-on-virtuemart-category-id

But you're right, it does work, thanks for your help
  1. more than a month ago
  2. RO CSVI
  3. # 4
Accepted Answer Pending Moderation
Nope, it does not work, only with custom table import
  1. more than a month ago
  2. RO CSVI
  3. # 5
Accepted Answer Pending Moderation
Hello,
Yes you need to update only using custom table import. In VirtueMart Category import, category_path field is needed field and you cannot update category_name using category_path field. With custom table import you can run the import with category_path field in import file. You do not need a skip field for it. The only problem would be to see Unsupported fields for category_path field in log details page after import which is fine and will not affect the operation of cleaning the category name.
Kind regards,

Tharuna

=========================
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. # 6
  • Page :
  • 1


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