WordPress.org

Plugin Directory

WooCommerce Frontend Inventory

This plugin allows you to publish an inventory of your in-stock WooCommerce products on a frontend page with a simple shortcode.

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.

Requires: 3.3 or higher
Compatible up to: 4.3.5
Last Updated: 12 months ago
Active Installs: 100+

Ratings

0 out of 5 stars

Support

Got something to say? Need help?

Compatibility

+
=
Not enough data

0 people say it works.
0 people say it's broken.

100,1,1
100,1,1