A sample project for checking product combinations in Odoo. Configurations to enable:
- Install sample module. This installs E-Commerce, Sales Management and Sample modules in Odoo.
- Enable Attributes and Variants in Sales Configuration.
- Create attributes and values.
- In Variants Section of the product, add necessary attributes and values.
- If you want to disable a Product Variant with cenrtain attribute and value combination, then open the variant and uncheck the Active Field.
- Visit the website, go to Shop menu and click on the product.
- When a disabled combination is selected, a message will be displayed saying the combination does not exist and the Add to Cart option is disabled.