Commerce Commerce 1.x Snippets get matrix

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

Added in 0.12.

Usage

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

Properties

  • &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.

Usage

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