這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 WordPress 產生使用上的相容性問題。

Shift8 Woocommerce Postal Blocker

外掛說明

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 :

Features

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

螢幕擷圖

  • Admin area

安裝方式

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

常見問題集

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.

使用者評論

這個外掛目前沒有任何使用者評論。

參與者及開發者

以下人員參與了開源軟體〈Shift8 Woocommerce Postal Blocker〉的開發相關工作。

參與者

變更記錄

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