How to Hide Products and Variants in Website Shop If Stock is 0 in Odoo 18 Enterprise

How to Hide Products and Variants in Website Shop If Stock is 0 in Odoo 18 Enterprise

Introduction:

In eCommerce, displaying out-of-stock products can affect customer satisfaction and conversion rates. Odoo 18 Enterprise offers a flexible way to control the visibility of products and their variants in your website shop, especially when stock levels reach zero. By default, Odoo allows products to remain visible even if they are out of stock, but this behavior can be adjusted easily with built-in configuration options.

Purpose:

The purpose of this blog is to explain how to automatically hide products and product variants from your website shop when their stock level is zero. This helps in maintaining a clean and accurate storefront, ensuring that customers only see available products, and avoids potential order cancellations due to stock unavailability.

Step-by-Step Flow:

Step 1: Navigate to Website Settings

  • Go to Website > Configuration > Settings.

  • Scroll to the Shop section.

  • Locate the option "Out-of-Stock."

  • Uncheck the checkbox “Out-of-Stock with Continue Selling.”

    • This ensures that out-of-stock products will not be shown in the shop.

Step 2: Configure the Product Settings

  • Go to Sales > Products > Products.



  • Open the product you want to manage.

  • Under the Sales tab:

    • Locate the checkbox “Out-of-Stock with Continue Selling.”

    • Uncheck this option for products you want to hide when out of stock.

  • If the product has variants, repeat this for each variant as needed.

Step 3: Verify Stock Quantities

  • Make sure the product or variant has 0 stock on hand.



  • You can check this under the Inventory tab in the product form.



Step 4: Test the Visibility

  • Navigate to your Website > Shop.

  • The out-of-stock products for which the "Continue selling" option is disabled will now be hidden automatically.



Conclusion:

Controlling product visibility based on stock levels is crucial for enhancing the customer shopping experience. With Odoo 18 Enterprise, hiding out-of-stock products and variants from your website shop is simple and effective. By disabling the “Continue selling” option in both website settings and individual product configurations, you ensure that customers only interact with products that are available, improving customer trust and operational efficiency.


Sign in to leave a comment
Creating Products Directly from POS in Odoo 18 Enterprise