WooCommerce warehouse management

195,56 лв. / 99,99 

A WooCommerce warehouse management is plugin that enhances inventory management by adding multi-warehouse support, enabling stock tracking across locations with a custom post type and REST API integration.




Category:

The WooCommerce warehouse management plugin extends WooCommerce’s inventory capabilities by introducing multi-warehouse stock management. It adds a custom post type, warehouse, for defining warehouse locations with details like type, city, address, and manager. A dedicated “Stock Locations” tab in the product admin allows administrators to assign stock quantities to specific warehouses for simple and variable products.

The plugin ensures stock consistency by validating that total warehouse stock matches the product’s overall stock when stock management is enabled. It integrates with WooCommerce orders by allowing warehouse selection for order items, automatically reducing stock from the chosen warehouse upon order completion. A public-facing product tab displays warehouse stock availability.

The plugin also provides REST API endpoints for retrieving and creating warehouses, as well as updating product stock, making it ideal for businesses with distributed inventory. With a user-friendly interface, custom admin columns, and secure data handling, it streamlines warehouse operations.

Features of WooCommerce warehouse management

  • Warehouse Post Type: Create and manage warehouses as a custom post type with fields for type (Warehouse, Store, Showroom), city, address, postal code, phone, email, and manager.
  • Stock Locations Tab: Adds a “Stock Locations” tab to the WooCommerce product admin for assigning stock quantities to warehouses.
  • Order Warehouse Selection: Allows selecting a warehouse for each order item in the admin, with a global selector for bulk assignment.
  • Stock Validation: Ensures total warehouse stock matches the product’s stock quantity when stock management is enabled, with error notifications for discrepancies.
  • Automatic Stock Reduction: Reduces warehouse stock automatically when an order is marked as “completed.”
  • Public Stock Display: Adds a “Warehouse Stock” tab on product pages to show stock quantities by warehouse.
  • REST API Support: Provides endpoints for retrieving warehouse details (GET /wc/v3/warehouses), creating warehouses (POST /wc/v3/warehouses), and updating product warehouse stock (POST /wc/v3/product-warehouse).
  • Custom Admin Columns: Displays warehouse city, address, type, and manager in the admin list for easy management.
  • Responsive Interface: Uses a clean, tabular layout for stock management and warehouse details, with Dashicons for visual consistency.
  • Secure & Efficient: Implements sanitization, nonce verification, and permission checks for API requests and data saving.

Installation

  1. Upload the plugin folder to the /wp-content/plugins/ directory.
  2. Activate the Mobileship WooCommerce Warehouse plugin through the WordPress admin panel.
  3. Ensure WooCommerce is installed and activated.
  4. Navigate to Warehouses in the WordPress admin menu to create warehouse locations.
  5. Edit a product to assign stock quantities to warehouses under the “Stock Locations” tab.
  6. Use the REST API endpoints for programmatic warehouse and stock management (requires admin permissions).

Usage of WooCommerce warehouse management

  • Create Warehouses: Go to Warehouses > Add New in the WordPress admin, enter details like name, type, address, and manager, and save.
  • Assign Stock: In the product edit screen, use the “Stock Locations” tab to set stock quantities for each warehouse. Ensure the total matches the product’s stock if stock management is enabled.
  • Manage Orders: In the order admin screen, select a warehouse for each item or use the global selector to apply one warehouse to all items. Stock reduces automatically when the order is marked “completed.”
  • View Stock on Frontend: Customers see warehouse stock details in the “Warehouse Stock” tab on product pages.
  • API Integration: Use the REST API to:
  • Retrieve all warehouses (GET /wc/v3/warehouses) or a specific warehouse (GET /wc/v3/warehouses/{id}).
  • Create a warehouse (POST /wc/v3/warehouses with JSON payload for title, type, etc.).
  • Update product warehouse stock (POST /wc/v3/product-warehouse with product ID and warehouse stock data).
  • Customize Display: Style the warehouse tab and tables using WooCommerce’s default CSS classes or by targeting .warehouse-stock-table.

Requirements

  • WordPress 5.0 or higher
  • PHP 7.0 or higher
  • WooCommerce 4.0 or higher
  • Stock management enabled in WooCommerce for full functionality
  • Admin permissions for API access and warehouse management