adding categories to the header bar? - Ecommerce x PrestaShop - PrestaShop

Jump to content

Photo

adding categories to the header bar?

header bar categories

#1

Posted 16 September 2012 - 11:11 PM

hadlowj

    PrestaShop Apprentice

  • Members
  • PipPip
  • 48 Active Posts
How does one go about adding categories to the header bar it only say Home at the moment, I did manage to get one extra one on there but now no more will add, I removed it and tried to add it again but if does not show?

Thanks
James

#2

Posted 16 September 2012 - 11:19 PM

clayton29657

    PrestaShop Addict

  • Members
  • PipPipPip
  • 646 Active Posts
Hey hadlowj,

What version of prestashop are you using? Are you adding categories through your admin back office?

#3

Posted 16 September 2012 - 11:29 PM

hadlowj

    PrestaShop Apprentice

  • Members
  • PipPip
  • 48 Active Posts
1.5 and yes through back office.

Edited by hadlowj, 16 September 2012 - 11:29 PM.


#4

Posted 16 September 2012 - 11:43 PM

clayton29657

    PrestaShop Addict

  • Members
  • PipPipPip
  • 646 Active Posts
and you do not see the add a new sub-category page right under home tab?

#5

Posted 16 September 2012 - 11:48 PM

hadlowj

    PrestaShop Apprentice

  • Members
  • PipPip
  • 48 Active Posts
I see in the back office, catalog > categories > New, add a new one, then if you mouse over Home on the front office its in the drop down but before i got it to show next to the Home.

#6

Posted 16 September 2012 - 11:51 PM

clayton29657

    PrestaShop Addict

  • Members
  • PipPipPip
  • 646 Active Posts
hmmm thats an odd issue can you take a screen shot so I can see. I never had this issue before.

#7

Posted 16 September 2012 - 11:55 PM

hadlowj

    PrestaShop Apprentice

  • Members
  • PipPip
  • 48 Active Posts
screen

Attached Files



#8

Posted 17 September 2012 - 12:17 AM

clayton29657

    PrestaShop Addict

  • Members
  • PipPipPip
  • 646 Active Posts
hmmm now that is very weird. and you had the category before beside it? Make sure youre on the home page making the category and not the sub-page

When you are on home page and make the sub-category it should put it right beside it. I have no clue why its doing this I would recommend waiting till someone can help you more. Sorry I couldn't be of more help my friend.

Clayton

Edited by clayton29657, 17 September 2012 - 12:18 AM.


#9

Posted 17 September 2012 - 12:24 AM

the.rampage.rado

    PrestaShop Apprentice

  • Members
  • PipPip
  • 349 Active Posts
The horizontal top menu is a module and it's configured manually for each language.

You have to find the module and decide which categories/external links/etc to add there.

#10

Posted 17 September 2012 - 12:27 AM

hadlowj

    PrestaShop Apprentice

  • Members
  • PipPip
  • 48 Active Posts
thats weird, because before I just installed a fresh prestshop, added the category and it showed next to it, then another and it showed, but the third did not nor the fourth, then deleted all the ones i had made and tried again bust this time none of them showed next to it. Any idea on what the module is called?

Thanks again

#11

Posted 17 September 2012 - 12:40 AM

the.rampage.rado

    PrestaShop Apprentice

  • Members
  • PipPip
  • 349 Active Posts
Top horizontal menu .... maybe... :D

#12

Posted 23 October 2012 - 08:49 PM

Jumbojet

    PrestaShop Newbie

  • Members
  • Pip
  • 17 Active Posts
I am experiencing the same difficulty. Please, any help out there?

#13

Posted 12 November 2012 - 12:06 PM

sshare

    PrestaShop Apprentice

  • Members
  • PipPip
  • 115 Active Posts
BO > Modules > Modules > Top Horizontal Menu > Configure

There you can add almost anything from the rest of your shop to the horizontal menu bar as you please.

#14

Posted 15 March 2013 - 11:54 PM

everythingdog

    PrestaShop Newbie

  • Members
  • Pip
  • 16 Active Posts

BO > Modules > Modules > Top Horizontal Menu > Configure

There you can add almost anything from the rest of your shop to the horizontal menu bar as you please.


this

#15

Posted 22 April 2013 - 07:22 PM

tkmops

    PrestaShop Newbie

  • Members
  • Pip
  • 12 Active Posts
I've tried everything that this post says to do(and other posts also), but I can't get the 'Categories', 'Products', or 'About Us' drop-down menus to appear. This is how it's supposed to look....http://themes.withinpixels.com/autumn/. This is my site now.... http://www.popcultureheaven.com/. I've added 4 categories(see site map)...I need the 4 'Books' categories to appear under a 'Categories' drop-down menu on the home page. Thanks!

#16

Posted 24 May 2013 - 10:53 AM

Manik

    PrestaShop Newbie

  • Members
  • Pip
  • 18 Active Posts
Hi tkmops,

override
modules/blocktopmenu/blocktopmenu.php
i.e. copy this file to
/themes/<your themefolder="">/modules/blocktopmenu/blocktopmenu.php</your>
then find the function getCategory()
at the end of this function, add a little code (red lines): at line number 647
if (count($children))
{
if ($category->level_depth <= 1) // 1 is level you still want to show
{

$this->_menu .= '<ul>';

foreach ($children as $child)
$this->getCategory((int)$child['id_category'], (int)$id_lang, (int)$child['id_shop']);

$this->_menu .= '</ul>';
}
}
$this->_menu .= '</li>';


This should do the trick.

Hope this helps,



0 user(s) are reading this topic

0 members, 0 guests, 0 anonymous users

Cookies help us deliver our services. By using our services, you agree to use our cookies.     Learn more