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.
This thread is resolved. Here is a description of the problem and solution.
Problem: We have products which are regional products with separate SKUs. We used to use GEO IP location software but sorted our HREFLANG setup and now route without Geo IP. (this is important for our Google rankings) BUT - we have an issue.
Our issue is that someone in Canada (or outside their location/region) manages to add an SKU product from another country to their checkout - they then receive an error as they are trying to add a product to a region which is not allowed.
Solution: Go to Dashboard → WooCommerce → WooCommerce Multilingual → Settings tab, and select the Prompt for a confirmation and reset the cart option for Switching languages when there are items in the cart. This way, the users that are switching languages will no longer have the products from the other language in their cart (and won't be able to purchase them either).