Skip to Content
Odoo Menu
  • Sign in
  • Try it free
  • Apps
    Finance
    • Accounting
    • Invoicing
    • Expenses
    • Spreadsheet (BI)
    • Documents
    • Sign
    Sales
    • CRM
    • Sales
    • POS Shop
    • POS Restaurant
    • Subscriptions
    • Rental
    Websites
    • Website Builder
    • eCommerce
    • Blog
    • Forum
    • Live Chat
    • eLearning
    Supply Chain
    • Inventory
    • Manufacturing
    • PLM
    • Purchase
    • Maintenance
    • Quality
    Human Resources
    • Employees
    • Recruitment
    • Time Off
    • Appraisals
    • Referrals
    • Fleet
    Marketing
    • Social Marketing
    • Email Marketing
    • SMS Marketing
    • Events
    • Marketing Automation
    • Surveys
    Services
    • Project
    • Timesheets
    • Field Service
    • Helpdesk
    • Planning
    • Appointments
    Productivity
    • Discuss
    • Approvals
    • IoT
    • VoIP
    • Knowledge
    • WhatsApp
    Third party apps Odoo Studio Odoo Cloud Platform
  • Industries
    Retail
    • Book Store
    • Clothing Store
    • Furniture Store
    • Grocery Store
    • Hardware Store
    • Toy Store
    Food & Hospitality
    • Bar and Pub
    • Restaurant
    • Fast Food
    • Guest House
    • Beverage Distributor
    • Hotel
    Real Estate
    • Real Estate Agency
    • Architecture Firm
    • Construction
    • Property Management
    • Gardening
    • Property Owner Association
    Consulting
    • Accounting Firm
    • Odoo Partner
    • Marketing Agency
    • Law firm
    • Talent Acquisition
    • Audit & Certification
    Manufacturing
    • Textile
    • Metal
    • Furnitures
    • Food
    • Brewery
    • Corporate Gifts
    Health & Fitness
    • Sports Club
    • Eyewear Store
    • Fitness Center
    • Wellness Practitioners
    • Pharmacy
    • Hair Salon
    Trades
    • Handyman
    • IT Hardware & Support
    • Solar Energy Systems
    • Shoe Maker
    • Cleaning Services
    • HVAC Services
    Others
    • Nonprofit Organization
    • Environmental Agency
    • Billboard Rental
    • Photography
    • Bike Leasing
    • Software Reseller
    Browse all Industries
  • Community
    Learn
    • Tutorials
    • Documentation
    • Certifications
    • Training
    • Blog
    • Podcast
    Empower Education
    • Education Program
    • Scale Up! Business Game
    • Visit Odoo
    Get the Software
    • Download
    • Compare Editions
    • Releases
    Collaborate
    • Github
    • Forum
    • Events
    • Translations
    • Become a Partner
    • Services for Partners
    • Register your Accounting Firm
    Get Services
    • Find a Partner
    • Find an Accountant
      • Get a Tailored Demo
    • Implementation Services
    • Customer References
    • Support
    • Upgrades
    Github Youtube Twitter Linkedin Instagram Facebook Spotify
    +32 2 290 34 90
    • Get a Tailored Demo
  • Pricing
  • Help
  1. APPS
  2. Website
  3. Website Hide Empty Categories v 17.0
  4. Sales Conditions FAQ

Website Hide Empty Categories

by Code Experts IT Solutions https://www.code-experts.co
Odoo

$ 17.69

v 17.0 Third Party
Apps purchases are linked to your Odoo account, please sign in or sign up first.
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Invoicing (account)
• Discuss (mail)
Lines of code 44
Technical Name codex_website_hide_empty_categories
LicenseLGPL-3
Websitehttps://www.code-experts.co
You bought this module and need support? Click here!
Availability
Odoo Online
Odoo.sh
On Premise
Odoo Apps Dependencies • eCommerce (website_sale)
• Website (website)
• Invoicing (account)
• Discuss (mail)
Lines of code 44
Technical Name codex_website_hide_empty_categories
LicenseLGPL-3
Websitehttps://www.code-experts.co
Enterprise Community Odoo.sh

Website Hide Empty Categories

Automatically hide product categories with no published products

CODEXperts Logo

Key Features

AutoHide Empty Categories

