Auto Product Categories Menu

This plugin only works with classic themes, block-based themes are not currently supported.

Overview

↑ Back to top

Auto Product Categories Menu automatically displays your WooCommerce product categories inside WordPress menus.

The plugin provides two ways to manage your category navigation:

  • Dynamic mode โ€“ categories update automatically in real time
  • One-click Sync โ€“ generate a static menu structure for full manual control

Requirements

  • WordPress 5.4 or higher
  • WooCommerce 7.0 or higher
  • PHP 8 or higher
  • Administrator access
  • Classic WordPress theme

Installation

↑ Back to top

To start using a product from WooCommerce.com, you can use the โ€œAdd to storeโ€ functionality on the order confirmation page or the My subscriptions section in your account.

  1. Navigate to My subscriptions.
  2. Find the Add to store button next to the product youโ€™re planning to install.
  3. Follow the instructions on the screen, and the product will be automatically added to your store.

Alternative options and more information at:
Managing WooCommerce.com subscriptions.

Adding a WooCommerce.com subscription to your store

Dynamic Mode

↑ Back to top

Best for stores where categories change frequently.

Setup

↑ Back to top
  1. Go to Appearance โ†’ Menus
  2. Open the Auto Product Cats metabox
  3. Select the item – All Product Categories (dynamic)
  4. Click Add to Menu
  5. Save the menu
  6. Adjust settings in WooCommerce โ†’ Auto Product Cats โ†’ Dynamic

One-Click Sync

↑ Back to top

Use Sync if you want full manual control over the menu structure.

Setup

↑ Back to top
  • Create or choose a menu in Appearance โ†’ Menus
  • Go to WooCommerce โ†’ Auto Product Cats โ†’ Sync to menu
  • Select your target menu
  • Configure display options
  • Click Sync Menu

The generated items behave like standard WordPress menu items and can be edited or reordered manually.

Note: Sync settings do not save, after a sync; display options revert to default

Settings Explained

↑ Back to top

Dynamic & Sync

↑ Back to top
  • Wrap Parent Item โ€“ Creates a single parent menu item (for example, Shop) and places all product categories inside it.
    Disable this option to insert categories directly at the top level of the menu.
  • Parent Item โ€“ Set the label for the parent menu item when Wrap Parent Item is enabled.
  • Shop Link (Parent Destination) โ€“ Optionally link the parent item to your WooCommerce Shop page instead of using a placeholder link.
  • Max Depth โ€“ Limit how many levels of category hierarchy are displayed. Set to 0 to show all levels.
  • Order By โ€“ Choose how categories are sorted (menu order, name, slug, or ID).
  • Order Direction โ€“ Control the sorting direction:
    (ASC) Ascending โ€“ lowest โ†’ highest
    (DESC) Descending โ€“ highest โ†’ lowest
  • Hide Empty Categories โ€“ Show only categories that contain products.
  • Exclude Categories โ€“ Remove specific categories from the menu output.

Tools

↑ Back to top

The Tools tab provides maintenance and troubleshooting options for advanced control and support.

Delete Generated Items

Removes menu items that were previously created by the Sync feature.

  • Only items generated by the plugin are removed
  • Your existing manual menu items remain untouched
  • Useful if you want to reset a synced menu before running Sync again

Debug Logging

Enable detailed logging to help diagnose issues.
When enabled, the plugin writes diagnostic information to:

WooCommerce โ†’ Status โ†’ Logs
Log file: auto-product-categories-menu

Use this option when troubleshooting or when requested by support.

Note: It is recommended to disable logging when not needed to avoid unnecessary log entries.

Flush Category Menu Cache

Clears the cached menu output so it can be rebuilt on the next page load.

Cache is automatically cleared when changes are detected but Use this if:

  • Categories were recently added, removed, or reorganised
  • Menu changes are not appearing immediately
  • You suspect cached data is being displayed

Note: This action does not modify your menus, it only refreshes the cached output.

Advanced (WP-CLI)

↑ Back to top

WP-CLI allows you to:

  • Generate category menus from the command line
  • Delete previously generated menu items
  • Flush the category menu cache
  • Automate menu updates via scripts, cron jobs, or deployment processes

This is useful for:

  • Large or multisite environments
  • Automated deployments
  • Scheduled maintenance tasks
  • Developer workflows

To view available commands and options, run:

wp help pmp-awcm

Or view help for a specific command:

wp help pmp-awcm sync

All commands should be executed from your WordPress root directory.

Note: A full list of commands and examples are available in the plugin Advanced tab

Troubleshooting

↑ Back to top

Known errors or issues and how to solve them.

Categories not appearing or missing

↑ Back to top
  • Ensure the menu is saved
  • Check the depth setting
  • Confirm product categories exist

Auto Product Cats metabox not visible

↑ Back to top
  • Click Screen Options (top-right of the page)
  • Make sure Auto Product Cats is checked

If the option is already enabled but the panel still does not appear:

  • Ensure WooCommerce is installed and active

Compatibility

↑ Back to top

WordPress & WooCommerce Versions

↑ Back to top
  • WordPress 5.4 or higher
  • WooCommerce 7.0 or higher
  • PHP 8 or higher

Themes

↑ Back to top

This plugin works with classic themes that support Appearance โ†’ Menus.
Block themes (Full Site Editing / Navigation block) are not supported.
If your site uses a block theme, switch to a classic theme to use this plugin.

Support

↑ Back to top

Before contacting support please check sections Compatability, Troubleshooting, Faq’s first.

If you still need help, please contact support via your WooCommerce Marketplace account and include:

  • A detailed explaination of the issue
  • WordPress version
  • WooCommerce version
  • Theme name
  • Screenshot of the issue (if applicable)

FAQs

↑ Back to top

Help customers by answering commonly asked questions.

Does this plugin work with block themes?

  • No.

    This plugin requires the classic Appearance โ†’ Menus screen.
    Block themes use the Navigation block and do not support the classic menu interface required for the dynamic category metabox.
    To use this plugin, switch to a theme that supports classic menus.

Why donโ€™t I see categories in my menu?

  • Dynamic mode

    Go to Appearance โ†’ Menus
    Make sure you added the Auto Product Cats item to your menu
    Save the menu

  • If the metabox is not visible

    Open Screen Options (top right)
    Enable Auto Product Cats

  • Sync mode

    Run the sync from WooCommerce โ†’ Auto Product Cats โ†’ Sync
    Make sure a target menu is selected

Why are my category changes not showing?

  • If categories have been added, removed, or renamed:

    Go to WooCommerce โ†’ Auto Product Cats โ†’ Tools
    Click Flush category menu cache
    Refresh your site

  • Also clear any:

    Page caching plugins
    Server cache
    CDN cache

Can I edit synced items manually?

  • Yes.

    Items created using Sync are standard WordPress menu items and can be:
    Reordered
    Renamed
    Styled
    Moved or removed

  • However:

    Running Sync again will regenerate the category structure
    Previously generated items will be replaced
    If you need permanent manual control, edit items after your final sync.

Related Products

Offer add-ons like gift wrapping, special messages or other special options for your products.

Add shipment tracking information to your orders.

Use of your personal data
We and our partners process your personal data (such as browsing data, IP Addresses, cookie information, and other unique identifiers) based on your consent and/or our legitimate interest to optimize our website, marketing activities, and your user experience.