Skip Navigation

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

Problem:

The YITH Gift Card plugin prices are not copied to the translated products.

Solution:

1- Go to WPML-> Settings-> Custom fields section
2- Click on "Show System Fields"
3- Search for the "_gift_card_amounts" field
4- Set it to "Copy"
5- Click "Save"
6- Edit the product in the default language, and update it
7- Update the translation
8- Clear the cache and check the front end

50% of people find this useful.

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 4 replies, has 2 voices.

Last updated by liseL-5 2 years, 5 months ago.

Assisted by: Osama Mersal.

Author Posts
June 15, 2022 at 9:46 am #11465459

liseL-5
Site owner

Tell us what you are trying to do?
We're using a Gift Card plugin of YITH. While updating the prices in default (english) it won't update in other languages. Initially reach out to YITH. But they said the following:
"I've been reviewing what you're saying, and I feel like this is because each product became actually a different product (they all have different IDs), and this is why when you make changes to a product, you don't see them reflected in the rest . I have tried slightly modifying the product description in English, which has not been reflected in the other products.

Maybe you are missing some WPML-specific settings. I recommend contacting their support in such a case."

Is there any documentation that you are following?
I've tried the advice Carlos gave in this topic, but it didn't worked.
https://wpml.org/forums/topic/product-prices-in-2nd-language-not-being-updated-automatically/
We've have the settings of "Post Types Translation" on Gift Card set on "Not translatable"

Is there a similar example that we can see?
hidden link (en, default)
hidden link (nl, should update to en prices. The same with DE & FR version. Didn't update)

What is the link to your site?
hidden link

Is YITH right and is this a WPML thing or should they change something so it should work?
If you need to check it on our admin dashboard, we can give you a admin login to our development site.

June 15, 2022 at 10:20 am #11465829

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi,

Thanks for contacting WPML forums support. I'll be glad to help you today.

It could be a compatibility issue, so could you please login to this sandbox site and upload the Gift Card plugin only? (hidden link)

After that, please create a test product and translate it. If the issue is replicable, please let me know the steps to reproduce it.

Thanks for your cooperation

Regards,
Osama

June 15, 2022 at 1:23 pm #11467653

liseL-5
Site owner

Hi Osama,

Thanks for getting back to me. I've upload the plugin and created new products to test the problem.
One product with the independent translatable option & the other one as duplicate product.
It seems that the prices aren't being updated across all languages on the independent translatable product. What do you think? Is this a WPML setting that can be adjusted so all the prices can be updated across the languages?

Kind regards,
Chung-Hang

team Botanopia

June 15, 2022 at 1:42 pm #11467811

Osama Mersal
Supporter

Languages: English (English ) Arabic (العربية )

Timezone: Africa/Cairo (GMT+02:00)

Hi Chung-Hang,

Thanks for replicating the issue. I've checked the mentioned product, and I was able to fix the issue by the following steps:

1- Go to WPML-> Settings-> Custom fields section
2- Click on "Show System Fields"
3- Search for the "_gift_card_amounts" field
4- Set it to "Copy"
5- Click "Save"
6- Edit the product in the default language, and update it
7- Update the translation
8- Clear the cache and check the front end

I've applied these steps to the sandbox site, which seems to fix the issue. Could you please check the product and let me know if it works correctly? (hidden link)

I hope this helps you. If you need further info, please let me know.

Best regards,
Osama