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 19 replies, has 1 voice.

Last updated by Otto 2 weeks, 2 days ago.

Assisted by: Otto.

Author Posts
April 15, 2025 at 2:46 pm #16934870

davidH-172

Background of the issue:
I am trying to update a field via import _regular_price_gbp using WPML. When we run the import, the field is imported perfectly, and I can see the data has been correctly set on the back-end. However, the new data is not reflecting on the front end. I have demonstrated in a video here the state of the product AFTER upload: hidden link.

Symptoms:
The data is set correctly on the back-end, but it does not display on the front end until I manually edit the product and click update.

Questions:
Why is the imported data not reflecting on the front end?
Is there a way to make the changes appear on the front end without manually updating each product?

April 17, 2025 at 5:57 pm #16945561

Bobby
WPML Supporter since 04/2015

Languages: English (English )

Timezone: America/Los_Angeles (GMT-07:00)

Hi there,

While waiting for one of my colleagues to be assigned to your ticket, please try this and let us know your results.

After import go to WPML → Support → Troubleshooting, then click "Synchronize post meta". This can help push the correct values to translations.

April 22, 2025 at 8:09 am #16953568

davidH-172

Thank you for this suggestion. I have gone to the suggested page, but I cannot see an option to "Synchronize post meta".

There is "Synchronize post taxonimies" where I would also need to choose post types from a dropdown.... but nothing on the page which says "Synchronize post taxonimies" .

Please can you advise?

Screenshot here - hidden link

Thank you.

April 22, 2025 at 6:00 pm #16956874

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I apologize for the delay in responding. I will take care of this ticket; the reply time will be shorter now.

Can you please try the following:
When running the import, map all currency‑specific fields (not just _regular_price_gbp)
And don't use: "Increase speed by disabling do_action calls in wp_insert_post during import".

(I am assuming you are doing the import with WP All Import)

I noted that you have in your site:
WPML All Import and WPML Export and Import

make sure you use the latter:
https://wpml.org/documentation/related-projects/wpml-export-and-import/

If anything still looks stale, go to WPML → Support → Troubleshooting and run Set language information and Sync products to rebuild caches.

Best Regards,
Otto

April 22, 2025 at 6:29 pm #16957036

davidH-172

Thank you for your help.

We dont want all prices to be manually set, only gbp, the rest of the prices are coming from currency translator.

however, when we encontered this isue we did, as a test try importing the other currencies, but the was the same regardless. It always needs us to manualyl edit the product, click update....and then the price displays correctly.

We have also spoken with WP All Import and shared with them our process. they sadly could not resolve it, but believe the data is importing correctly, but a wpml action is needed that they dont understand.

I will try the option of setting language information first thing tomorrow once tonight's backup has run.

April 22, 2025 at 6:37 pm #16957077

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Thanks, let me know how it goes.

Best Regards,
Otto

April 23, 2025 at 10:13 am #16958873

davidH-172

So I have clicked the button to set language information.

It took around 15 minutes for the progress bar to get 1/4 the way. See screenshot

hidden link

After this progress stopped moving. I have left it around 70 minutes but it has not progressed any further.

I have tried some products in another tab and nothing seems resolved, but im not sure what to do next?

April 23, 2025 at 2:09 pm #16960425

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks.

Let's try to reproduce the problem from scratch.

I created a clean installation of WordPress, WooCommerce, WPML, and all necessary WPML add-ons.
I set multicurrency for $us and Euro, for testing purposes it's the same, right?

You can access the WordPress dashboard using the link below:
hidden link

Kindly follow the steps below:

- Don't restore your site there.
- Install WP All Import and the needed addons
- Create one product and the import file for that product, and share the file with me
- Try to do the import in the test site

Best Regards,
Otto

April 23, 2025 at 3:32 pm #16961160

davidH-172

I have installed WP All Import and also Wp All Import-Woocomerce as per our environment.

I have then run the import in the same way, see video here;

hidden link

As with our site the import runs as expected, and the data is imported into the correct fields.

However, I cannot further test as the front end does not have the same situation;

On our site we have multiple countries, so I would switch to the USA to test...but on this site I cannot switch to the usa to test.

so we would have a product on USA in USD$ for example, and we would translate the product to germany and the UK (for example)

I would then load the product on the uk site, and instead of showing the price which has been set manually, it would display the auto-translated price.

I cant recreate that on this environment.

Please can you advise?

April 23, 2025 at 4:26 pm #16961469

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

I added the Pound Sterling to the site.

So, I think you can translate the product into German and then update the Pound Sterling price for it through the import. Then you can go to the product and switch languages and currencies, and see if the import took effect.

Best Regards,
Otto

April 24, 2025 at 8:50 am #16963275

davidH-172

Thank you.

I have now performed the test on your server, and the exact same issue does exist;

I import the data, and the data all shows correctly on the back end. the prices are correct.

View on the front end, and the prices are not reflecting.

However, if I edit a product by simplying clicking UPDATE, the prices are then correctly reflected on the front end.

Video dmonstration here;

hidden link

April 24, 2025 at 4:24 pm #16965468

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hello,

Thanks for the detailed explanation.

I did an import including these custom fields:
_regular_price_USD
_price_USD

and it worked. The secondary currency price changed in the front end without updating the product.

Can you please give it a try?

Best Regards,
Otto

April 24, 2025 at 5:29 pm #16965676

davidH-172

Hello,
I will try this, however that isnt a usable workaround in our scenario, where do only want to update one field.

April 24, 2025 at 5:59 pm #16965783

Otto
WPML Supporter since 09/2015

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

Timezone: America/Argentina/Buenos_Aires (GMT-03:00)

Hi,

I haven't tried, but maybe updating just _price_USD does the trick.

What are the side effects of importing two fields? As far as I can see, this behaviour is not a bug.

Best Regards,
Otto

April 24, 2025 at 6:04 pm #16965804

davidH-172

We have many thousands of products across multiple languages/curencies. We want to update the prices on the specific currencies....for example the GBP£ price.

We cannot import the main price too, as we just dont have that data as it lives on a third partty shipping systm which managed the prices.

The bug is that the gbp price imports correctly, and displays correctly on the back nd...but on the front end it is showing a different price.