How to Add WooCommerce Product Categories to WordPress Menus to Improve User Experience and Conversions

When running a WooCommerce store, it's important to help users quickly navigate to product categories. By adding product categories to the main WordPress menu, you can simplify the user experience and make it easy for users to find the products they need. This article will detail how to integrate WooCommerce product categories into the WordPress menu.

图片[1]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

Why should I add product categories to the menu?

Adding the WooCommerce product category to the menu has the following advantages:

  • Enhancing the user experience: Users can find the desired product category more easily and browse more efficiently.
  • Increase visits: With prominent menu options, users can be enticed to explore more products.
  • Increase Conversion Rate: Simplifying the navigation path helps to increase the time a user spends on a page, which in turn increases conversions.

Steps to Add WooCommerce Product Category in WordPress Menu

To add the WooCommerce product category to the menu, you can follow the steps below:

Step 1: Enable Menu Options for the WooCommerce Product Category

  1. Log in to the WordPress backend and go to Appearance > MenuThe
图片[2]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. In the upper right corner of the menu editing page, click the Screen OptionsThe
  2. tick product category, enable this menu option.
图片[3]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

Now, you can see on the left side of the menu editing screen the product category Column.

Step 2: Add Product Categories to the Menu

  1. In the menu editing screen, expand product category Part.
  2. Check the product categories you want to add to the menu (e.g. "Bicycles", "Discounted Items" or other custom categories).
图片[4]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. strike (on the keyboard) Add to menu, the selected category will appear in the menu structure on the right.
  2. Drag these categories to the desired location to place them in the main menu or as sub-menu items.
图片[5]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

Step 3: Customize menu items (optional)

Expand menu item settings: Click on the small arrows to the right of each menu item (e.g. "Home", "Contact Us", etc.) to expand its settings.

Edit navigation tabs: In the expanded settings, find "Navigation tabsThe "About" field. It is possible to rename the menu item here, e.g. change "About" to a more descriptive name.

图片[6]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

Add CSS class (if supported)::

  • In the "Screen Options" in the upper right corner of the menu page, make sure the "CSS Classes" option is checked.
图片[7]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复
  • When checked, a "CSS Class" field will appear in each menu item.
  • Add a custom CSS class name to this field, for example highlight maybe discount-menuYou can then style these classes in the theme's CSS file.
图片[8]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复
  • Go to Appearance > Theme File Editor: In the left menu bar find Appearance > Theme File Editor(Some themes may be called "custom code").
  • option style.css file: In the list of files on the right, find style.css(This is the main stylesheet file for the theme).
图片[9]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

take note of: In order to avoid affecting the theme update after the loss of style, it is recommended to use thesubthemeor customized CSS Plugin(e.g. Simple Custom CSS) to add styles.

Step 2: Add Custom CSS Styles

exist style.css At the bottom of the file, add the required CSS code. For example, if you add the CSS class field of a menu item to the highlight respond in singing discount-menu, you can use the following code to style them:

Custom Icons and Colors: Some themes or plugins (e.g. Max Mega Menu) can add icons and custom colors directly in the menu settings. Check if your theme supports these options.

Step 4: Save Menu

After completing all changes, click Save menu to save the changes. Then, look at the front end of your site to make sure the menu has displayed the product categories correctly.

Advanced customization: add submenus by product attributes or tags

If you wish to customize the menu even further, you can create submenus based on product attributes (e.g., color, size) or labels (e.g., "limited time offer").

  1. exist Appearance > Menu in the menu you want.
  1. Add a new menu item and drag it under the main menu item to form a submenu.
图片[10]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复
  1. Configure labels or attributes for each submenu item.
图片[11]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

This approach can help users quickly filter products and further enhance the user experience.

Optimize menu display with plug-ins

If you wish to enhance the display of the menu, you can use a plugin, for example Max Mega Menu The following features are available to you:

  • Customized menu styles: Supports customization options such as icons, images and colors.
  • Multi-level menu support: It is possible to create menu structures that contain multiple levels.
  • Rich navigation settings: Provide more navigation display options such as hover display, animation effects, etc.
图片[12]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

After installing and activating the plugin, the Appearance > Menu Customize the style and functionality of the product category menus as needed.

Frequently Asked Questions

1. Why can't I see "Product Categories" in "Screen Options"?

Make sure WooCommerce is properly installed and activated, if it still doesn't show up, it may be due to theme compatibility or caching issues.

2. How do I add icons or custom colors to a product category?

Most themes support custom styling settings, try setting them up in the Menu CSS Classes Add custom styles to the icon or use a plugin that supports custom icons such as Menu Icons Plug-ins.

图片[13]-如何在WordPress菜单中添加WooCommerce产品类别,提升用户体验和转化率-光子波动网 | WordPress教程、Elementor教程与故障修复

3. How to optimize the menu for mobile?

Menus can be converted to collapsible mobile menus via a plugin, or by using the responsive menu settings that come with the theme to ensure that menus display well on mobile devices.

concluding remarks

By adding WooCommerce product categories to your WordPress menu, you can effectively enhance the user navigation experience, increase product exposure and improve conversions. Whether it's a simple menu setup or advanced plugin customization, the flexible use of these methods can make your website navigation more useful and beautiful.


Contact Us
Can't read the tutorial? Contact us for a free answer! Free help for personal, small business sites!
客服微信
Customer Service
Tel: 020-2206-9892
QQ咨询:1025174874
(iii) E-mail: [email protected]
Working hours: Monday to Friday, 9:30-18:30, holidays off
© Reprint statement
本文作者:红牛独立站
THE END
If you like it, support it.
kudos12 share (joys, benefits, privileges etc) with others
commentaries sofa-buying

Please log in to post a comment

    No comments