Este plugin no se ha probado con las últimas 3 versiones mayores de WordPress. Puede que ya no tenga soporte ni lo mantenga nadie, o puede que tenga problemas de compatibilidad cuando se usa con las versiones más recientes de WordPress.

Void Woo Cart Restrictor

Descripción

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

Capturas

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

Instalación

  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

Reseñas

17 de abril de 2019 2 respuestas
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 !
Leer la 1 reseña

Colaboradores y desarrolladores

«Void Woo Cart Restrictor» es un software de código abierto. Las siguientes personas han colaborado con este plugin.

Colaboradores

Traduce «Void Woo Cart Restrictor» a tu idioma.

¿Interesado en el desarrollo?

Revisa el código , echa un vistazo al repositorio SVN o suscríbete al registro de desarrollo por RSS.

Registro de cambios

1.0.0

  • Initial Release