OdooWiki OCA HUB

Product matrix in eCommerce

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

With this module we'll be able to use the product matrix in the eCommerce so our customers can easily add products to their carts.

auto_awesome What this module does

AI-generated from the code · Odoo 19.0

Lets online shoppers pick product variants from a grid (matrix) on the product page and in the product configurator, then add the chosen quantities to the cart in one go.

This module brings the product matrix used in sales orders to the eCommerce shop. On a product page, when the product is set to be added through a matrix, the normal quantity and add-to-cart buttons are replaced by a "Configure options" button. Clicking it opens a pop-up window showing a table of variants (rows and columns of attributes) where the customer can type a quantity for each combination; unavailable combinations are shown as "Not available". A button then updates the cart with all the selected options at once.

The same matrix is available inside the product configurator: a "Configure options" button opens a dialog with the matrix, and the chosen variants are listed with their quantities and prices. The total price shown in the configurator is recalculated from the matrix lines instead of the standard product price.

When the cart is updated, the module matches the selected variants with existing cart lines, adds only the missing quantity, and removes lines whose quantity is set to zero. If a product appears in several cart lines, changing its quantity raises an error. The matrix is also filled with the quantities already in the cart, so customers can adjust their selection.

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: 3 confirmed, 6 with no information of 9 versions.

Sources · Odoo 19.0

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

terminal Installation and usage

OCA documentation · Odoo 19.0

To configure this module, you need to:

  • Go to a product with variants or create one.
  • In the Attributes and variants tab, Sales Variant Selection section, select Order grid entry.

To use this module, you need to:

  • Go to the configured product web page.
  • You'll se the matrix where you can add units to the cart.

When adding one of these products to the cart from the shop, the product configurator shows a Configure options button instead of the quantity selector. It opens the matrix filled in with the quantities already in the cart, as in the product page, and the variants filled in it are listed in the configurator. On confirming it, the cart is updated with those quantities.

No verified information in OCA: Installation.

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.