Skip Navigation

This thread is resolved. Here is a description of the problem and solution.

To safely import variable products with WPML and WP All Import, you need to create separate CSV files for each language with a Unique Identifier column. This allows WP All Import to connect the product translations to the default language products. For this to work properly, you need to add an ID number. You cannot use the SKU or other custom fields.

Then, you can move on to importing your taxonomies, the import settings, and importing your products. For a step-by-step guide, please see the page about importing variable products in multiple languages.

This is the technical support forum for WPML - the multilingual WordPress plugin.

Everyone can read, but only WPML clients can post here. WPML team is replying on the forum 6 days per week, 22 hours per day.

Tagged: 

This topic contains 5 replies, has 2 voices.

Last updated by Long Nguyen 1 year, 8 months ago.

Assisted by: Long Nguyen.

Author Posts
February 23, 2023 at 9:03 pm #13103461

marinaL-8

Tell us what you are trying to do?

Hi, I duplicated marinalari.com to marinalari.revenuesden.com in order to improve the website. The duplicate was made a while ago, and during this time new products have been added and the stock has changed on the live website marinalari.com.

How do I safely import variable products (688 for IT/EN languages) without messing anything up, using WP All Import? I've had some bad experiences previously with another plugin.

Following your documentation:
The taxonomy terms and translations were already created when the site was duplicated, so this step is not needed I assume.

For the export from live website marinalari.com I should have 2 seperate exports. One export by filtering the base language IT separately, and then the second language EN separately?

In your documentation it says I have to add a new column 'unique identifier', but the product ID's are all unique. This means that I don't have to add a new column, right?

As per your documentation - first import base language, then secondary language. Is there anything you advise me, because its a bit confusing since a lot of info is not repeated for the product part. Do we assume is basically the same as importing posts?

Is there any documentation that you are following?
Yes, your documentation:
- https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/#importing-woocommerce-products
- hidden link

Is there a similar example that we can see?
-

What is the link to your site?
hidden link

Looking forward to your reply and help.

Best regards,
Gino Gagliardi

February 24, 2023 at 6:59 am #13105207

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi there,

Thank you for contacting WPML support, I'd be happy to help you with this issue.

1. For the export from live website marinalari.com I should have 2 seperate exports. One export by filtering the base language IT separately, and then the second language EN separately?
Yes, correct. For anything you want to export from your live site in the default/original (IT) language, you need to export the corresponding things in the second language (EN) to import later.

2. I have to add a new column 'unique identifier', but the product ID's are all unique. This means that I don't have to add a new column, right?
You need to have the "unique identifier" column with the unique number. But you can use the column WPML Translation ID as the "unique identifier" column when importing the product.
Please read more on the documentation https://wpml.org/documentation/plugins-compatibility/export-multilingual-websites-using-wp-all-export-wpml/

3. Is there anything you advise me, because its a bit confusing since a lot of info is not repeated for the product part. Do we assume is basically the same as importing posts?
Yes, it works like importing/exporting posts but with more fields.
There is one note: If you want to import any changes in the default/original language for the products, you need to import the changes for the products in the second language also.

Look forward to your reply.
Thanks

March 7, 2023 at 8:42 am #13186401

marinaL-8

The tests for product imports went well. Is updating stock the same process (first base language, then second language etc), but then select import existing products and only update the stock field?

March 7, 2023 at 9:48 am #13187469

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for your feedback.

Yes, please do the same steps to import data (updating stock field) in the second language as you do in the original language.

Look forward to your reply.
Thanks

March 8, 2023 at 11:18 am #13198063

marinaL-8

Hi Long, so far thanks for your help. All imports seem to go well.

Instead of the manual way, what is the best way to bulk edit attributes of newly imported products? On the new website we are working with new attributes such as color, season, brand, material etc.

Can we use WP All Export and run an export to Excel, and then add new attributes there, then import again? Are there any things we should take into account here, considering WPML?

Looking forward to hearing your reply about best practices.

Best,
Gino

March 9, 2023 at 1:58 am #13202587

Long Nguyen
Supporter

Languages: English (English )

Timezone: Asia/Ho_Chi_Minh (GMT+07:00)

Hi,

Thank you for the feedback.

I think yes, the attribute of WooCommerce actually a custom taxonomy like category, tag. You can export them to a file, edit the file and re-import attributes to your site. What WPML does here is to connect the language of attributes, for original and second languages.

Please read more on the documentation
hidden link
hidden link
https://wpml.org/documentation/related-projects/wpml-all-import-plugin-website-import-with-wpml/importing-multiple-languages-with-wp-all-import-and-wpml/#option-2-import-the-multilingual-terms-using-wp-all-import

Look forward to your reply.
Thanks