[Resolved] Prices not updating of Gift Card product in other languages
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.
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 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.
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?
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.