Skip to content Skip to sidebar

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.

Sun Mon Tue Wed Thu Fri Sat
- 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 9:00 – 12:00 -
- 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 13:00 – 18:00 -

Supporter timezone: Asia/Singapore (GMT+08:00)

This topic contains 6 replies, has 0 voices.

Last updated by Kor 3 days, 15 hours ago.

Assisted by: Kor.

Author Posts
December 4, 2025 at 8:56 am #17633034

jan-erikS

We have a setup where we use all products for subscriptions to create subscriptions for product bundles.

We sell a subscription usually consisting of two items; insurance and services. These work fine, but we also sell a subscription without insurance, for which we use a product bundle with only our service charge included for consistency. In this case, two subscriptions are created when a customer purchases this product; one for an empty product bundle, and one for the service product. It should be noted that the subscription to the service product is always monthly, while the product bundle subscription has the chosen duration.

We have tried to disable all plugins and themes, and have come to the conclusion with the help from WooCommerce support that this issue only happens when WPML is enabled. I know that this is likely a very niche issue, but I figured it should be reported in any case. We have a workaround that we are testing, which is to replace the variable product for the service with three simple products, and it seems to work for some reason.

See the attached screenshot for how this appears as a test transaction on staging.

December 4, 2025 at 9:12 am #17633139

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. Here is the ticket and please let me know how it goes.

December 4, 2025 at 9:50 am #17633260

jan-erikS

I have now provided you with login infomation that can be found at hidden link. To log in, go to staging.bikefinder.com (adding anything else in the URL has a tendency to break the login for some reason).

I did a bit more testing, and have figured out that the problem isn't necessarily due to the WPML plugins being active, but rather it works in the default language (Norwegian), but not in any of the other languages. It should be noted that none of the problems are translated at the moment, as we encountered a lot of issues, and it became quite cumbersome to manage all the products in all the languages.

Here is the screencast of purchasing the product on the Norwegian page (the subscription picker is a bit different, but it is the same product): hidden link

Here is the screencast of purchasing the same product on the UK page: hidden link

For reference, the product can be found at hidden link, and the variable product used in the bundle can be found at hidden link.

December 4, 2025 at 3:42 pm #17635208

jan-erikS

Correction:

After some more testing, it appears that my original theory was correct; that the WPML plugin being active causes the issue. The problem was that I had linked the wrong product to the button (monthly instead of 24 month), which creates one subscription as expected, since the bundled product always ends up with a monthly renewal.

This video shows it working when WPML is not active hidden link.

Compare the subscriptions between one that worked and one that didn't for the default language:
Worked as expected (no WPML plugins active): hidden link
Did not work as expected (WPML plugins active): hidden link + hidden link

December 5, 2025 at 11:52 am #17638114

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. This seems to be a compatibility issue, and your setup is quite complex. I’ve prepared a sandbox site for you here hidden link with WPML and WC installed, so could you please install the required plugins and theme there and replicate the issue? Once done, I can check it and escalate it accordingly.

December 5, 2025 at 3:19 pm #17639157

jan-erikS

Thanks for getting back to me so soon! I have now installed the essential plugins and created the products the same way we have on our website.

However, I should note that I'm having issues replicating the issue. I have gotten it to the point where the English page allows you to purchase the bundles as expected, but I'm getting a generic critical error on the German page when I try to make a purchase (see screenshot).

Is there a way for me to see the error on a sandbox site like this? It is difficult to know exactly what went wrong without some debug logs.

I don't have time to troubleshoot more today, so I figured I would update you on the state of the sandbox so far.

Screenshot 2025-12-05 161500.png
December 5, 2025 at 4:31 pm #17639350

Kor
WPML Supporter since 08/2022

Languages: English (English )

Timezone: Asia/Singapore (GMT+08:00)

Thanks for your reply. I've activated the file manager plugin, and this will allow you to access the folders to check for the debug logs. I've also enabled the debugging mode on the site.

Feel free to continue.