• Resolved wordwoouser

    (@wordwoouser)


    Here’s a video that demonstrates all this configuration and behavior:
    https://drive.google.com/file/d/1m4ABDqVgL_WmefSfjr9oPrL1tfy6OJB_/view?usp=sharing

    Using the free version.

    WooCommerce -> Settings -> Default customer location is set to “Geocode”. The sell to countries are USA and Canada for now.

    I have configured a MaxMind API Key for geocoding.

    WooCommerce – Country Restrictions configured with “Catalog Visible (non purchasable)” selected and a slightly customized “Product restriction message”.

    All but a handful of our products are setup as “Product available for selected countries” and the United States is the only country added. A few also have Canada Added.

    The video shows this “US only” setup for a product called the Flat-Jack.

    When I browse in a Chrome Incognito window to the store and look at the Flat-Jack detail page there is no “Product restriction message” indicating that I can’t purchase this product outside the USA.

    When I add the product to my cart and specify a British Columbia, Canada shipping location the product remains in my cart despite being a “USA only” product in the settings.

    When I proceed to the checkout, same.

    However, if I leave the cart/checkout and visit the the product page again, I get a message that the product has been removed from my cart because I can no longer purchase it but it does not indicate a country restriction or use the “Product restriction message” which would be awfully confusing to users.

    Also, if I use a VPN to replicate being outside the USA, I do not see the “Product restriction message” on product detail pages configured to be sold only in the USA.

    What can be done to get this to work properly:
    1) indicate that the product is not available (use the “Product restriction message”) when loading a product detail page for a product configured to be USA only.
    2) remove the product with a relevant message when someone chooses a country as their shipping address in the cart or checkout page that is not allowed on the product.

    Thanks!

Viewing 7 replies - 1 through 7 (of 7 total)
  • Plugin Author Zorem

    (@zorem)

    Hi, I noticed that you already gave a 2 stars review for the plugin.
    it always funny to see users that think that first giving a bad review and then expecting to get our help.
    Good luck!

    • This reply was modified 3 years, 11 months ago by Zorem.

    He is right your plugin does not work, I installed and configured it correctly. Go back to programming school.

    Thread Starter wordwoouser

    (@wordwoouser)

    Yes, I gave a two star review immediately after posting this. Also worth noting, this is a duplicate of the following earlier support request from over a week ago that was ignored:
    https://www.ads-software.com/support/topic/strange-behavior-23/

    I’m glad you’re amused by the two star review. I rated it with two stars instead of one because it’s a great concept with a good UI/UX. It just doesn’t work quite right. However, I believe it has a ton of potential and would solve a real problem for WooCommerce merchants if development continued.

    Your message makes it sound like you don’t intend support users who rate the plugin below some “star” threshold which is a shame. We have found an alternative that is working well but I wish you good luck as well.

    Thanks

    • This reply was modified 3 years, 11 months ago by wordwoouser.

    Hi Zorem,

    I have a similar problem.

    Using the free version.

    WooCommerce -> Settings -> Default customer location is set to “Geocode”. The sell to countries are USA and Canada for now.

    I have configured a MaxMind API Key for geocoding.

    WooCommerce – Country Restrictions configured with “Catalog Visible (non purchasable)” selected and a slightly customized “Product restriction message”.`

    I have several products that are set up to only be sold in the US but when I visit this Product details pages from the US I get the product restriction message.

    Any help would be greatly appreciated.

    Plugin Author Zorem

    (@zorem)

    Hi, it might be that you check it as admin and it uses the country from your account.
    Try to check the option to force geolocation in the plugin settings and enable the debug mode so you can change the country from the WordPress admin bar.

    Please make it so that if admin or store manager role is logged in, the restrictions are NOT applied. It would make the testing and maintaining the store much easier. It’s only one line of code.

    Plugin Author Zorem

    (@zorem)

    Ok, thanks for the suggestion, you can add it to the CBR suggestions board – https://zorem.canny.io/country-based-restrictions

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Plugin Does Not Work’ is closed to new replies.