Plugin này chưa được cập nhật với 3 phiên bản mới nhất của WordPress. Nó có thể không được hỗ trợ và bảo trì, và có thể xung đột với các phiên bản WordPress mới nhất.

Void Woo Cart Restrictor

Mô tả

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

Ảnh màn hình

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

Cài đặt

  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

Đánh giá

17 Tháng 4, 2019 2 trả lời
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 !
Đọc tất cả 1 đánh giá

Người đóng góp & Lập trình viên

“Void Woo Cart Restrictor” là mã nguồn mở. Những người sau đã đóng góp vào plugin này.

Những người đóng góp

Nhật ký thay đổi

1.0.0

  • Initial Release