This module allows to set e-commerce restrictions on product assortments.
auto_awesome What this module does
AI-generated from the code · Odoo 18.0Lets you use product assortments to control which products appear or can be bought on your website, per website and per customer group.
This module connects product assortments (saved filters that define groups of products and partners) with your eCommerce website. On each assortment you get a new "Website Availability" setting with three choices:
- Don't apply restriction: the website behaves as before.
- Avoid to show non available products: products outside the assortment are hidden from the shop, their pages return not found, and they disappear from search and category listings.
- Avoid selling not available products: products stay visible, but the Add to Cart and Buy Now buttons are disabled and a warning message is shown.
You can also limit an assortment to specific websites, apply it to public (not logged in) visitors, and write a custom "Message when unavailable" plus extra HTML information shown on the product page. The module adds these fields to the assortment form and touches ir.filters and product.template. On the shop, restricted products show a warning icon and message, and the cart button is greyed out. The restriction is evaluated per visitor, so different customer groups can see different catalogues on the same website.
Depends on
Models and fields (2)
- ir.filters · extends an existing modelwebsite_ids (Websites), all_product_ids, message_unavailable (Message when unavailable), apply_on_public_user, website_availability (Availability on Website), assortment_information
- product.template · extends an existing model
Text generated by AI (DeepSeek) from reading the Odoo 18.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-03Confirmation status: 5 confirmed, 4 with no information of 9 versions.
Sources · Odoo 13.0
Confirmed on 2026-11-03 in branch 13.0 of OCA/e-commerce.
terminal Installation and usage
OCA documentation · Odoo 18.0Configuration
Source · Odoo 18.0To see this module working, you have to define a product assortment and select an option on the website availability field.
- Don't apply restriction: This option will not set any kind of restriction on product items.
- Avoid to show non available products: This option will hide on the e-commerce, the products that are not added to the products domain. If a product template has at least one allowed variant to show, the product will appear on the product items view but only that variants will be able to be bought.
- Avoid selling not available products: This option will restrict to buy the products that are added to the assortment on the e-commerce. To inform the clients, two more fields were added: "Message when unavailable" and "Assortment information". The first one will add a short description to the product item and the other one will set a detailed description on the product sheet. This second one is editable from the website editor.
No verified information in OCA: Installation, Usage.
Installation instructions, the distribution package, dependencies and configuration steps are not shown because they have not yet been verified in the module documentation for any version.
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.