Skip to content Skip to sidebar

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

Problem:

The variation of the product was not showing in the editing screen of the original language product page.

Solution:

We're uncertain what solved the issue here. It may have been the increase of WP_MEMORY_LIMIT. You can increase it from the wp-config.php file in your WordPress installation. Insert this code in that file:

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

Add it before this line:

/* That's all, stop editing! Happy blogging. */

Relevant Documentation:
https://wpml.org/home/minimum-requirements/
https://wpml.org/documentation/related-projects/woocommerce-multilingual/#variations

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.

This topic contains 8 replies, has 2 voices.

Last updated by Itamar 1 year, 6 months ago.

Assisted by: Itamar.

Author Posts
January 1, 2024 at 2:42 pm #15139619

sharwinJ

I am trying to: edit the price of a variation

Link to a page where the issue can be seen: it can not be seen it is in the backend. Check the image of the translaten language (english) and the orginal language (dutch / Nederlands)

I expected to see: the variation

Instead, I got: nothing to see

no variation.jpg
variation visible in english.jpg
January 1, 2024 at 5:40 pm #15139790

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

Are you sure it is a WPML and WooCommerce Multilingual & Multicurrency problem?

I ask this because if the variation isn't showing in the default language, it is probably not a WPML issue.

Please check what happens when you temporarily deactivate WPML, WooCommerce Multilingual & Multicurrency, and Strings Translation.

Does the variation show like that?

Also, please ensure that you follow our guide on working with WooCommerce. See it here.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/

Specifically, please check the section about variations.

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#variations

Regards,
Itamar.

January 2, 2024 at 4:03 pm #15144105

sharwinJ

Hi just now I disabled the plugins and indeed now I can see the variation

disabled.jpg
January 2, 2024 at 6:05 pm #15144428

sharwinJ

can you please look into this?

January 2, 2024 at 7:57 pm #15144682

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for trying my suggestions.

Did you create the product attributes in English and not in Dutch, your site's default language?

You must create the attributes in Dutch and translate them into English.

Can you please confirm you are following our guide?

https://wpml.org/documentation/related-projects/woocommerce-multilingual/#taxonomies

Also, the debug info you attached shows that your server's WP Memory Limit is 40M. Our recommendations are to have the following as minimal requirements:

- PHP 7 and above (this OK with your installation) with a WP Memory Limit of at least 128MB while 256MB is recommended.

MySQL 5.6 and above.

Please follow this link for detailed documentation:

https://wpml.org/home/minimum-requirements/

Is it possible for you to change those to the minimum requirement?

You may need to contact your hosting provider for that. Meeting those baseline requirements is most critical before debugging and sometimes solves issues you experience. The most important thing is to raise the WP Memory Limit. Please try to raise it before you contact your hosting company. You can do it from the wp-config.php file in your WordPress installation. Insert this code in that file:

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

Add it before this line:

/* That's all, stop editing! Happy blogging. */

Could you please perform that procedure and see if it helps?

Thanks,
Itamar.

January 3, 2024 at 10:09 am #15145889

sharwinJ

Hi, I passed this on to our developer. Our developer will be back by next week Monday from his leave and he will answer all of the questions.

What I do know for sure is that the translation are from Dutch into English.
I checked the documentation and indeed he did follow these instructions but I need to double check that with our developer.

We will follow up in a week. Sorry for the inconvenience

January 3, 2024 at 12:38 pm #15146490

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi, and thanks for updating me on this.

We can wait for your developer to come back from his vacation.

If you need further help with this, please share the access details to your site with me.
I'm enabling a private message for the following reply.

Privacy and Security Policy
We have strict policies regarding privacy and access to your information. Please see:
https://wpml.org/purchase/support-policy/privacy-and-security-when-providing-debug-information-for-support/
**IMPORTANT**
- - Please backup the site files and database before providing us access. --
-- If you have a staging site where the problem can be reproduced, it is better to share access to the staging site.--

Regards,
Itamar.

January 9, 2024 at 11:44 am #15164152

sharwinJ

Hi, I've increased the memory limit, and yes, the attributes are in Dutch. Could you clarify what the issue was? Also on the homepage, there is a section (snapshot attached); the English version wasn't showing the colors previously. Did you fix this?

Screenshot_38.png
January 9, 2024 at 3:10 pm #15165423

Itamar
WPML Supporter since 02/2016

Languages: English (English )

Timezone: Asia/Jerusalem (GMT+03:00)

Hi,

I'm glad that the issue is solved now. (Please correct me if I'm wrong.)

I don't know what actually fixed the issue. It might have been the increment in the WP Memory Limit. I didn't do anything on your site. You didn't share the access with me.

Please let me know if you have further questions or mark this ticket resolved.

Regards,
Itamar.

January 9, 2024 at 3:57 pm #15165582

sharwinJ

Thanks for letting us know.