Plugin / WooCommerce Country Catalogs – Product Country Restrictions

WP Super Admins

Changelog

Changelog

1.7.0

  • NEW – Added option to restrict by state
  • FIX – Country selector – Sometimes when floating-flags mode is active, the mobile version doesn’t have dropdowns
  • FIX – Country selector – Sometimes when the page loads, the country selector links to the home
  • FIX – Modify the is_purchasable product property only when the product is restricted to avoid overriding changes from other plugins
  • FIX – Country selector – When we select a country and the page loads, woocommerce overwrites it with the previous country using the dropdown from the session storage

1.6.2

  • FIX – When the cart or order is updated, the country selector is updated with links having the wrong URL

1.6.1

  • NEW – Added automatic support for WPML
  • CHANGE – Improve the cache support so proxies don’t cache the ajax call
  • CHANGE – When the cart or order is updated, updated the country selector in case the current country changed
  • FIX – The general price shown in variable products is cached, so when user switches country it’s not reflecting the real price.
  • FIX – The restriction is not executed when the order is updated on rare scenarios when using the option “Sync the country selector with the shipping country?”.

1.6.0

  • NEW – Added compatibility with WPRocket
  • NEW – Added option to disable the removal of restricted products in the checkout page
  • NEW – Country selector – Use the country from the IP as default country if the option is empty
  • NEW – Added feature to restrict coupons by country, continent, or region
  • NEW – Added option to enable restrictions on REST API endpoints
  • NEW – Added limited compatibility with all cache systems (apply restrictions via ajax on product pages).
  • CHANGE – Don’t apply restrictions on REST API endpoints by default
  • FIX – Allow to unset the “Country selector: Default country” option.

1.5.2

  • FIX – Sometimes WC initializes and the helpers haven’t loaded causing a fatal error
  • FIX – Added 9 missing flags for the country selector

1.5.1

  • CHANGE – Don’t apply the restrictions to REST API requests
  • FIX – When we save products with empty restrictions, sometimes it saves it as an array with empty string making it think it is restricted
  • FIX – Improved the method for reading CSVs, the old caused php warnings when allow_furl_open was disabled

1.5.0

  • NEW – Added shortcode [wccr_country countries=”US,ES” disallowed=”0″]text[/wccr_country] to allow to display custom description and short description per country (premium)
  • NEW – Added option to not apply country restrictions to selected user roles (premium)
  • NEW – Allow to select entire continents in the backend options as a shortcut
  • NEW – Allow to select entire regions in the backend options as a shortcut
  • NEW – Allow to select entire sub regions in the backend options as a shortcut
  • NEW – Added option to link the country selector with the shipping country (premium)
  • NEW – Added option to change the “product not allowed for your country” message (premium)
  • FIX – The “add to cart” was appearing when we viewed a variable product from a restricted country (premium)
  • FIX – Allow to remove the fallback geolocation method, dont force IP as default. (premium)
  • FIX – Some UN countries were missing from the list

1.4.0 – 2019-05-01

  • NEW – If we allow to view restricted products, show a notice on the product page saying “the product is not allowed for your country”
  • NEW – Added support for all variation types added by other plugins (i.e. subscription_variations) (premium)
  • NEW – Added option to use a fallback geolocation method in case the primary geolocation can’t find the user country (premium)
  • NEW – Added option to select if the products are shown or hidden when the user country is unknown (premium)
  • NEW – If the geolocation method is shipping/billing country, use the country from the logged in user’s profile (premium)
  • NEW – Added option to save multiple rules for hiding/showing variations globally (premium)
  • NEW – Added shortcode [vcwccr_country_selector] to display the country selector anywhere (premium)
  • CHANGE – Clear the country cookie when we change global settings to avoid geolocation errors when testing new settings and using old cookies (premium)
  • CHANGE – Country selector – Use the shipping countries from WooCommerce settings for the list as default (premium)
  • CHANGE – Country selector – If we couldn’t find a menu from the settings or automatically, show it as a floating dropdown at the top right corner (premium)
  • CHANGE – Country selector – Added compatibility with the uber menu plugin (premium)
  • FIX – Country selector – some countries don’t have flags (premium)
  • FIX – Country selector – initialize a second time to make it work with “late menus” (premium)
  • FIX – Product variations metabox – We can’t remove the selected country, it always comes back (premium)
  • FIX – Product variations restriction – Sometimes variations were disabled when the country field was empty (premium)

