Skip to content Skip to sidebar

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

Problem:
You are using DIVI, WooCommerce, WPML, and Add Ons Ultimate on your site. You need to edit 'post type settings' in WPML settings due to a message indicating that synchronization preferences for custom posts like Product Add-Ons, Groups, and Fields have not been set. These fields are associated with Add Ons Ultimate and are marked as 'not translatable'. Whenever you make changes in the WPML settings or even just press the 'save' button without making changes, all products disappear from the front end in all languages.

Solution:
We logged into your site and found that the post type add ons were set as not translatable. The group title, description, etc fields were also set as not translatable. These all need to be set as translatable or copy once. We also located the documentation here. Have you followed these steps: https://pluginrepublic.com/documentation/edit-global-groups-as-post-types/? Their documentation seems to indicate that manual translation is the correct way to translate the add on fields. We tested that on the staging site and can confirm that if you translate the product add ons manually, they show up on the frontend.
We tried using the WPML custom configuration to force the add on fields to show in the translation editor, but it didn't work. We would ask the Product Add On plugin author to provide the correct wpml-config.xml file so that we can copy and paste that into WPML -> Settings -> Custom XML Configuration. If they can't do that, let us know and we can see if we can figure out a way to get the fields into the translation editor.

Please note that this solution might be irrelevant, either because it’s outdated or not your case. We highly recommend checking related known issues at https://wpml.org/known-issues/, verifying the version of the permanent fix, and confirming that you have installed the latest versions of themes and plugins. If the issue persists, please open a new support ticket at https://wpml.org/forums/forum/english-support/.

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 0 reply, has 0 voices.

Last updated by timoT-13 1 year, 1 month ago.

Assisted by: Lauren.

Author Posts
March 4, 2025 at 8:40 pm

timoT-13

Background of the issue:
I am using DIVI, WooCommerce, WPML, and Add Ons Ultimate on my site hidden link. I need to edit 'post type settings' in WPML settings. There is a message indicating that synchronization preferences for custom posts like Product Add-Ons, Groups, and Fields have not been set. These fields are associated with Add Ons Ultimate and are marked as 'not translatable'.

Symptoms:
Whenever I make changes in the WPML settings or even just press the 'save' button without making changes, all products disappear from the front end in all languages.

Questions:
Why do products disappear from the front end when I save changes in WPML settings?
How can I correctly set synchronization preferences for custom posts in WPML?
What could be causing the issue with products disappearing in all languages?

March 5, 2025 at 4:09 pm #16779787

Lauren

Please let me know what other issues are happening with the product add ons so that I can further troubleshoot as needed. Thanks!

March 5, 2025 at 6:44 pm #16780358

timoT-13

Hi Lauren,

Made update to staging from live site as it is at the moment. It of coarse rewrited all Your settings from yesterday. Since we copied the information on the go then its not probably a problem, i think.

In the morning had some time and made some additional translations, syncronizations, cleared caches etc. Made some additional changes to wpml settings etc.
NOW...If i make new product then add-ons works fine. Well its kind of slow loading but it works. Add-ons are visible on all languages. Created product "aaa-test". On front end it is located in pool robots category.

Problem is about 300 products that have been created earlier. With add-ons ultimate additions. These Add ons are visible only in Estonian language. Is there a possibility to syncronize, update, move add-ons as bulk etc. to make earlier created add-ons to work? Tried to update products and translations but that is not working. It kind of wants that product is created in new working conditions/settings that it likes. Then it has add-ons translations available when creating product translations.

Tried to contact Add-Ons Ultimate support also. They have bit different approach and by e-mail we didnt get too far today. Gave them also access to staging site, but their working hours did not mach with me. They tried to make new product in wrong place "in english". Explained them also all i know at the moment. Probably they will contact me tomorrow again.

Long story short. Is it possible, to somehow update, add translations to existing products? If i have to make ~300 products again from scratch, that would be really ..... dont have right word for that.

Today i cant be on computer for half night. Probably after 2 hours i have to finish. Since that i can react quickly. Its 8.36pm at the moment. Or we could wait after Add-ons support makes their magic tomorrow daytime and then come back to that issue.? Tomorrow i have more time to play with site.

Will be waiting for reply.

Made new user for You to get to the staging site.

Best,
Timo

March 5, 2025 at 7:39 pm #16780446

Lauren

If the add ons are saved as taxonomies, it may work to run the sync at WPML -> Support -> Troubleshooting in the clean up steps. There are also some ways to sync product information at WooCommerce Multiingual -> Status -> Troubleshooting. I would be happy to try this on the staging site but when I try to access it I get that message again "Login not possible! Only administrators can access this page." Please feel free to send updated credentials in the next reply using the private fields. I'll be happy to run these tests for you there.

If add ons are custom fields, we can also check WPML -> Settings to make sure the fields are set as translatable. I look forward to your update.

March 5, 2025 at 7:45 pm #16780456

timoT-13

Hi
Today this chat is different. I dont have a place to add credentials. There are only two buttons in the end "my issue is resolved" and "i still need assistance". When i push that i still need assistance, then i can write to reply window and send by pushing "submit" button.

March 5, 2025 at 7:58 pm #16780472

timoT-13

ok
i found yesterday password. I will make new user with same pass. Few minutes.

March 5, 2025 at 8:00 pm #16780475

timoT-13

staging login should now work with yesterdays credentials

March 6, 2025 at 3:37 pm #16784462

