Commerce Commerce 1.x Snippets get matrix

The commerce.get_matrix snippet is used to output a product matrix

Added in 0.12.


[[!commerce.get_matrix? &matrix=`123`]]


  • &matrix: the ID of the matrix to output. Typically, you provide the value of the Product Matrix TV here.
  • &tpl: the name of a twig template to use for rendering the matrix. Defaults to frontend/matrix/tabular.twig.


See the product matrix documentation for examples and how to use this snippet.