Configuring the Matrix component
You can configure the Matrix component to define the input values that it needs to display style and quantity data.
Adding the Matrix component
- Click the icon in the editor and click Matrix.
- Click
- Specify a name in the Component ID.
- In the General Settings tab, specify the value in the Component heading field or leave it blank.
- Click .
Selecting the Matrix type
The Matrix includes multiple matrix types. You select the matrix type during configuration. Your selection defines the available fields and matrix behavior.
Setting up a source component
The Matrix is configured differently from most components. Its data retrieval is built in, so you do not connect it to a data service. Instead, it requires input from another component, called a source component, before it can display data. The source component provides the context for what the Matrix should show, such as the selected style, order number, or warehouse.
The source component must include fields that the Matrix can use as input. The fields that the Matrix requires depend on the Matrix type. At minimum, the source component must provide the required fields listed below. You can also include optional fields to filter the Matrix more specifically, such as color, size, warehouse, warehouse location, or delivery date.
Adding an interaction
To connect the Matrix to the source component, create an interaction.
Configuring the Style Matrix
For the Style matrix type, choose which stock quantities to display, such as on-hand, allocated, ordered, or requisitioned quantities, and choose whether to show SKU availability.