Lauren

When I try to access the staging site, I get The webpage at hidden link might be temporarily down or it may have moved permanently to a new web address.
ERR_HTTP2_PROTOCOL_ERROR

I have marked the next reply as private. When you click "I still need assistance" and enter your reply, you should see private fields where you can share credentials if different than the ones you originally sent.

March 6, 2025 at 6:27 pm #16785058

timoT-13

Now tried and everything is actually same as yesterday. They created me one product and translated it in wordpress editor. Not quite what i expected.
If i try to create product then translation is only available for product name and body text. Add-ons arent on wpml translation managment since they disabled field translations on wpml also.

I still have a problem. Is there some way to get this add-on working or not.

March 6, 2025 at 8:56 pm #16785386

Lauren

I logged into the site and found that the post type add ons were set as not translatable. The group title, description, etc fields were also set as not translatable. These all need to be set as translatable or copy once.

I also located the documentation here. Have you followed these steps:
hidden link? Their documentation seems to indicate that manual translation is the correct way to translate the add on fields. I tested that on the staging site and can confirm that if you translate the product add ons manually, they show up on the frontend.

I tried using the WPML custom configuration to force the add on fields to show in the translation editor, but it didn't work. I would ask the Product Add On plugin author to provide the correct wpml-config.xml file so that we can copy and paste that into WPML -> Settings -> Custom XML Configuration. If they can't do that, let me know and I can see if we can figure out a way to get the fields into the translation editor.

March 7, 2025 at 6:16 pm #16789617

timoT-13

Hi,

Took some time to test it myself. Did not want to bother You with little stuff.

Existing products with add-ons:
At the moment have come so far that i found a way by exporting-importing add-on groups throug add-on global. I can export to global, and from there import to different language. I can translate these in wordpress editor. This will save lots of time for me. I dont have to create everything from scratch. I have this config.xml info from add-ons ultimate support, but i think maybe we let these existing products be. I will export-import and since there is only fraction of fields to translate manually (most of it is product codes and pictures), then its not problem any-more. If You really-really want to test, then i can forward this xml info : )

New products:
Came so far with settings, that when i create new product then there are also all options to translate in wpml dashboard. Grups, fields etc.
Now i cant get further. Im stuck in one place. I could make translations in wordpress editor. It works, but it seems that there is only minor issue since i can already translate everything in wpml. It just does not show these translated groups and fields on front end. If possible, then maybe You could take a look at wpml field settings. I adjusted settings with my logic but since im not with IT education and my native language is not english then i might not understand all these setting names/meanings.

Made update on staging site like it is on live site at this moment. Made user with same credentials.

March 7, 2025 at 6:35 pm #16789701

timoT-13

One more thing with new products. I can create add-ons, i can translate these in wpml but on front end there are only groups and fields showing in Estonian language. On all other languages also showing estonian. But at least this way i can only make minor translations if needed.
I could almost manage with this setup but there are two fields that most likely copy themselfes. Add-ons group, group heading and group description. When i make translation in wordpress editor, then these two fields overwrite group headings and group descriptions in estonian and in finnish. When i look at wpml settings, then i cant see this kind of setting.
One solution would just not to use these fields....
Translations in field headings, field options, field descriptions work fine.

March 7, 2025 at 9:38 pm #16790098

Lauren

Can you confirm that Group Heading, Group Description, etc fields are set as Translatable in WPML -> Settings -> Custom fields, or in the custom XML configuration that they provided?

Please confirm the following:
1. If you edit the add on content using the native WordPress editor, the fields display on the frontend.
2. If you edit the add on content using the WPML translation editor, the fields do not display the translations on the frontend.
3. If you search in String Translation, do you see any of these field values there?
4. How are these addd ons being displayed on the frontend in the original language - is it a widget, a template, etc?

let me know these answers and I'll be glad to further troubleshoot.

March 10, 2025 at 6:01 pm #16797920
timoT-13

Hi Lauren,

Sorry for delay. Needed some time to figure out solutions for same minor issues. Handled these add-ons problems. I wont just use these group options. Field heading gave visually same effect. I will translate add-on option fields manually. No problem in add-ons. We will manage.

Everything else is almost done and working but bumped into little issue in woocommerce cart. There we have shipping options (parcel, courier, courier with pallet). In building (Estonian) language it works all fine. If courier shipping class product is added to cart then courier is added to shipping method also. Same with parcel machines. Problem is that in other languages if there is for example courier class product in cart, then it offers cheaper parcel option also. Tried in woocommerce multilingual to change these settings, but it seems that it takes information from somewhere else. Could not find assotiated strings. Cant understand if there is some setting problem. Made link sync. Cleared catches and pushed all buttons in trouleshooting page.
Made update of live site to staging as it is at the moment.
For better understanding could You please go to webshop, add for example some filter sant to cart and take a look on shipping options. Change language and take a look on it in Estonian where it is how it should be working. To test with different shipping class products then for example pool ladders are with courier class, and little things like products in pool accessories are parcel machine products.

New threads created by Lauren and linked to this one are listed below:

https://wpml.org/forums/topic/split-woocommerce-shipping-method/

March 11, 2025 at 3:03 pm #16802485

Lauren

I have split the issue with WooCommerce into a new ticket since it is not a related issue. If you are happy with the solution for the Add Ons, you can go ahead and mark this ticket as resolved, and I will continue troubleshooting the shipping method issue on the other ticket. Thanks!