Background of the issue:
Hi, we've encountered a bug that makes it impossible for our customers to purchase in the two languages added to our site. All of our products have variations (price and color) that normally appear on the product page. We use the NBDesigner plugin to personalize the product. Once the customization is complete, when we add the product to the shopping cart, the error message: “The selected product isn't a variation of (the product)” appears. The product has not been added to the shopping cart. The problem seems to have appeared after a site admin clicked on the “synchronize attributes and update product variations” button on the WPML Woocommerce Multilingual > Attributes page. Unfortunately, we saw the bug too late to use a recent backup. If NBDesigner plugin is deactivated, adding to cart works. So indeed, the bug seems to be linked to this plugin, which is necessary for our site and which worked well with WPML before this manipulation. Link to a page where the issue can be seen: hidden link
Symptoms:
The selected product isn't a variation of (the product). The product has not been added to the shopping cart.
Questions:
How can we resolve the issue where the error message 'The selected product isn't a variation of (the product)' appears when adding a customized product to the cart?
Is there a way to fix the synchronization issue caused by clicking the 'synchronize attributes and update product variations' button on the WPML Woocommerce Multilingual > Attributes page?
Can we make the NBDesigner plugin work again with WPML without encountering this error?
Thanks for contacting WPML forums support. I'll be glad to help you today.
Please log in to this hidden link">sandbox site and install your plugin. After that, please create a test product and translate it to replicate the issue.
If the issue is reproducible, please let me know how to reproduce it so I can consult our second-tier support team.
I used the sandbox site and installed the NBDesigner plugin to test. The problem has not occurred in this environment.
I think something “skipped” on our online site during a synchronization, is this possible? (by clicking the 'synchronize attributes and update product variations' button on the WPML Woocommerce Multilingual > Attributes page... because my client told me she'd done this just before the bug appeared. It's our only clue for now ^^)
Thanks for your reply. Could you please check if the issue persists in a minimal environment by following these steps?
1- Deactivate all the plugins except those active ones on the sandbox site.
2- Switch to a WordPress default theme like Twenty Twenty-one.
3- Create a new test product and translate it
4- Check the issue
If the issue is gone, activate them one by one to see which one is causing an interaction issue.
❌ Please backup your database before performing the above test ❌
Unfortunately, the issue persists even with only the basic plugins active.
Is there anything else we can do?
We're thinking of maybe changing the product customization plugin for another one that would be really compatible with WPML...
So I thought I would ask: do you know of such a plugin (complete product customization, allowing the customer to add images and text wherever he wants) that is validated by WPML?