WooCommerce Inventory List
Wordpress plugin to create an inventory list.
by Michael Patrick · github.com/michaelspatrick/woocommerce-inventory-list
Install
No release zip yet. The repository archive installs, but the folder name will carry the branch suffix and updates will not flow:
wp plugin install https://github.com/michaelspatrick/woocommerce-inventory-list/archive/refs/heads/main.zipCreates a printable page that displays current inventory stock levels for all WooCommerce products. Ideal for store owners and warehouse managers who want a quick snapshot of inventory.
Description
This plugin generates a custom admin-accessible page showing:
- Product Title
- SKU
- Categories
- Stock Level
Only logged-in administrators can view the page.
A shortcode [woocommerce-inventory-list] is also available for embedding the inventory table in a WordPress page.
Features
- Displays all published WooCommerce products with stock levels
- Shows SKU and categories
- Automatically creates a page on plugin activation
- Adds an "Inventory List" link to the WooCommerce admin menu
- Styled via an included CSS file (
inventorylist.css)
Installation
- Upload the plugin folder to the
/wp-content/plugins/directory or install it via the WordPress admin panel. - Activate the plugin through the Plugins menu in WordPress.
- Upon activation, a new page titled Inventory List will be created.
- Visit the page at
/inventory-list(only accessible by administrators).
Usage
View Inventory
- Log in as an admin.
- Navigate to the Inventory List page under WooCommerce in the WordPress admin menu.
- Alternatively, view the auto-created page at
/inventory-list.
Shortcode
Use the shortcode below in any page or post to display the inventory list:
[woocommerce-inventory-list]
Security
- The inventory list is only viewable by users with
manage_optionscapability (typically admins). - If an unauthorized user tries to access the page, a "This page is private" message will appear.
Future Improvements
- Support for product variations
- Filtering by stock status or category
- Export to CSV or PDF
Credits
Developed by Michael Patrick
License
This plugin is licensed under the GPLv2 or later. See https://www.gnu.org/licenses/gpl-2.0.html