1.3.0 – 2019-03-16

  • NEW – Allow to regenerate country cookie by appending ?wcacr_reset=1 to any url
  • NEW – Settings – Allow to select a page to display when a product is restricted so we can display custom messages
  • FIX – Geolocation issue on sites hosted by hostgator
  • FIX – Make products shortcode cache unique for each country

1.2.4 – 2019-03-04

  • FIX – The country selector JS initializes too late preventing it from using the theme js logic.
  • FIX – PHP warning

1.2.3 – 2019-03-01

  • FIX – Bug on the restriction logic during checkout

1.2.2 – 2019-02-28

  • CHANGE – Added option to select menus for the country selector

1.2.1 – 2019-02-26

  • CHANGE – Added a link to global settings on the product metabox to improve UI
  • CHANGE – Updated freemius SDK to v2.2.4
  • CHANGE – Clear WooCommerce’s cache when a post’s country restrictions are updated
  • FIX – Country restrictions per category – It doesn’t update all the products
  • FIX – Products weren’t excluded on the frontend if the products list used post__in
  • FIX – Sometimes the country selector doesn’t look like a dropdown when themes use a different html structure for dropdown menus
  • FIX – Country restrictions per category – When a product is created/updated, apply the country restrictions from the assigned category
  • FIX – Country restrictions per category – When we remove a category from a product, if the category had restrictions, remove the restrictions from the product

1.2.0 – 2019-02-17

  • NEW – Added geolocation option: Use the shipping country (premium)
  • NEW – Added geolocation option: Use the billing country (premium)
  • NEW – Added geolocation option: Display a country selector in the header so the user can switch between country catalogs (premium)
  • NEW – Added restriction option: Allow to show products and disable “add to cart” (premium)
  • NEW – Added restriction option: Allow to show products and disable “add to cart” and hide prices (premium)
  • CHANGE – Category – Separate section with

, it doesn’t standout between custom fields added by other plugins (premium)
* FIX – Categories – Allow to save country field empty and reset product meta (depending on the “apply to” field)
* FIX – Products – Allow to clear the country field to reset restrictions

1.1.2 – 2019-02-12

  • CHANGE – Replace our geolocation library with WC’s built-in geolocation class
  • CHANGE – Add country as body class, so we can hide elements by country with css
  • CHANGE – Add non-persistent cache for the disallowed products list to improve performance
  • FIX – Exclude common bots from geolocation by user agent.
  • FIX – Improve the product filtering logic. Sometimes hidden products appeared on some themes’ lists

1.1.1 – 2018-12-29

  • FIX – when product metabox is saved initially, the country restriction doesnt work
  • CHANGE – Improved instructions on welcome page and global settings

1.1.0 – 2018-09-19

  • Added option to restrict individual product categories by country
  • Added option to bulk edit products by category

1.0.1 – 2018-09-19

  • Save countries as string separated by commas instead of serialized array

1.0.0 – 2018-09-09

  • Initial release

Ratings

4.9
8 reviews

Rating breakdown

Details Information

Version

1.7.0

First Released

31 Jan, 2014

Total Downloads

3,832

Wordpress Version

3.6 or higher

Tested up to:

5.3

Require PHP Version:

-

Tags

Contributors

Languages

The plugin hasn't been transalated in any language other than English.

DIRECTORY DISCLAIMER

The information provided in this THEME/PLUGIN DIRECTORY is made available for information purposes only, and intended to serve as a resource to enable visitors to select a relevant theme or plugin. wpSocket gives no warranty of any kind, express or implied with regard to the information, including without limitation any warranty that the particular theme or plugin that you select is qualified on your situation.

The information in the individual theme or plugin displayed in the Directory is provided by the owners and contributors themselves. wpSocket gives no warranty as to the accuracy of the information and will not be liable to you for any loss or damage suffered by you as a consequence of your reliance on the information.

Links to respective sites are offered to assist in accessing additional information. The links may be outdated or broken. Connect to outside sites at your own risk. The Theme/Plugin Directory does not endorse the content or accuracy of any listing or external website.

While information is made available, no guarantee is given that the details provided are correct, complete or up-to-date.

wpSocket is not related to the theme or plugin, and also not responsible and expressly disclaims all liability for, damages of any kind, arising out of the use, reference to, or reliance on, any information or business listed throughout our site.

Keep Leading Your Followers!
Share it for them.