Categories with zero published products are automatically hidden from the website shop. No manual configuration needed.

Intelligent SubCategory Detection

A parent category remains visible if any of its child categories contain published products even if the parent itself has none.

Stored & Indexed Field

The `has_published_products` field is stored in the database and indexed zero performance impact, even on large catalogs.

Backend Visibility

The computed field is added to the category form view administrators can see at a glance why a category is (or isnt) visible.

Zero Configuration

Install and forget. The module works immediately no settings, no checkboxes, no manual updates.

Cleaner Shop Navigation

Eliminate clutter. Customers only see categories that actually contain products better UX, faster browsing.

How It Works

Backend: Transparent Visibility Status

A new readonly field Has Published Products appears in the category form. It shows `True` or `False` based on the live product data administrators can instantly understand why a category is visible or hidden.

Category Form – Has Published Products Field

Before Installation: All Categories Shown

Odoos default behavior displays every public category, even if it contains zero published products. This leads to empty sections, confusing customers and wasting navigation space.

Website Shop – Before: Empty Categories Visible

After Installation: Only Categories With Products

Empty categories are automatically filtered out. The shop navigation becomes clean, relevant, and professional exactly what your customers expect.

Website Shop – After: Empty Categories Hidden

Why Choose Website Hide Empty Categories?

Improved Customer Experience

Customers won't click on empty categories no frustration, no dead ends.

Lightning Fast

Stored + indexed = no live computation on the frontend. Your shop stays fast even with thousands of categories.

Preserves Category Structure

Parents with hidden children are only hidden if all descendants are empty. No orphaned categories.

Zero Maintenance

Works automatically with your existing product/category workflow. Nothing to configure, nothing to update.

100% Odoo Native

Built with standard Odoo ORM, no hacky SQL, no external dependencies. Safe and upgrade friendly.

Different Category Views

Applicable to vertical side category view and the top category view as well.

Perfect For

Ecommerce Stores

Keep category navigation clean and relevant

Large Catalogs

Hundreds of categories, many empty auto cleanup is essential

Seasonal Stores

Categories appear/disappear automatically as products go in/out of stock

Frequently Asked Questions

Does this module delete any data?

No. It only hides categories from the website navigation. All categories remain fully editable in the backend and can be reenabled instantly when products are published.

How often is the visibility updated?

Instantly. The field is recomputed whenever a products `is_published` status changes, or when categories are linked/unlinked. No cron job, no delay.

Can I manually override a category to keep it visible even if empty?

The current version is fully automatic. If you need manual overrides, contact us we can provide a custom extension.

Is it compatible with Odoo 17?

Yes, built and tested on Odoo 17 Community and Enterprise. It does not depend on any other custom modules.

Easy Installation

Install the module from Odoo Apps and refresh your website. Thats it. No configuration steps, no new menus your category navigation will be automatically cleaned up.

No Configuration Required

Instant Results

100% Reversible (Uninstall to restore default behavior)

Need Support?

Our dedicated support team is here to help you with installation, configuration, and any questions you may have about the Website Hide Empty Categories Automatic Cleanup of Empty Ecommerce Categories.

hello@code-experts.co
+97317224488
+97317224488
www.code-experts.co

© 2026 Code Experts IT Solutions. All Rights Reserved.

Please log in to comment on this module

  • The author can leave a single reply to each comment.
  • This section is meant to ask simple questions or leave a rating. Every report of a problem experienced while using the module should be addressed to the author directly (refer to the following point).
  • If you want to start a discussion with the author or have a question related to your purchase, please use the support page.
Community
  • Tutorials
  • Documentation
  • Forum
Open Source
  • Download
  • Github
  • Runbot
  • Translations
Services
  • Odoo.sh Hosting
  • Support
  • Upgrade
  • Custom Developments
  • Education
  • Find an Accountant
  • Find a Partner
  • Become a Partner
About us
  • Our company
  • Brand Assets
  • Contact us
  • Jobs
  • Events
  • Podcast
  • Blog
  • Customers
  • Legal • Privacy
  • Security

Odoo is a suite of open source business apps that cover all your company needs: CRM, eCommerce, accounting, inventory, point of sale, project management, etc.

Odoo's unique value proposition is to be at the same time very easy to use and fully integrated.

Website made with