This plugin hasn’t been tested with the latest 3 major releases of WordPress. It may no longer be maintained or supported and may have compatibility issues when used with more recent versions of WordPress.

WooCommerce Frontend Inventory


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.


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


  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.


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.




  • Added a new parameter to filter by user ID


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


  • The shortcode now support parameters to sort items.


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


  • Added links to support and official webpage.


  • Minor bugfixes


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


  • Minor fixes.


  • Typos corrected.


  • First release.