Normally, while creating a store, you’d go with the third choice, items and categories/subcategories. This means that users can either choose products directly from the main page or refine their search by going to a product category archive.
This tutorial will teach you how to show categories in a separate list before showing items.
Distinguish the WooCommerce code that is used to display categories and subcategories on archive pages.
Make a code plugin.
Create a function that places categories or subcategories before of product listings.
Customize the output
Navigate to WooCommerce > Settings, then to the Products tab, and finally to the Display option. Select Show both for each of the Shop Page Display and Default Category Display choices.
WooCommerce Product Category Display
To save your changes, click the Save changes button.
Related Posts:
- Display All Products by Category with WooCommerce
- Retrieve Product category ‘NAME’ by product category ID – WooCommerce?
- Woocommerce get category image full size
- Programmatically create product category and add thumbnail in woocommerce
- Create product category and keyword search form in woocommerce? [closed]
- How do I edit pre_get_post for the category the user is currently in?
- Display WooCommerce product categories in a 4 columns custom menu [closed]
- Use get_term_children to get the sub category of a parent category for the current post
- Hide uncategorized products from the shop page
- Remove word “Category” from WooCommerce product page [closed]
- Filtering search results
- WooCommerce change category url and product base
- Output link to category from WP_Query loop of woocommerce products
- Display “add to cart” button on every listing in product category page?
- How to get product count with respect to categories in WooComerce
- Get woocommerce catogry
- Set post categories to include parents when setting child category
- Linking products to categories
- Woocommerce category show subcategories only/omit posts for specific category
- Warning: sizeof (): Parameter must be an array or an object that implements Countable, On products pages
- Omit specific product categories from WooCommerce shortcode
- Multiple Domain Names – One WP Install (non-Multisite) – Default Each Domain name to Product Category WooCommerce
- Hide woocommerce category name from specific pages
- need to add custom field in more products
- How to redefine the sorting of product categories by menu_order?
- Pagination not visible on woocommerce’s category page
- Pagination is not working properly in Product Category/Tag pages
- Best way of getting WooCommerce category path
- How to recreate a copy of a product category in WooCommerce? [closed]
- Get parrent category name
- Sorting category products not working
- Change thumbnail image depending product category
- Woocommerce custom category pages
- Woocommerce custom category page with pagination [closed]
- Display single category name in woocommerce loop
- Include WooCommerce product to all child categories
- woocommerce related products by specific categories [closed]
- Do not show sub categories in the loop on archive-product.php
- List a maximum of ‘x’ product categories with qty of ‘y’ in each column
- Display all product tags associated with a specific product category
- How to access deleted term inside delete_product_cat action
- Apply WordPress function on specific woocommerce product categories only
- Filter WooCommerce archive pages by an additional category
- Grandchild Term Things Grandfather Term is It’s Parent
- Woocommerce filter function not updating
- Adding custom ID field to the categories
- How can i change what one category displays?
- Two Sections on Woocommerce Catergory Page [closed]
- How to display product with two condition, category and brand taxonomy
- Show different menu on each woocommerce category page
- Template for product-category page [closed]
- WooCommerce shared categories
- displaying the last product comment in the woocommerce category
- Displaying Single Product Page Parent and Child Category
- category description not showing in my woocommerce
- How to make product image inherit from category image
- How to show given products only using product id array from specific category page in woocommerce
- Shop Category Pages missing s
- How to set acf color field as background color to product category
- How to target all woocommerce categories that don’t have any subcategories in them?
- WooCommerce REST API not returning the default products category
- How to show WooCommerce Categories on ‘shop’ page instead of products?
- Show the parent taxonomy by creating shortcode in woocommerce?
- How to add all subcategories as submenu in WordPress menu
- How to edit woocommerce sub-category page
- When creating a new product, auto assign it to all custom taxonomy woocommerce
- Get WooCommerce product category list in functions.php
- in post content shortcode works, but hardcoded in same page template doesn’t?
- Is there a reason to put a product in both the Child and Parent Categories?
- How to fix 404 error in pagination in categories of woocommerce with common url base /shop/?
- How to display custom fields as table in Woocommerce
- How do I merge WooCommerce categories with the same name?
- Woocommerce Category Sort Dropdown
- Woocommerce: all products of all categories instead products of one category
- How to delete WooCommerce categories in bulk that only have one product
- Product Category page showing all products
- How to load terms of a custom taxonomy of a product in woocommerce cart page
- product_cat image url from database
- Woocommerce change tag_id to name
- Woocommerce product catalog, products with different description
- WooCommerce – Get products from category right before deleting category
- No results found for second level category
- How to display products with multiple conditions, product_id and category_id
- Categories and Tags Conflict after Woocommerce Installation
- How to get related category/categories in WordPress archive page
- Category menu that filters out empty categories
- Custom Woocommerce Category view
- Displaying categories and subcategories without link
- Sorting Woocommerce products by category and attributes
- Woocommerce custom taxonomy order
- Update wordpress menu with woocommerce products
- How to get Woocomerce categories count
- Woocommerce – Display product category of product in Orders page
- Changing Woocommerce categories programatically
- Woocommerce Force the category choice before creating new product? [duplicate]
- Categories and products woocommerce wordpress
- Add custom fields to Woocommerce Category Page
- Restricted category in Woocommerce [closed]
- Adding 400 product categories with their hierarchy to a navigation menu
- How can I display the category descriptions below the category name using a functions.php filter?