Website Category Visibility Control
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse$ 20.14
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
| Lines of code | 72 |
| Technical Name |
website_hide_shop_category |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
eCommerce (website_sale)
• Website (website) • Invoicing (account) • Discuss (mail) |
| Lines of code | 72 |
| Technical Name |
website_hide_shop_category |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
Website Sale Hide Category
Control category visibility in your Odoo shop with a simple toggle - keep internal categories organized while hiding them from customers
- Simple boolean toggle to hide/show categories in shop filter
- Categories remain fully functional in backend for internal management
- Clean integration with existing category management interface
- Zero configuration - install and use immediately
- Preserves category hierarchy and relationships
- Perfect for organizing internal category structures
- Works with existing website_sale category filter
- No performance impact on shop loading
The module adds a simple "Hide in Shop" toggle to your product category form. When enabled, the category is automatically filtered out from the shop's category navigation:
- Category Management: Edit any product public category and check "Hide in Shop" to remove it from frontend display
- Smart Filtering: Categories marked as hidden are filtered out at the template level - they never reach the customer's view
- Backend Integrity: Hidden categories remain fully functional for product organization and internal reporting
- Instant Updates: Changes take effect immediately - no cache clearing or server restart needed
Category Form - Hide in Shop Toggle
Simple boolean toggle added to category configuration

Before: All Categories Visible
Internal categories like "Draft Products" appear in shop filter

After: Clean Category Filter
Internal categories are hidden, only customer-facing categories shown


Internal Organization
Create internal categories like "Draft Products," "Seasonal Planning," or "Supplier Categories" without cluttering the shop
Temporary Hiding
Hide categories during seasonal transitions or while reorganizing products without deleting them
Hierarchical Control
Hide parent categories while keeping subcategories visible, or vice versa - flexible control at any level
B2B/B2C Separation
Create B2B-specific categories that shouldn't be visible to regular consumers
Archive Management
Maintain archive categories for discontinued products without showing them in active navigation
Work in Progress
Hide categories that are still under construction or have incomplete product listings
- Copy the module folder to your Odoo addons directory
- Update the apps list in Odoo (Apps â Update Apps List)
- Search for "Website Sale Hide Category" and install the module
- Navigate to Website â Configuration â Product Categories
- Edit any category and use the "Hide in Shop" toggle as needed
Note: No additional configuration required - the module works immediately after installation.
Q: Does hiding a category affect its products?
A: No, products in hidden categories remain visible in the shop. Only the category filter itself is hidden. Products can still be found through search and other navigation methods.
Q: Can I hide subcategories while keeping parent categories visible?
A: Yes, the hide setting works independently for each category. You can hide any combination of parent and child categories.
Q: Will hidden categories still appear in sitemaps?
A: No, since they're filtered out at the template level, they won't appear in the category navigation or sitemaps generated from the category list.
Q: Does this work with multi-website setups?
A: Yes, but note that the hide setting applies globally across all websites. If you need website-specific visibility, consider using website-specific categories.
Need Custom Logic or Have Questions?
Odoo Proprietary License v1.0 This software and associated files (the "Software") may only be used (executed, modified, executed after modifications) if you have purchased a valid license from the authors, typically via Odoo Apps, or if you have received a written agreement from the authors of the Software (see the COPYRIGHT file). You may develop Odoo modules that use the Software as a library (typically by depending on it, importing it and using its resources), but without copying any source code or material from the Software. You may distribute those modules under the license of your choice, provided that this license is compatible with the terms of the Odoo Proprietary License (For example: LGPL, MIT, or proprietary licenses similar to this one). It is forbidden to publish, distribute, sublicense, or sell copies of the Software or modified copies of the Software. The above copyright notice and this permission notice must be included in all copies or substantial portions of the Software. THE SOFTWARE IS PROVIDED "AS IS", WITHOUT WARRANTY OF ANY KIND, EXPRESS OR IMPLIED, INCLUDING BUT NOT LIMITED TO THE WARRANTIES OF MERCHANTABILITY, FITNESS FOR A PARTICULAR PURPOSE AND NONINFRINGEMENT. IN NO EVENT SHALL THE AUTHORS OR COPYRIGHT HOLDERS BE LIABLE FOR ANY CLAIM, DAMAGES OR OTHER LIABILITY, WHETHER IN AN ACTION OF CONTRACT, TORT OR OTHERWISE, ARISING FROM, OUT OF OR IN CONNECTION WITH THE SOFTWARE OR THE USE OR OTHER DEALINGS IN THE SOFTWARE.
Please log in to comment on this module