Website Stock Availability Filter
by Odoo DevHouse https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse$ 28.00
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 247 |
| Technical Name |
website_sale_stock_filter |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
| Availability |
Odoo Online
Odoo.sh
On Premise
|
| Odoo Apps Dependencies |
•
Inventory (stock)
• eCommerce (website_sale) • Discuss (mail) • Website (website) • Invoicing (account) |
| Lines of code | 247 |
| Technical Name |
website_sale_stock_filter |
| License | OPL-1 |
| Website | https://apps.odoo.com/apps/modules/browse?author=Odoo%20DevHouse |
| Versions | 18.0 19.0 |
Website Sale Stock Filter
Add powerful stock availability filtering to your Odoo e-commerce shop. Let customers filter products by "In Stock" or "Out of Stock" status, with visual badges on product cards and detail pages. Perfect for stores where inventory visibility drives purchase decisions.
- Stock Availability Filter: Filter products by "In Stock" or "Out of Stock" status in e-commerce shop
- Visual Stock Badges: Green "Available" and red "Out of Stock" badges on product cards
- Product Page Stock Labels: Clear stock status display on individual product detail pages
- Smart Filter Persistence: Stock filters persist across pagination, sorting, and category navigation
- Mobile-Friendly: Filters work seamlessly in the offcanvas sidebar on mobile devices
- Color-Coded Interface: Green dot for "In Stock", red dot for "Out of Stock" in filter panel
- SEO Friendly: Stock status information available for search engine indexing
1. Stock Filter Sidebar
A new "Availability" section appears in the shop sidebar/offcanvas with In Stock and Out of Stock checkboxes.
2. Product Grid with Stock Badges
Product cards display green "Available" or red "Out of Stock" badges on the product image.
3. Filter In Stock Only
Check "In Stock" to show only products with available inventory â hide out-of-stock items.
4. Product Detail Page Stock Badge
Individual product pages show a clear stock status badge above the product name.
Installation & Configuration
- Install the Module: Install through Odoo Apps or manually copy to addons path
- Dependencies: Requires
website_saleandstockmodules - Restart Server & Update: Restart Odoo and update the app list
- No Additional Configuration: Module works out of the box after installation
- Enable/Disable Filters: Filters can be toggled from the website settings if customization needed
Step 1: Access Your E-Commerce Shop
Navigate to your website's shop page. The module automatically adds stock filtering capabilities without any manual configuration.
Step 2: Use Stock Availability Filters
On the left sidebar (desktop) or offcanvas menu (mobile), you'll find a new "Availability" section with two checkboxes:
- In Stock â Products with positive quantity available
- Out of Stock â Products with zero or negative quantity
Check one or both options and the product list updates instantly to show only matching products.
Step 3: Interpret Product Badges
Each product card displays a colored badge on the product image:
- Available â Green badge, product has stock available
- Out of Stock â Red badge, product is currently out of stock
Step 4: View Product Detail Page
Click any product to view its detail page. A stock status badge appears above the product name, giving customers immediate visibility into product availability before adding to cart.
Step 5: Filter Persistence
When you navigate between categories, sort products, or change pages, your stock filter selections are preserved. This ensures a consistent shopping experience across the entire shop.
Pro Tip â Improve Customer Experience
The "In Stock" filter is particularly useful for stores offering same-day shipping or local pickup. Customers can immediately see which products are ready to ship, reducing frustration and support inquiries. Use both filters together to help customers compare in-stock vs back-ordered items.
E-Commerce Retailers
Help customers find in-stock items quickly, reducing cart abandonment due to out-of-stock products.
B2B Wholesale Stores
Business buyers need to see real-time availability for bulk ordering â filter only in-stock items for immediate purchase.
Limited Inventory Stores
Flash sales and limited edition products benefit from clear "Available" badge to create urgency.
Pre-Order Stores
Let customers browse both in-stock and pre-order items separately with clear visual distinction.
Multi-Warehouse Stores
Customers can filter products available in their preferred warehouse based on real inventory data.
Mobile-First Stores
Offcanvas filter integration makes stock filtering easy on smartphones where screen space is limited.
Increased Conversion Rates
Customers find in-stock products faster, reducing frustration and increasing purchase likelihood.
Reduced Support Inquiries
Clear stock status badges answer availability questions without contacting support.
Better Customer Experience
Transparent inventory visibility builds trust and helps customers make informed decisions.
Lower Cart Abandonment
Customers discover stock availability before adding to cart, reducing post-add disappointment.
Do You Need Assistance or Have a Feature Request?
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