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 topic contains 6 replies, has 2 voices.
Last updated by Radu 4 years, 1 month ago.
Assisted by: Radu.
| Author | Posts | 
|---|---|
| September 22, 2021 at 1:21 pm #9638225 | |
| dominikG-15 | I am combining WPML and Country based restrictions plugin I want to hide certain products from user depending on his country But it doesn't work For example, when user change language he can see product which is hiden | 
| September 22, 2021 at 3:01 pm #9639319 | |
| Radu | Hey Dominik, Thank you for reaching out to the WPML support! Can you give me a few more details about the plugin that you're using for country-based restrictions, please? There's a chance that this plugin is not compatible with WPML but first I would like to see if I can find any info about it after I know what's it called. Also, please attach the debug info to this ticket as presented here: Thanks, | 
| September 28, 2021 at 8:35 am #9674539 | |
| dominikG-15 | I am using Country Based Restrictions for WooCommerce plugin | 
| September 28, 2021 at 8:31 pm #9681291 | |
| Radu | Hey Dominik, Thank you for sending me the name of the plugin that you're using. I had a look at it and I could see that this is not a part of the WPML compatible plugins list (https://wpml.org/plugin/). This means that the plugin was never tested for compatibility with WPML. The Country Based Restrictions for WooCommerce plugin might not be compatible with WPML, in which case you should reach out to the authors and ask them if they want to add support for WPML. ALso, if you want, you can give me access to the dashboard area of your website so I can have a look at the plugin settings and see if there's anything I can change in order to have the translated products be hidden based on the location. I can't promise I will find a solution (because I don't know exactly how Country Based Restrictions for WooCommerce works) but I want to have a look and see if I can find a way to make it work with WPML. Thanks, | 
| September 29, 2021 at 2:37 pm #9687985 | |
| Radu | Hey Dominik, Thank you for giving me access to the dashboard area. I checked one of the products: and I could see that you set it to be visible only in Croatia. I also checked the French translation here: and it has the same setting on the Country Restrictions tab. However, the product is still visible in the front-end, even though I'm not in Croatia. Since this option is set correctly, I think that this is something that the Country Based Restrictions for WooCommerce plugin authors need to check. You can also suggest them apply to the Go Global program - https://wpml.org/documentation/support/go-global-program/. This way, our compatibility team will work together with them and make sure that everything works fine while using the plugin with WPML. Thanks, | 
| September 29, 2021 at 8:03 pm #9689803 | |
| dominikG-15 | Can you suggest some plugin for my needs that is compatible with WPML | 
| September 30, 2021 at 1:35 pm #9696217 | |
| Radu | Hey Dominik, I looked for a plugin having the same functionality and be compatible with WPML, but I'm afraid that I couldn't find anything like this. Regards, |