cancel
Showing results for 
Search instead for 
Did you mean: 

override layerednav specific for module

override layerednav specific for module

We use the shopbybrand module and this module has a conflict with another module (aheadworks layerednav}

Ahead Layernav is overriding the default magento layered nav

but shopbybrand is only working with the default magento layered nav.

How can i override the layered nav only for this ShopByBrand module.

2 REPLIES 2

Re: override layerednav specific for module

Hello @jeroen_baas 

 

Please find which file/class overrides by aheadworks.

Once found, you need to override the aheadworks file/class either using di.xml or other Magento technique.

 

Hope it helps.

Problem solved? Click Kudos and "Accept as Solution".
200+ Magento 2 Extensions for Enhanced Shopping Experience.

Re: override layerednav specific for module

Thanks but if i override in my di.xml for this module, it's overridden everywhere. How can i do this only specify for this module. 

This module (ShopbyBrand) loads the catalog_category_view.xml (Ahead Layered Nav) is overriding this instead of the default layered nav.