How to remove the "All categories" link

Sometimes, when you have few categories, you may want to remove the “All categories” link. Here is how to do this:

OMF v2.x

Upload the file attached to this article to the vqmod/xml directory on your store

Previous versions of OMF

  1. Create a mobile theme, if you don't have one already. This is to make sure that you will keep your customizations, if you upgrade OMF in the future.
  2. Create a new directory inside of /catalog/view/theme/your_mobile_theme/ and name it template
  3. Create a new directory inside of /catalog/view/theme/your_mobile_theme/template/ and name it common
  4. Copy the file /catalog/view/theme/omf/template/common/footer_mobile.tpl

    to /catalog/view/theme/your_mobile_theme/template/common
  5. Open up the newly copied file(/catalog/view/theme/your_mobile_theme/template/common/footer_mobile.tpl) in any text editor (e.g. SublimeText)
  6. Search for <?php echo $all_categories; ?>
  7. Delete the entire line:
    <a href="<?php echo $all_categories; ?>" class="stack"><?php echo $text_all_categories; ?></a>
  8. This will remove the “All categories” link from the navigation. 
  9. Don't forget to save the file.
Have more questions? Submit a request

0 Comments

Article is closed for comments.
Powered by Zendesk