このプラグインは WordPress の最新3回のメジャーリリースに対してテストされていません。もうメンテナンスやサポートがされていないかもしれず、最新バージョンの WordPress で使用した場合は互換性の問題が発生する可能性があります。

Void Woo Cart Restrictor

説明

Void Woo Cart Restrictor lets you restrict a certain type of category products to the only defined user role. It will make the selected category product completely non purchasable other than the chosen user role. It will show a notice saying that user need to login before they can buy the product. User will also be redirected to the product that the user was browsing after successfully logging in.

After installation Void Woo Cart Restrictor will add a submenu ‘Void Woo Cart Restrictor’ Under Settings. It will also add a checkbox field saying ‘Restrict this category?’

Product > Categories > Restrict this category

Note: This plugin is an addon of WooCommerce (https://wordpress.org/plugins/woocommerce/) and will only work with WooCommerce installed.

Workflow:

  1. Activate the plugin.
  2. Browse Product > Categories > Dummy Category > check the Restrict this category box to restrict this product category.
  3. Browse Settings > Void Woo Cart Restrictor > check the roles for which you would like the product of restricted category to show up only. i.e I choose for Customer role

スクリーンショット

  • /assets/screenshot-1.png
  • /assets/screenshot-2.png
  • /assets/screenshot-3.png
  • /assets/screenshot-4.png

インストール

  1. Upload void-woo-cart-restrictor.zip to the ‘plugins/Add New’
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Go to Settings>Void Woo Cart Restrictor to choose the desired user role for product visiblity
  4. Go to Product > Categories > Restrict this category

評価

2019年4月17日 2 replies
Works like a charm. If the following 2 things are added, this plugin will deserve 5 stars, hands down ! 1. When a user is been restricted from buying from a certain category, and is logged in with credentials that are blocked from buying from that specific category, the message says, "you must be logged in to purchase". Well, in reality the user is already signed in. The generic message should be "you must be logged in with the correct credentials to purchase the item". This is just wording, it should take a few seconds to edit the wording. 2. The second suggestion, is probably some simple CSS settings that need to be applied, and can be out of the box, or be added to the settings screen. When an item is restricted from purchase, always the price and the different variations are shown. In many cases, I'm guessing especially with wholesale prices, these would preferably not be publicly shown. In this case, only wholesalers should be able to see the prices, and maybe even the variations. At least the few wholesaler clients that I have, all of them don't want to display their wholesale prices publicly. Thanks, great plugin nevertheless, looking forward to implement my suggestions, and thus me giving this plugin 5 stars, what it actually deserves !
1件のレビューをすべて表示

貢献者と開発者

Void Woo Cart Restrictor はオープンソースソフトウェアです。以下の人々がこのプラグインに貢献しています。

貢献者

“Void Woo Cart Restrictor” をあなたの言語に翻訳しましょう。

開発に興味がありますか ?

コードを閲覧するか、SVN リポジトリをチェックするか、開発ログRSS で購読してみてください。

変更履歴

1.0.0

  • Initial Release