EmicoEcommerce / Magento2Tweakwise-archived

Magento 2 module for Tweakwise integration
Other
9 stars 25 forks source link

isCollapsible & isCollapsed are null #5

Closed chefbuitenhuis closed 7 years ago

chefbuitenhuis commented 7 years ago

Issue Brief

I am trying to make the filters as configured by Tweakwise however, when trying to access to settings, the magic getters for isCollapsible and isCollapsed are returning null. The other getters are working as expected.

I've tried to fix this by myself, but this is not possible. I tried to do so by creating a preference for the SettingsType model but this is not possible because the model isn't instantiated by the ObjectManager.

Environment

Steps to reproduce

  1. Install Magento 2.17
  2. Install Tweakwise 1.0-x-dev
  3. In LayeredNavigation/templates/layer/view.phtml try to dump $filter->getFacet()->getFacetSettings()->getIsCollapsible();

Actual result

  1. Both functions return NULL

Expected result

  1. Both functions return their values as defined in Tweakwise