This plugin hasn’t been updated in over 2 years. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WooCommerce Frontend Inventory

Description

What is WooCommerce Frontend Inventory for?

Do you want to provide some users with an inventory of your WooCommerce installation without giving them access to the WooCommerce configuration area in the Dashboard?

Place the shortcode, with the needed parameters where you want the inventory to appear. Syntax is:
[woofi orderby={title|sku|stock} sort={ASC|DESC} user_id={}]

For example:

[woofi] will print the inventory, with the items ordered by title.
[woofi orderby=sku] will print the inventory ordered by SKU.
[woofi orderby=sku sort=DESC] will print the inventory sorted by SKU in reverse order.
[woofi user_id=27] will print the inventory including only products created by the user with id 27.

This latest feature is also exclusive:
[woofi user_id=-33] will print the inventory of all the products but the ones created by the user with id 33.

Be aware that every registered user will be able to view the inventory, regardless for the role, while unregistered users will get an error message, that you can customise in the dashboard.

Also note that the current version will not print any product marked in stock but with UNDEFINED quantity. A future version will consider this case.

Special thanks to Mike Jolley who provided the initial script.

Screenshots

  • The inventory on a frontpage.
  • Custom error message in settings.

Installation

  1. Upload the plugin’s folder to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place the shortcode in any page to show the inventory.

FAQ

Many products are not listed, why?

Please check that you are managing a stock for them and you defined a quantity.

Contributors & Developers

“WooCommerce Frontend Inventory” is open source software. The following people have contributed to this plugin.

Contributors

Changelog

v0.7

  • Added a new parameter to filter by user ID

v0.6.1

  • Cleaning of the code to ensure best support for WordPress 4.
  • Added localization support.
  • Added Italian localization.
  • Added Spanish localization.

v0.6

  • The shortcode now support parameters to sort items.

v0.5

  • Settings moved inside WooCommerce Settings > Catalog.
  • Code optimization.

v0.4.2

  • Added links to support and official webpage.

v0.4.1

  • Minor bugfixes

v0.4

  • The plugin is now organized in a structured folder.
  • New settings area.
  • Customizable error message with HTML support.

v0.3

  • Minor fixes.

v0.2

  • Typos corrected.

v0.1

  • First release.