When attempting to compare product features on the SCA web store, if certain facet fields are not selected on the web store setup, the error – Uncaught TypeError: Cannot read property ‘matrixtype’ of undefined, is thrown in the console.

Solution
To resolve this, follow the set of instructions below:
- Navigate to Commerce > Websites > Website Lists
- Select the desired Website Record: Click Edit
- Click Field Sets tab
- Under the details field set, add the following:
- itemoptions_detail
- Click Submit
- details field set:Click OK
- Note: This is to ensure that the field was actually added to the field set
- Website Record: Click Save