Jump to content

[Solved?]Categories block do not show categories when set to dynamic


Recommended Posts

Hello,
i'm using P.S 1.4.0.17, default theme.
Categories block do not show correctly - if it is set to dynamic behaviour it doesn't show categories at all. If it is set to static behaviour - everything is fine. See attachment.

Any one had similar experience? Any one knows how to solve this?

Thank you in advance for any help.

41632_PoWNJrNYDZfFfoydjtYO_t

Link to comment
Share on other sites

but for some reason the tag

  • gets a style="display: none" which hides the categories.


Yep, i found this my self. After two days of trying to figure out what was the reason i gave up.
Did fresh install of PS 1.4 - working correctly for this moment.

Thank you for taking a look anyway.
Link to comment
Share on other sites

Ok, a massive update.
I installed fresh version of PS 1.4.0.17 everything seemd fine for a moment.
When i started to move modules positions - same bug appeared - Categories do not show up when set to dynamic, it becomes

  • .
    So it's really a bug and I guess it depends on what modules you enable and where. Trying to figure out what were my last actions befor this.
Link to comment
Share on other sites

So finally found where something weird happens.
Fresh install 1.4.0.17, standard theme.
Disabled all the modules to start building from the scratch.
Enabled these modules:

Quick Search block v1.0 by PrestaShop
Cart block v1.2 by PrestaShop
Categories block v2.0 by PrestaShop
CMS Block v1.1 by PrestaShop
New products block v0.9 by PrestaShop
Featured Products on the homepage v0.9 by PrestaShop

After this Categories block meniu was working fine.

Then, i unhooked all modules (there were few) that were asigned to Header position in Back Office > Modules > Positions

And this is when Categories block menu stops working...

Fast way to test it:
After fresh install go to Back Office > Modules > Positions and unhook all Header modules.

Link to comment
Share on other sites

So after using trial and error method i finally solved this problem.
The thing is that Categories block v2.0 must be hooked not only in Left column, but also in Header of pages.
Then it works fine.
Dear prestashop developers i admire job you do, i donate to you and buy various your PS modules. But looks like PrestaShop v 1.4 is far from RC, not talking about the Final.

  • Like 3
Link to comment
Share on other sites

  • 3 weeks later...
So after using trial and error method i finally solved this problem.
The thing is that Categories block v2.0 must be hooked not only in Left column, but also in Header of pages.
Then it works fine.
Dear prestashop developers i admire job you do, i donate to you and buy various your PS modules. But looks like PrestaShop v 1.4 is far from RC, not talking about the Final.


How do i hook it in the header of pages ?
Link to comment
Share on other sites

  • 3 months later...

Thanks ufikas, I couldn't find it myself.
Haven't thought about looking into module code before - couse if module works at first and after some time crashes - it's not the code fault, right?

When you know how things work - it's plain simple: Header Hook is used to add CSS and JS scripts, so don't remove any modules from there.

Link to comment
Share on other sites

  • 4 months later...
  • 2 weeks later...
  • 2 months later...
  • 3 weeks later...
  • 1 month later...
×
×
  • Create New...