This thread is resolved. Here is a description of the problem and solution.
Problem:
The client experienced a conflict between the WooCommerce Multilingual plugin and WC Memberships, which broke the checkout process. Specifically, adding products to the cart was failing, showing an 'Empty Cart' message unless certain plugins were disabled.
Solution:
We recommended implementing a custom code fix. Here are the steps:
1. Navigate to WP-admin → Plugins → Plugin File Editor.
2. Open the WooCommerce Multilingual & Multicurrency plugin.
3. Go to the folder: compatibility → WcMemberships.
4. Open the file: class-wcml-wc-memberships.php.
5. Scroll to line 147 which contains: return $result;.
6. Place the cursor on line 146 and add the following code:
// Workaround for Fully Being<br />if (empty($result)) {<br /> return $object_ids;<br />}
7. Click on Save.
This adjustment is a temporary workaround. We also suggested checking the errata documentation for WooCommerce Memberships restrict content conditions at https://wpml.org/errata/woocommerce-memberships-restrict-content-conditions-applies-to-all-pages-across-the-site/ for related issues.
If this solution does not resolve your issue or seems irrelevant due to being outdated or not applicable to your case, please open a new support ticket. 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. For further assistance, visit our support forum at https://wpml.org/forums/.
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.