Customers only pick variants you can deliver: out-of-stock and hand-picked variants are greyed out or left off your product pages, and greyed out in the product configurator of quotations.
Odoo shows every value of a product's attributes, also when the variant behind it is sold out or was never meant to be sold, and the customer only finds out after choosing it. Variant Availability marks those variants as unavailable per website and for quotations. Odoo's own variant picker then greys them out, and the values with nothing left can be hidden from the page. The variants themselves stay active for purchases, stock and reports.
With the customer's current choice, the values that lead to a sold-out or hidden variant are greyed out (colour swatches crossed out) with Odoo's own "Not available with ..." hint. If one is chosen anyway, the variant is not possible and Add to Cart stays disabled.
Choose Hide for a website or for one attribute: values without any available variant (XL when every XL is sold out) are left off the product page. Each attribute can follow the website or use Grey out or Hide.
A variant without free quantity in the website's warehouse, as Odoo's shop counts it for its own stock messages, is unavailable there. On by default, per website. Products that keep selling when out of stock and products without stock tracking are not affected.
Hide on Website and Hide in Sales switches on each variant, in the variant form and the variants list. Hidden is not archived: the variant stays active for purchases, stock moves and reports.
The product page selects the first variant that can be ordered instead of the first one in the list, so customers do not land on a sold-out choice.
In the product configurator of quotations, variants hidden in Sales are greyed out, and out-of-stock variants as well once the company's option is on. The configurator opens on an available variant.
When every variant is out of stock, the product page is shown as usual, out of stock. Variants hidden by hand stay hidden.
Products that also have options which never create variants, such as gift wrapping, are handled: the greying out takes the chosen option into account.

The jacket's variants with their Hide on Website and Hide in Sales switches: Forest L is hidden on the website, Sand L in quotations.

Website settings: out-of-stock variants unavailable, and unavailable values greyed out or hidden.
We build custom Odoo modules and changes to this one at a fixed price, from €950 excluding VAT. Small modules are usually delivered within five working days, tested on your Odoo version. Describe what you need to hello@bizzkitt.ai.
Bitwerf is a trade name of BizzKitt B.V., Frederikstraat 67, 3034 LD Rotterdam, the Netherlands (KvK 42149345, VAT NL869932354B01). Questions: hello@bizzkitt.ai · Support · Privacy · Terms