Show categories in footer

ThemeBurn SupportForumsOpenCart ThemesShoppica 2 OpenCart ThemeShow categories in footer

This topic has been marked as resolved.

First of all let me say great job on version 2! It has given me options I needed, like multistore support, and it has incorporated most of my custom modifications as menu options.

I do miss one feature from version 1 though: the ‘show categories in footer’ option in the layout menu. This used to create an extra section under the footer with links to all categories, which was good for SEO.

Is there any chance you will bring this feature back in future updates?
Or is there another way to make this extra footer menu possible?

June 30, 2012 at 3:25 pm #10925

Hi,

We are sorry you miss this feature, but we had some strong reasons not to include it in Shoppica 2:

1) Performance – this category listing was really slowing the whole website.

2) Layout – in 99% of the cases the footer categories weren’t aligned well, due to the different number of subcategories in every top level category.

The real solution here would be a menu manager (just like in WordPress), or to put the whole listing manually. This way, you will be able to arrange everything neatly with no unnecessary blank space.

You will need to register in order to post topics and read replies in the ThemeBurn.com support forums!
July 3, 2012 at 10:22 am #11030

Cheers, will try this!

August 14, 2012 at 2:08 pm #12435

We will mark the topic as “resolved” for now. If you experience any problems, do not hesitate to ask here. :)

Best,
ThemeBurn team

August 18, 2012 at 4:11 pm #12643

Hi!

I am now starting to work with OpenCart’s multi store feature and would like each store to have its own categories in the footer. Is there some php condition I can wrap the above code in, like php if store = 0
category 1 shop A
category 2 shop A
category 3 shop A
php endif
php if store = 1
category 1 shop B
category 2 shop B
etc.

April 19, 2013 at 9:08 am #22260

Got it!

I used these directions (obviously editing footer files instead of header files):
http://stackoverflow.com/questions/13872124/get-current-store-id-in-opencart

For the footer.tpl file use code as follows:

<?php if ($store_id == 0) : ?>
**insert menu data store 1 here**
<?php endif ?>

<?php if ($store_id == 2) : ?>
**insert menu data store 2 here**
<?php endif ?>

April 19, 2013 at 2:17 pm #22278

Hi,

Unfortunately, for the moment this is the only way to insert custom content for multistores.

Best,
ThemeBurn team

April 22, 2013 at 4:53 pm #22398
Viewing 7 posts - 1 through 7 (of 7 total)
  • You must be logged in to reply to this topic.