boxalino / plugin-magento2

boxalino plugin for Magento 2
1 stars 6 forks source link

Category navigation settings cannot be configured separately #11

Closed heldchen closed 8 years ago

heldchen commented 8 years ago

there seems currently no way to configure the Category view separately from the Search Result view - enabling the Filter and Left Facets on the Search config page will also enable them on the category view.

tatsuya1 commented 8 years ago

This should only happen if the navigation is enabled.

heldchen commented 8 years ago

navigation is disabled.

tatsuya1 commented 8 years ago

By enable on category view, you mean the slider or the whole filter?

heldchen commented 8 years ago

I'm not sure I follow. we do not want the boxalino filters & left facets to be loaded in the categories, yet they are and there seems to be no way to configure them separately from the SERP settings. this issue is related to the other issue #12 with the layout updates that are always applied.

currently, f.e. the bxSlider is always loaded on category classes because there's no separated configuration. this leads to exceptions when the category navigation is not what boxalino expects because the layout update is applied without checks as well.

heldchen commented 8 years ago

maybe it's a bit clearer now with the latest commits. in catalog_category_view_type_layered.xml you have:

<block class="Boxalino\Intelligence\Block\Facets" name="catalog.bxfilter.top"
   template="Boxalino_Intelligence::top_filters.phtml" before="-" 
   ifconfig="bxSearch/top_facet/enabled">
</block>

as we currently do not use the boxalino facets for navigating the categories, the ifconfig could look something like:

<block class="Boxalino\Intelligence\Block\Facets" name="catalog.bxfilter.top"
   template="Boxalino_Intelligence::top_filters.phtml" before="-" 
   ifconfig="bxCategories/top_facet/enabled">
</block>
heldchen commented 8 years ago

fixed in the latest commits, thanks!