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.

Tagged: 

This topic contains 6 replies, has 2 voices.

Last updated by Carlos Rojas 9 months, 3 weeks ago.

Assisted by: Carlos Rojas.

Author Posts
February 18, 2024 at 10:18 am #15314673

אלעד פיינברג

I have a price based on location, all the prices appear correctly in English, but there are specific products that when I switch to Spanish/Italian, their price changes to the USA default price instead of the price that appears on the English website

I am trying to: sync the troubleshooting and change the theme the bug still appears

Link to a page where the issue can be seen:
This is the STG environment of the Noris store URL I put above:
hidden link
hidden link
hidden link

I expected to see: That the price of Italian and Spanish be the same as the price of English in all products and not just in most of them 🙂

Instead, I got: USA default price on Italian and Spanish

February 19, 2024 at 11:21 am #15317605

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hello,
Thank you for contacting us

1.- According to your message, the configuration is set to change the prices based on location, however, the examples you provide are based on language. The prices will change based on the location of the user that visits your site, not the language active on the site.

Please let me know if you are planning to display different prices for the products based on the language the client is seeing the product on the site, or based on the location from where the user visits the website.

2.- I kindly ask you to increase the WP memory Limit. Minimum requirements are 128Mb: https://wpml.org/home/minimum-requirements/
You can add this to wp-config.php to increase WP memory:`

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

- Add it above the line /* That's all, stop editing! Happy blogging. */

You can double-check the WordPress memory limit in WPML -> Support

Regards,
Carlos

February 20, 2024 at 9:05 am #15321018

אלעד פיינברג

As I said, I don't want different prices to be displayed by language and that's the bug..
Although I defined that all the prices will be duplicated from the English language, the price is not duplicated.
I have fields of prices by country, and everything appears excellently in English.
That is, let's say I have a product that in Italy I set to have a price of 40 and in the USA the price will be 60.
If I am in Italy in English, I will see that the price is listed as 40, but when I switch to Spanish or Italian, the price resets to 60 for the US (which is the default price) even though I set the prices to be the same in all languages and should be copied from English

February 20, 2024 at 9:24 am #15321294

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,
Thank you for your message

I would like to request temporary access (wp-admin and FTP) to your site to take a better look at the issue. You will find the needed fields for this below the comment area when you log in to leave your next reply. The information you will enter is private which means only you and I can see and have access to it.

Our Debugging Procedures

I will be checking various settings in the backend to see if the issue can be resolved. Although I won't be making changes that affect the live site, it is still good practice to back up the site before providing us access. If we do need to debug the site further, I will duplicate the site and work in a separate, local development environment to avoid affecting the live site.

February 20, 2024 at 10:33 am #15321757

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Thanks for sharing the information requested.

Before we continue, I kindly ask you to create a full backup of the site and update all outdated plugins that appear outdated in this link: hidden link

Then double-check if the issue disappeared.

February 21, 2024 at 8:38 am #15325906

אלעד פיינברג

It seems that the problem continues to happen. I found it only in this product, and when I try to switch to English within this product, I get to 404 - although in the admin you can see that there is also English:
hidden link

February 21, 2024 at 10:16 am #15326838

Carlos Rojas
Supporter

Languages: English (English ) Spanish (Español )

Timezone: Europe/Madrid (GMT+01:00)

Hi there,

1.- I can correctly see hidden link

2.- I have checked the configuration of the 'WooCommerce Price Based on Country' plugin and -from Spain- I can see the same prices. Or I can't reproduce the issue from my country or the issue is solved.

When visiting hidden link and the translations, I can see the same prices on the products.

Also, when I visit a product, for example: hidden link and compare the prices set in the backend for its translations in IT (hidden link) and ES (hidden link) the same prices are set for the variations.