woocommerce_geolocation_update_database_periodically is deprecated since version 3.9.0! Use woocommerce_maxmind_geolocation_update_database_periodically instead.
]]>Hi,
I know that Product Country Restrictions v0.4.3 informs that it is tested up to WP v4.9.10.
Is there any plans to update the compatibility to include WP v5.1?
The idea of this plugin is great but this breaks sessions at checkout, when a user clicks place order he is told the Item is no longer for sale and item has been removed from the cart with a nasty “session has expired” message.
This drove me mad until I disabled this plugin and that annoyance stopped immediately.
]]>Hallo, wo kann ich den Text ?ndern auf der Shopseite, wenn es nicht m?glich ist in ein Land zu liefern steht dort: NICHT LIEFERBAR NACH
” da steht aber kein Land dabei” wo kann ich das Land dann hinzufügen bzw. den Text prinzipiell ?ndern?
I love the idea of this plugin, it’s a much needed free plugin. Thank you! I’m just not clear on how it works and why there aren’t more Country/State options available to sell or not sell to. I’m in the United States and that is the only option available. I’m not able to select certain states either. My store sells to many countries, but only ships certain items within the United States, everything else is virtual. I need this plugin to restrict the purchase of the physical products to the United States only, so for that purpose it works though I can’t test it unless I change it to not sell to the United States and that does work.
My main concern is that the plugin will allow purchases from countries other than the ones we have listed on the WooCommerce General Tab -> Sell to specific countries.
]]>Hi,
Love you plugin however, I wish there was state restriction within a country as well.
Keep up the good work. Thanks.
Activated, works well above a certain amount. But below a certain amount it’s not working. any ideas?
]]>Hi,
Is there a way to restrict all products to the country defined instead of going product based to define it?
Regards
Criss
From debug.log:
The WC_Customer::get_country function is deprecated since version 3.0. Replace with WC_Customer::get_billing_country.
Caused by:
plugins/product-country-restrictions/product-country-restrictions.php: $customercountry = $this->get_country();
Please replace the deprecated get_country() calls.
Thank you
]]>Hi, great plugin but works for virtual product: https://eps.redtulp.com/epricesurfing/cheques/cheque-amazon-de-100e/
but not for external product
https://eps.redtulp.com/epricesurfing/productos-externos/camiseta-kaft-4/
the problem is that for external products shows the text: Sorry, this product is not available in your country
but doesn’t hide the button…
can you check it please?
]]>it would be very helpful if the plugin would support bulk action, i mean selecting countries for a bunch of products or a whole categorie.
thanks in advance,
chris
]]>Hi There,
Does the plugin still work?
Or what are the exact settings to make it work?
Many Thanks for clarification.
]]>Hi, I was testing some changes to my WP Site and upon checking the PHP Error log, I found multiple occurrences of the following error;
[24-Nov-2017 23:25:32 UTC] id was called incorrectly. Order properties should not be accessed directly. Backtrace: do_action(‘wp_ajax_woocommerce_mark_order_status’), WP_Hook->do_action, WP_Hook->apply_filters, WC_AJAX::mark_order_status, WC_Order->update_status, WC_Order->save, WC_Order->status_transition, do_action(‘woocommerce_order_status_pending_to_processing’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails::send_transactional_email, do_action_ref_array, WP_Hook->do_action, WP_Hook->apply_filters, WC_Email_New_Order->trigger, WC_Email->get_content, WC_Email_New_Order->get_content_html, wc_get_template_html, wc_get_template, include(‘/plugins/woocommerce/templates/emails/admin-new-order.php’), do_action(‘woocommerce_email_order_details’), WP_Hook->do_action, WP_Hook->apply_filters, WC_Emails->order_details, wc_get_template, include(‘/plugins/woocommerce/templates/emails/email-order-details.php’), do_action(‘woocommerce_email_before_order_table’), WP_Hook->do_action, WP_Hook->apply_filters, Woo_Paypal_Plus_Gateway->email_instructions, WC_Abstract_Legacy_Order->__get, wc_doing_it_wrong. This message was added in version 3.0.
Is this something that can be fixed? It doesn’t sound like a big problem. More of a syntax issue. But I leave that up to the developer to decide.
Cheers, Markus
]]>We get this error when adding to cart: https://imgur.com/yazJiqf
Based on the error message, I think it returns is_purchasable() false, please advise
]]>The Geographic Availability feature for Variable Products does not work. Choosing “Selected Countries Only” or “Excluding Selected Countries” has no effect on which products are available to purchase on the Website. The Add to Cart button is fully functional in the country that is excluded. Also, the Geographic Availability field on the Variations page is corrupt and no selection can be made. If I switch the product to a Simple Product then it works fine.
]]>Hello,
is there a way to combine the country restriction query with the user role a customer is in? For example wholesale customers from the USA.
We tried to solve this by using the “plugin organizer” plugin but it’s impossible to deactivate the country restriction plugin like this.
Would be a really usefull feature.
Thanks,
samuraischwert
]]>Hello,
first of all: Thanks, great plugin!
We use Woocommerce native CSV Importer to upload our products. We found the meta field _fz_country_restriction_type for uploading the restriction type but no field where the countries could be specified. Is there a possibility to do this via the csv upload?
Thanks,
samuraischwert
]]>Hi, how can we make this work with affiliate / linked products?
How can we hide this button?
]]>Hi,
Is this plugin compatible with WPML and woocommerce multilingual?
Thanks
]]>Hi,
This plugin in combination with WooCommerce 2.6.8 does not seem to work. The is_purchasable function returns false, but the product can be bought without problem…
Tom
]]>Hi,
Is it possible to not show restricted products in the shop? In my current setup a customer can click on a product to find out “It is not availeble in you country”. That is disapointing for the customer. It would be better to not show the restricted product at all.
]]>Hi,
I was so happy finding your plugin! But, it does not work: I can not select any country on the product page ??
I have restricted the Woocommerce shop to: Netherlands, France, Belgium. Non of these countries appear in the a list on the productpage.
I tried disabling plugins with no result.
Please, can you help?
https://www.ads-software.com/plugins/product-country-restrictions/
]]>I would like to know If I can restrict a state inside US. I don’t sell physical products but online services.
Thanks.
https://www.ads-software.com/plugins/product-country-restrictions/
]]>Hi,
Is there any way to echo the user country after ‘Sorry, this product is not available in your country’? Thank you in advance!
https://www.ads-software.com/plugins/product-country-restrictions/
]]>Great plugin.
Plugin not work very well, but he is great base to construct product shippign restriction on checkout page.
Plugin don’t be popular because not work properly. But he is very helpfull for developers.
Plugin don’t check restrictions after update_checkout if the customer change shipping address, and don’t check it after click submit purchase.
But as I said, he is very helpfull.
https://www.ads-software.com/plugins/product-country-restrictions/
]]>13-Jul-2016 22:58:22 UTC] PHP Warning: in_array() expects parameter 2 to be array, string given in /home/–MYDOMAIN—/public_html/wp-content/plugins/product-country-restrictions/product-country-restrictions.php on line 95
https://www.ads-software.com/plugins/product-country-restrictions/
]]>I work with thousands of products, anyway you could add bulk edit functionality to this to allow a bunch of products to have a specific country set?
https://www.ads-software.com/plugins/product-country-restrictions/
]]>Hi Bizilica, you plugin is great
sorry, but i am a dummy, how can i change the message “sorry, this product cannot be purchased.”that cames when you add the product in the shop page?
thank you
Roberto
https://www.ads-software.com/plugins/product-country-restrictions/
]]>Hi,
First of all let me say i love your plugin, it is pretty straight forward and easy to use.
That being said, i just noticed that on normal products it works great hiding the add to cart button, but on variable products, the button is still there, even though it does not let you click on it.
Any solutions?? thanks!!!
https://www.ads-software.com/plugins/product-country-restrictions/
]]>Hi. This plugin does exactly what I need but I can’t make it work. I’m in Argentina and need to limit some products just for Argentina (but the rest of the products are worldwide available). I’m testing with proxies and Tor Browser. Everything looks like is ignoring the given instruction. Any suggestion how can I check what is going on? Thanks in advanced!
https://www.ads-software.com/plugins/product-country-restrictions/
]]>