OdooWiki OCA HUB

Website Sale Stock List Preview

website_sale_stock_list_preview folder_open OCA/e-commerce open_in_new
Website License: AGPL-3

This module extends the functionality of e-Commerce to give the buyer the information about the stock on the preview of the products.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Shows stock availability directly on product cards in the website shop list, so shoppers see 'Out of Stock' or 'Only X left in stock' before opening a product page.

This module adds stock information to the product previews (the product cards) shown on the website shop and category pages. It works together with the standard website stock features.

When the shop page is built, the module collects the available quantity for each product that has availability display enabled, using the warehouse configured on the current website. It also reads the product's out-of-stock message, whether ordering out-of-stock products is allowed, the availability threshold and the unit of measure.

On each product card, the following rules apply: - If the available quantity is zero or less and the product has a custom out-of-stock message, that message is shown. - If there is no custom message and ordering out of stock is not allowed, a red 'Out of Stock' notice with a cross icon is displayed. - If stock is positive but at or below the availability threshold, an orange warning shows 'Only X unit left in stock.' - Quantities are shown as whole numbers when they are integers.

Products with availability display turned off are skipped. The module only changes the website shop product list template; it does not add menus, buttons or reports of its own.

Depends on

website_sale_stock

Text generated by AI (DeepSeek) from reading the Odoo 19.0 code on GitHub; it may contain mistakes, so check the code before deciding. View the code on GitHub

Availability by version

Reviewed: 2026-11-03
Confirmed (verified in repository and branch) Estimated (unverified) No information

Confirmation status: 6 confirmed, 3 with no information of 9 versions.

Sources · Odoo 14.0

Confirmed on 2026-11-03 in branch 14.0 of OCA/e-commerce.

terminal Installation and usage

OCA documentation · Odoo 19.0

To use this module, you need to:

  • Edit some products on the option Availability of e-commerce
  • Go to the shop on the website and active Add to Cart button on web editor options.
  • You can see on your products the results of the options that you had choose.

No verified information in OCA: Installation, Configuration.

info

Data imported from GitHub: this sheet reflects the latest catalog review, not a live lookup. Always check the module documentation and staging before installing in production.