Jump to content

No search box in Starter theme?


Recommended Posts

Hello

First time developing a theme for PrestaShop.

I'm using the Starter theme (downloaded from Github). Have cleaned out all the default styles.

But, there are no search box in the header? The Admin > Manage installed modules says it's "Enabled". I also tried to add the ps_searchbar module from the Classic theme - but that did not helped.

PrestaShop 1.7.4.4 with Smarty cache turned off.

/ Magnus

Link to comment
Share on other sites

  • 1 year later...

Okay so very late reply and you have probably solved it (and the starter theme is no longer supported) but for anyone who comes across this issue: In your theme.yml you have to add the searchbar hook to "global_settings > hooks > modules_to_hook > displayTop" and then on the net line below "- ps_mainmenu" add "- ps_searchbar". I also had to switch to classic theme and back to make it work.

Edited by Steem (see edit history)
Link to comment
Share on other sites

Create an account or sign in to comment

You need to be a member in order to leave a comment

Create an account

Sign up for a new account in our community. It's easy!

Register a new account

Sign in

Already have an account? Sign in here.

Sign In Now
×
×
  • Create New...