How to remove “New Products …, All Products” in Zen Cart main page?

Open tpl_categories.php under include/templates/template_default/siteboxes/

 1. Remove New Products…,

At line 80,

if ($show_this->RecordCount() > 0) {
        $content .= ‘<a class=”category-links” href=”‘ . zen_href_link(FILENAME_PRODUCTS_NEW) . ‘”>’ . CATEGORIES_BOX_HEADING_WHATS_NEW . ‘</a>’ . ‘<br />’ . “\n”;

Change the code to:

if ($show_this->RecordCount() < 0) {
        $content .= ‘<a class=”category-links” href=”‘ . zen_href_link(FILENAME_PRODUCTS_NEW) . ‘”>’ . CATEGORIES_BOX_HEADING_WHATS_NEW . ‘</a>’ . ‘<br />’ . “\n”;

2. Remove All products…

Go to line 90,

if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == ‘0’) {
      $content .= ‘<a class=”category-links” href=”‘ . zen_href_link(FILENAME_PRODUCTS_ALL) . ‘”>’ . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . ‘</a>’ . “\n”;

Change the code to:

if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == ‘1’) {
      $content .= ‘<a class=”category-links” href=”‘ . zen_href_link(FILENAME_PRODUCTS_ALL) . ‘”>’ . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . ‘</a>’ . “\n”;

 Done!