I need to import the category to each product, but my vendor only supplies the relations in "id". Is there a way import "virtuemart_category_id" and "virtuemart_product_id" in the same template?
Thanks			
			- mkcev
 - RO CSVI
 - Monday, 11 January 2016
 - Subscribe via email
 
			
									0
								
				
					
				
			
		
	
						Accepted Answer
						Pending Moderation
					
				
				Thanks for clearing this up. I`m getting in touch with the supplier. Thanks again			
			
						Accepted Answer
						Pending Moderation
					
				
				Hello,
I think we need to clear something up. The IDs given by your supplier are not related to the IDs in your Joomla installation. I would assume that your supplier has multiple files that relate to each other based on these IDs.
In a database the IDs are controlled by the database and as users we shouldn't really be modifying them, that is why it is not recommended to alter the IDs. It is better to use the real names for the manufacturers, products and categories. CSVI will make sure the data integrity is kept.
As a final note, if you import the IDs and the item doesn't exist yet, Joomla will do an update regardless if it exists or not. If it doesn't exist, it will show as nothing has happened. That is all because it is the primary key.
I think you will have to create a single file of all these separate CSV files that contains the correct info without the IDs.
			I think we need to clear something up. The IDs given by your supplier are not related to the IDs in your Joomla installation. I would assume that your supplier has multiple files that relate to each other based on these IDs.
In a database the IDs are controlled by the database and as users we shouldn't really be modifying them, that is why it is not recommended to alter the IDs. It is better to use the real names for the manufacturers, products and categories. CSVI will make sure the data integrity is kept.
As a final note, if you import the IDs and the item doesn't exist yet, Joomla will do an update regardless if it exists or not. If it doesn't exist, it will show as nothing has happened. That is all because it is the primary key.
I think you will have to create a single file of all these separate CSV files that contains the correct info without the IDs.
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
					
				
				Hi,
Thanks for your reply. I thought the "ids" somehow had to match because in the csv`s they supply refers to products, categories and manufacturers as "ids".
---
What I mean is - is there a way to possibly adapt this to csvi?
thanks again
			Thanks for your reply. I thought the "ids" somehow had to match because in the csv`s they supply refers to products, categories and manufacturers as "ids".
---
What I mean is - is there a way to possibly adapt this to csvi?
thanks again
						Accepted Answer
						Pending Moderation
					
				
				Hello,
Are the relations "ids" going to be VM ids? will your vendor database and your database would match by doing id importing?
It is not recommended to use Id fields for importing but use category_path, manufacturer_name and product_sku. This way a new entry will be created in database table when a new category or manufacturer or product is detected in your csv file.
			Are the relations "ids" going to be VM ids? will your vendor database and your database would match by doing id importing?
It is not recommended to use Id fields for importing but use category_path, manufacturer_name and product_sku. This way a new entry will be created in database table when a new category or manufacturer or product is detected in your csv file.
Kind regards,
Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
	Tharuna
=========================
If you use our extensions, please post a rating and a review at the Joomla! Extension Directory
- 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 »