Product Visibility by Country for WooCommerce

Beskrivelse

Product Visibility by Country for WooCommerce plugin lets you show/hide WooCommerce products depending on customer’s country. Customer’s country is detected automatically by IP.

There are options in plugin to hide products by:

  • Hiding catalog visibility – will hide selected products in shop and search results. However product still will be accessible via direct link.
  • Making products non-purchasable – will make selected products non-purchasable (i.e. product can’t be added to the cart).
  • Modifying products query – will hide selected products completely (including direct link).
  • Hiding products prices – will hide prices for selected products (i.e. will make products non-purchasable). Also you can optionally replace price with your own custom message.
  • Outputting customizable «product is not available in your country» message on single product and/or archives pages.
  • Hiding in WooCommerce Blocks – will hide selected products in blocks created with «WooCommerce Blocks» plugin.

Premium Version

Pro version has the options to:

  • Hide product terms (i.e. product categories and tags) by country.
  • Customize redirect URL for hidden products (i.e. set it different from 404 page).

Feedback

  • We are open to your suggestions and feedback. Thank you for using or trying out one of our plugins!
  • Visit plugin site.

Installasjon

  1. Upload the entire plugin folder to the /wp-content/plugins/ directory.
  2. Activate the plugin through the «Plugins» menu in WordPress.
  3. Start by visiting plugin settings at «WooCommerce > Settings > Product Visibility by Country».

Vurderinger

29. desember, 2019
The plugin works as expected. I bought the premium version and couldn't be more pleased with how everything works. The developer is very responsive and helpful. He added a new featured requested in less than one week. I couldn't recommend it enough.
11. februar, 2019
This plugin really helped in my situation. I'm having one small issue with a 404 page but I'm pretty sure it has to do with how I set things up, so I'm checking in with the developer.
Les alle 4 vurderinger

Bidragsytere og utviklere

“Product Visibility by Country for WooCommerce” er programvare med åpen kildekode. Følgende personer har bidratt til denne utvidelsen.

Bidragsytere

Endringslogg

1.4.9 – 2023-07-15

  • FIX: PHP 8.2 notices.

1.4.8 – 2022-06-01

  • UPDATE: bump tested versions.

1.4.7 – 2021-09-01

  • UPDATE: added explanatory text around visible/invisible settings.
  • UPDATE: PHP 8 now officially supported.
  • UPDATE: updated .pot file for translations.

1.4.6 – 2021-04-12

  • UPDATE: bump tested versions

1.4.5 – 2021-01-21

  • FIX: check if post__not_in is empty to avoid possible PHP error (thanks to Ricardo Reina).

1.4.4 – 2020-09-17

  • UPDATE: bump tested versions

1.4.3 – 2020-08-26

  • UPDATE: display our settings in WC status report.
  • UPDATE: updated .pot file for translations.

1.4.2 – 2020-06-13

  • UPDATE: bump tested versions

1.4.1 – 2020-03-23

  • UPDATE: bump tested versions

1.4.0 – 2020-02-22

  • UPDATE: updated .pot file for translations

1.3.3 – 2020-01-30

  • Dev – Puerto Rico added to the countries list.

1.3.2 – 2020-01-24

  • Dev – Experimental geolocate_via_api() function added (can geolocate city, region, zip etc. by IP).
  • Dev – Product Terms – Hide products – Minor code refactoring.
  • WC tested up to: 3.9.

1.3.1 – 2020-01-20

  • Dev – Advanced Options – «Disable URL» option added.
  • Dev – Code refactoring.

1.3.0 – 2019-12-31

  • Dev – Product Terms – «Hide products» option added.
  • Dev – All admin settings input is sanitized now.
  • Dev – Code refactoring.

1.2.1 – 2019-11-25

  • Dev – General Options – ‘Hide visibility in «WooCommerce Blocks»‘ option added.
  • Dev – Advanced Options – Modify query – «Check main query only» (checkbox) option renamed to «Queries» (select) and «Check main and search queries only» value added.
  • Dev – Advanced Options – Modify query – «Use simple redirect» option added.
  • Dev – Plugin’s fields added to WooCommerce export and import products tools.
  • Tested up to: 5.4.

1.2.0 – 2019-11-12

  • Dev – Optimization – product_by_country_pre_get_posts() – Checking for main query now (can be disabled via «Advanced Options > Check main query only»).
  • Dev – Optimization – product_by_country_pre_get_posts() – Checking for product query now (can be disabled via «Advanced Options > Check post type»).
  • Dev – Optimization – get_country_by_ip() – Saving country by IP now.
  • Dev – Optimization – is_product_visible() – Saving products visibility in array now.
  • Dev – Advanced Options – «Debug mode» option added.
  • Dev – Admin Options – Select box type – Standard – «Currently selected» countries list added to the meta boxes.
  • Dev – Admin settings split into sections and restyled.
  • Dev – Code refactoring.
  • WC tested up to: 3.8.

1.1.7 – 2019-07-25

  • Tested up to: 5.2.

1.1.6 – 2019-04-25

  • Dev – Extra safety checks added (for compatibility with «Popup Builder WooCommerce»).
  • Dev – «WC tested up to» updated.

1.1.5 – 2019-04-12

  • Dev – General Options – «Hide price» options added.
  • Dev – Admin settings descriptions updated.

1.1.4 – 2019-04-09

  • Dev – General Options – «Info on single product page» and «Info on archives» options (and [alg_wc_pvbc_translate] shortcode) added.
  • Dev – Admin settings minor restyling.

1.1.3 – 2019-02-10

  • Dev – Modify query – «Redirect URL» option added.

1.1.2 – 2019-02-08

  • Fix – Product Terms – «European Union» option fixed.
  • Dev – Code refactoring.

1.1.1 – 2019-01-04

  • Dev – «Invisible in countries» option moved to the free version.
  • Dev – «Hide product terms» option added to Pro version.

1.1.0 – 2019-11-12

  • Fix – Modify query – Possible pagination issue fixed.
  • Dev – Modify query – «Modify widget query» option added.
  • Dev – Admin Options – «Select box type» option added.
  • Dev – «European Union» added as country selection.
  • Dev – Admin settings restyled.
  • Dev – Code refactoring.
  • Dev – Plugin URI updated.

1.0.0 – 2019-08-30

  • Initial Release.