WooCommerce Frontend Inventory

This plugin provides a shortcode that allows to print in a front-end page a full inventory of products listed in WooCommerce.

Author:Mirko Grewing (profile at wordpress.org)
WordPress version required:3.3
WordPress version tested:4.3
Plugin version:0.7
Added to WordPress repository:26-06-2013
Last updated:08-09-2015
Warning! This plugin has not 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.
Rating, %:0
Rated by:0
Plugin URI:http://www.mirkogrewing.eu/woocommerce-fronte...
Total downloads:2 961
Active installs:90+
plugin download
Click to start download

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.