Skip Navigation

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.

Sun Mon Tue Wed Thu Fri Sat
- 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 8:00 – 12:00 -
- 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 12:00 – 16:00 -

Supporter timezone: Europe/Zagreb (GMT+02:00)

This topic contains 4 replies, has 2 voices.

Last updated by Dražen 1 year, 2 months ago.

Assisted by: Dražen.

Author Posts
March 19, 2024 at 5:59 pm #15428225

andreio-9

We have set up an WP all-import file to be able to import a product catalogue into WordPress. Everything works correctly as expected apart from specifying the product's custom taxonomy, which only works in the primary language (English).

Before importing, we created the custom taxonomies in the various languages, using the WPML interface ensuring they were connected.

When we import products (Custom post Type) for other languages, they are associated only with the parent taxonomy in the language not with child taxonomies.

Can you help in resolving this?

March 20, 2024 at 10:04 am #15430247

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for contacting us.

Sure, I will be glad to check and help.

1) Since you are using WPML and Woocommerce and they require a lot of memory, please update memory limit values:

Please open and add the following code in your wp-config.php file, right after the database information lines of code. This file is located in your websites root folder.

 /** Memory Limit */
define('WP_MEMORY_LIMIT', '256M');
define( 'WP_MAX_MEMORY_LIMIT', '512M' );

2) Please make a full backup of your site (files and database) and confirm it in your next reply.
If possible please provide access to the staging website, not production.

Please note, that I might need to do some debugging procedures like enable/disable plugins, switch themes, change the default language of the user account, and/or access your website database to debug the issue furtherly.

I will share with you any changes or steps done in this process. Please let me know if you do not agree with the above or if I do not have your permission for any.

I would need to access both your site's wp-admin and FTP account, if possible.

I have enabled the private username and password fields in your next reply.

I suggest you create a new user, set it as an administrator and then add those credentials in the private fields mentioned.

You can safely add your information into these fields.

Regards,
Drazen

March 27, 2024 at 10:12 am #15454606

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

thanks for getting back.

1) I have checked and I see you are using slug for unique identifiers which may cause issues in future, it should be a unique numeric value and also you use the same named taxonomies in each language. For example, if I check Italian it looks to me like it is correct since Italian has categories translated and its slugs. I suggest checking like this, make sure categories are translated to each language.

2) Since you are using custom plugins and themes and there are many import templates it is difficult to debug, if the issue still happens after the first step let's check it out on a clean install if this is a bug.

Please create an import for default posts or new CPT and try to import a few example posts and their translations for a few categories and let's see if the issue still happens:

- hidden link

Thanks and regards,
Drazen

Screenshot_1.jpg
March 27, 2024 at 10:44 am #15454898

andreio-9

OK thanks for your quick reply, so to clarify, you suggest that the Uid NOT be a slug (like febe-ceiling) ecc but a unique number?

March 27, 2024 at 10:50 am #15454905

Dražen
Supporter

Languages: English (English )

Timezone: Europe/Zagreb (GMT+02:00)

Hello,

yes, that is correct, and for posts to have translated names and slugs and for taxonomies to have translated names and slugs.

Regards,
Drazen

The topic ‘[Closed] All-import custom taxonomies – products aren't associated’ is closed to new replies.