Navigation Menu

Skip to content

Instantly share code, notes, and snippets.

@josephfinlayson
Created April 16, 2012 01:08
Show Gist options
  • Star 0 You must be signed in to star a gist
  • Fork 1 You must be signed in to fork a gist
  • Save josephfinlayson/2395705 to your computer and use it in GitHub Desktop.
Save josephfinlayson/2395705 to your computer and use it in GitHub Desktop.
Quick and dirty way for adding information pages on the top OpenCart Menu
Create a top level category in opencart - call it 'about us'
Add description, set it to show on the top level
Click on it. It looks great, it shows the information you want it to show... but it says this:
There are no products to list in this category.
Get rid of it to navigating to:
catalog/view/theme/default/template/product/category.tpl
and deleting:
<?php } ?>
<?php if (!$categories && !$products) { ?>
<div class="content"><?php echo $text_empty; ?></div>
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment