1. jpsanudo
  2. RO CSVI
  3. Monday, 09 May 2016
  4.  Subscribe via email
PHP version 5.4.45
Joomla! version 3.5.1
Database schema version 6.5.7
VirtueMart 3.0.16

Hello,

I'm trying to connect two already created products as parent and child to be displayed as an option when client is shopping, so...

1.- I prepare the file, check all the fields (virtuemart_product_id, product_parent_id, custom_param, custom_value) as you can see in attached file "import-preview".
I do the import and no problems or error messages.

2- I check both products and yes, they are connected now as parent and child. See screenshoots.

3- However, when I go to product "custom_fields" -> "custom_field_type", the field for the "Generic child variant" is not added. I have to add it manually.

Any idea why this is?

I have already tried...

- To create a parent and child products for test. Export all the existing fields for products and compare with the import file.
- Import using virtuemart_product_id and also with product_sku.
- Use slug and also product_name as custom_value.

(and many other things!)

Any idea??

Thank you very much!
Accepted Answer Pending Moderation
Hello,
1.- I prepare the file, check all the fields (virtuemart_product_id, product_parent_id, custom_param, custom_value) as you can see in attached file "import-preview".
I do the import and no problems or error messages.

It is not recommended to use any field ending with _id during import/export process. They are primary key field of a database table and using them might mess up the data you already have. For product import use product_sku field and CSVI will identify the record based on this.


3- However, when I go to product "custom_fields" -> "custom_field_type", the field for the "Generic child variant" is not added. I have to add it manually.

The problem i see in your screenshot is that custom_title field is empty, you need to specify which custom field you are trying to import. Have a look at import product with custom fields documentation which explain on how your import file should be with custom fields.

Any idea why this is?

I have already tried...

- To create a parent and child products for test. Export all the existing fields for products and compare with the import file.
- Import using virtuemart_product_id and also with product_sku.
- Use slug and also product_name as custom_value.

(and many other things!)

Any idea??

To help us to solve your issue, make sure that you attach your debug log and sample import file with the post. This is explained in "Looking for a useful answer?" section on top of this page.
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. # 1
Accepted Answer Pending Moderation
Ok. It's working now. The problem is that I am not very sure about what I did. I just started from scratch and it worked.

Thank you very much!
  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!