Hi again,
Once all products are imported from an xml, I assign all of them to a specific import category for example "Imported products".
Then I need to add the right category to each product from within virtuemart product info.
Once I add this category and re-import product to update prices, add new products, etc, all my category changes are overwritten.
How can I avoid this?
Thanks!
- barracuda69
- RO CSVI
- Tuesday, 29 November 2016
- Subscribe via email
0
Accepted Answer
Pending Moderation
Hello,
You can avoid this by not importing the category_path again.
You can avoid this by not importing the category_path again.
Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Thanks for your prompt response!
Yes but then all new products existing in the same xml will be assigned where?
Yes but then all new products existing in the same xml will be assigned where?
Accepted Answer
Pending Moderation
Hello,
There is your problem I guess, your file is a mix of old and new products. If no category_path is set, products won't be assigned to any category.
CSVI doesn't handle a specific field in any special way if the product already exists or not. The only thing you can do is probably make a second template (as a copy of the first) and change the template settings.
With two templates you would have one for importing the new products and one for importing existing products. In the template for new products you would set the option Overwrite existing data to No. This way only new products are added and as such you can assign the category_path field. In the template for existing products you set the option Skip new items to Yes. This way only existing products will be updated. The category_path field would then be skipped for this import.
Need to be creative in situations like this
There is your problem I guess, your file is a mix of old and new products. If no category_path is set, products won't be assigned to any category.
CSVI doesn't handle a specific field in any special way if the product already exists or not. The only thing you can do is probably make a second template (as a copy of the first) and change the template settings.
With two templates you would have one for importing the new products and one for importing existing products. In the template for new products you would set the option Overwrite existing data to No. This way only new products are added and as such you can assign the category_path field. In the template for existing products you set the option Skip new items to Yes. This way only existing products will be updated. The category_path field would then be skipped for this import.
Need to be creative in situations like this

Kind regards,
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
RolandD
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
Accepted Answer
Pending Moderation
Seems quite logical ;-)
I'll make a few tries and get back to you with what works best so that people will know what to do in a situation like this ;-)
Thanks!
I'll make a few tries and get back to you with what works best so that people will know what to do in a situation like this ;-)
Thanks!
Accepted Answer
Pending Moderation
Hi again Rolandd,
Where do I find those settings you describe?
Thanks!
Found them!! Sorry!!!
Where do I find those settings you describe?
Thanks!
Found them!! Sorry!!!
- Page :
- 1
There are no replies made for this post yet.
Be one of the first to reply to this post!
Be one of the first to reply to this post!
Please login to post a reply
You will need to be logged in to be able to post a reply. Login using the form on the right or register an account if you are new here. Register Here »