OpenCart is a beautiful platform for a client to get access to a totally free software bundle that powerfully and quickly gets them their own store front.
It comes with a bunch of loaded feathers, but sometimes we need to remove a few of the features, like the menu items in the footer area.
We came across a problem where the Extras section hadbrands, which we didn’t want. So, to remove this it was kind of a hack around what should really be a feature in the front end, but it worked anyways.
To edit it, we need to edit the footer.tpl file of the theme you’re using. If this is the default theme, it will be found:
Note:If you have a different theme,defaultabove will be changed for the theme name.
Now that we have footer.tplopen, we can edit the Extra section. To keep with good programming, and so that you can reverse your steps, I highly suggest you quote out what you don’t want, rather than delete it. Ours then looks like this:
<h3><?php echo $text_extra; ?></h3>
<!– <li><a href=”<?php echo $manufacturer; ?>”><?php echo $text_manufacturer; ?></a></li> –>
<li><a href=”<?php echo $voucher; ?>”><?php echo $text_voucher; ?></a></li>
<li><a href=”<?php echo $affiliate; ?>”><?php echo $text_affiliate; ?></a></li>
<li><a href=”<?php echo $special; ?>”><?php echo $text_special; ?></a></li>
You can see here how we didn’t want to have manufacturer in our Extrasmenu.
Hope this helps.
Big thanks to the OpenCart community for this tip.