Title: Shift8 Woocommerce Postal Blocker
Author: shift8
Published: <strong>19 décembre 2017</strong>
Last modified: 17 juillet 2019

---

Recherche d’extensions

![](https://ps.w.org/shift8-woocommerce-postal-blocker/assets/banner-772x250.png?
rev=2124764)

Cette extension **n’a pas été testée avec plus de trois mises à jour majeures de
WordPress**. Elle peut ne plus être maintenue ou supportée et peut avoir des problèmes
de compatibilité lorsqu’elle est utilisée avec des versions de WordPress plus récentes.

![](https://ps.w.org/shift8-woocommerce-postal-blocker/assets/icon-256x256.png?rev
=2124763)

# Shift8 Woocommerce Postal Blocker

 Par [shift8](https://profiles.wordpress.org/shift8/)

[Télécharger](https://downloads.wordpress.org/plugin/shift8-woocommerce-postal-blocker.zip)

 * [Détails](https://fr.wordpress.org/plugins/shift8-woocommerce-postal-blocker/#description)
 * [Avis](https://fr.wordpress.org/plugins/shift8-woocommerce-postal-blocker/#reviews)
 *  [Installation](https://fr.wordpress.org/plugins/shift8-woocommerce-postal-blocker/#installation)
 * [Développement](https://fr.wordpress.org/plugins/shift8-woocommerce-postal-blocker/#developers)

 [Support](https://wordpress.org/support/plugin/shift8-woocommerce-postal-blocker/)

## Description

Plugin that allows you to input a list of postal / zip codes to block from ordering
on your Woocommerce site. You can determine if you want to hide a payment gateway(
i.e. credit card) or an outright block. You can now select multiple payment gateways
to « remove » if the zip or postal code matches during the checkout process. An 
encrypted browser cookie is set that expires on a defined date, set by you in the
admin settings. This means that you can « Ban » specific payment gateways for any
number of days if the end-user’s postal or zip code matches.

### Want to see the plugin in action?

You can view three example sites where this plugin is live :

 * Example Site 1 : [WordPress Hosting](https://www.stackstar.com)
 * Example Site 2 : [Web Design in Toronto](https://www.shift8web.ca)

### Features

 * Settings area to allow you to define the postal codes in a text box. Postal /
   zip codes should be one per line.

## Captures d’écrans

[⌊Admin area⌉⌊Admin area⌉[

Admin area

## Installation

This section describes how to install the plugin and get it working.

e.g.

 1. Upload the plugin files to the `/wp-content/plugins/shif8-wooblock` directory, 
    or install the plugin through the WordPress plugins screen directly.
 2. Activate the plugin through the ‘Plugins’ screen in WordPress
 3. Navigate to the plugin settings page and define your settings

## FAQ

  I tested it on myself and its not working for me!

You should add a postal code (dont worry about spaces like L0L 0L0 versus L0L0L0,
or case sensitivity). Then in a new browser (not logged in as admin) try to checkout
with a blocked postal code.

## Avis

Il n’y a aucun avis pour cette extension.

## Contributeurs/contributrices & développeurs/développeuses

« Shift8 Woocommerce Postal Blocker » est un logiciel libre. Les personnes suivantes
ont contribué à cette extension.

Contributeurs

 *   [ shift8 ](https://profiles.wordpress.org/shift8/)

[Traduisez « Shift8 Woocommerce Postal Blocker » dans votre langue.](https://translate.wordpress.org/projects/wp-plugins/shift8-woocommerce-postal-blocker)

### Le développement vous intéresse ?

[Parcourir le code](https://plugins.trac.wordpress.org/browser/shift8-woocommerce-postal-blocker/),
consulter le [SVN dépôt](https://plugins.svn.wordpress.org/shift8-woocommerce-postal-blocker/),
ou s’inscrire au [journal de développement](https://plugins.trac.wordpress.org/log/shift8-woocommerce-postal-blocker/)
par [RSS](https://plugins.trac.wordpress.org/log/shift8-woocommerce-postal-blocker/?limit=100&mode=stop_on_copy&format=rss).

## Journal des modifications

#### 1.00

 * Stable version created

#### 1.01

 * Fixed bug in pattern matching portion of postal code array

#### 1.02

 * Added ability to set number of days for the cookie to ban payment gatways. Default
   is 30 if none is entered.
 * Added ability to select multiple payment gateways to remove if a postal or zip
   code matches the list

#### 1.03

 * Loading admin js file correctly now

#### 1.04

 * WordPress 5 compatibility

## Méta

 *  Version **1.04**
 *  Dernière mise à jour **il y a 7 ans**
 *  Installations actives **10+**
 *  Version de WordPress ** 3.0.1 ou plus **
 *  Testé jusqu’à **5.2.29**
 *  Langue
 * [English (US)](https://wordpress.org/plugins/shift8-woocommerce-postal-blocker/)
 * Étiquettes
 * [blacklist](https://fr.wordpress.org/plugins/tags/blacklist/)[block](https://fr.wordpress.org/plugins/tags/block/)
   [postal](https://fr.wordpress.org/plugins/tags/postal/)[woocommerce](https://fr.wordpress.org/plugins/tags/woocommerce/)
 *  [Vue avancée](https://fr.wordpress.org/plugins/shift8-woocommerce-postal-blocker/advanced/)

## Évaluations

Aucun avis n’a encore été envoyé.

[Votre avis](https://wordpress.org/support/plugin/shift8-woocommerce-postal-blocker/reviews/#new-post)

[Tout voir](https://wordpress.org/support/plugin/shift8-woocommerce-postal-blocker/reviews/)

## Contributeurs

 *   [ shift8 ](https://profiles.wordpress.org/shift8/)

## Support

Quelque chose à dire ? Besoin d’aide ?

 [Voir le forum de support](https://wordpress.org/support/plugin/shift8-woocommerce-postal-blocker/)

## Faire un don

Souhaitez-vous soutenir l’avancement de cette extension ?

 [ Faire un don à cette extension ](https://www.shift8web.ca)