Question

When I click on a filter, page reloads and filters products correctly, but new state does not appear on sidebar menu. For some reason state block is not rendered.

I tried with default theme and it works, so it should be theme specific. Weird is that this anomaly does not happen on localhost. Even more weird is that when I turn on template hints with Magento debug module, it refreshes something and state block suddenly gets rendered. This however does not happen when I manually activate template hints.

So activating filters and removing them works but state block does not update. Only thing that makes state block render updated information is toggling template hints from Debug Module. What could cause that?

I just in case mention, that I also tried to deleting both, state.phtml and view.phtml in my custom theme catalog/layer, but this did not change anything.

What could it be?

Was it helpful?

Solution

Did you verify that it's really not rendered and checked the sourcecode your browser is getting? I had some strange things, that the block was rendered, but not displayed in the browser. Either it was some CSS stuff or invalid HTML structure.

If you're sure it's not in the source your server is delivering: Did you try to turn off the cache? Maybe it's a cache issue.

Licensed under: CC-BY-SA with attribution
Not affiliated with magento.stackexchange
scroll top