Home Forums WoodMart support forum Empty Product Category Pages Showing Blog Banner Instead of Category Banner

Empty Product Category Pages Showing Blog Banner Instead of Category Banner

Viewing 2 posts - 1 through 2 (of 2 total)
  • Author
    Posts
  • #693254

    Web Revolution
    Participant

    Dear Woodmart Support Team,

    We are currently developing an eCommerce website for our client using the Woodmart theme. We’ve encountered an issue related to product categories that don’t yet have any products assigned to them.

    Here’s what we’re experiencing:
    • When a user clicks on a product category that has products, the page displays correctly — it shows the category banner (from the category settings) and then the product grid.
    • However, when a user clicks on a product category that currently has no products, the page displays a banner titled “Blog”, followed by the category description and a “No products found” message.

    We would like these empty product category pages to:
    1. Stay on the product category page (not redirect to a standard “no post found” layout).
    2. Display the banner image from the product category’s thumbnail, instead of the “Blog” banner.
    3. Show the correct product category title, not “Blog”.
    4. Display the “No products found” message below the banner within the same category layout.

    We’ve tried several options and checked through the Theme Settings and Category configurations, but we couldn’t find any setting or documentation addressing this behavior.

    Could you please advise how we can resolve this issue or if there’s any code snippet or template override required to make the empty product category pages use the same layout and banner logic as categories that have products?

    Thank you for your assistance and for developing such a great theme.

    Kind regards,
    Web revolution

    Attachments:
    You must be logged in to view attached files.
    #693339

    Hello,

    By default, WooCommerce displays the standard “no products found” layout when a category has no products assigned to it, and this can sometimes appear differently depending on your custom shop or blog layouts.

    Please check the custom layout. Maybe you are using layouts for category pages. If the issue remains, share the wp login details so I can further check on your site and give you a possible solution.

    Best Regards,

Viewing 2 posts - 1 through 2 (of 2 total)