Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default All Products Listing only with Specials???

    Hi,

    My when I set 'Show Specials Link' to false, my 'All Products' link disapears even though its set to true.

    Is this normal ? what could be causing it?

  2. #2
    Join Date
    Sep 2003
    Location
    Ohio
    Posts
    69,402
    Plugin Contributions
    6

    Default Re: All Products Listing only with Specials???

    Sounds like your template ... I cannot reproduce this error ...

    What happens if you change to the Classic Template? Does this fix the problem?
    Linda McGrath
    If you have to think ... you haven't been zenned ...

    Did YOU buy the Zen Cart Team a cup of coffee and a donut today? Just click here to support the Zen Cart Team!!

    Are you using the latest? Perhaps you've a problem that's fixed in the latest version: [Upgrade today: v1.5.5]
    Officially PayPal-Certified! Just click here

    Try our Zen Cart Recommended Services - Hosting, Payment and more ...
    Signup for our Announcements Forums to stay up to date on important changes and updates!

  3. #3
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: All Products Listing only with Specials???

    I am using a custom template. no problem with the Classic green template.

    How do I go about troubleshooting?

    Cheers

    Nigel

  4. #4
    Join Date
    Feb 2008
    Posts
    36
    Plugin Contributions
    0

    Default Re: All Products Listing only with Specials???

    fixed it by removing:

    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
    $content .= ''; // insert a blank line/box in the menu

    }

    from tpl_categories_css.php

    Code:
    <?php
    
    // $Id: tpl_categories_css.php 2004/06/23 00:00:00 DrByteZen Exp $
    //
      $content = "";
    
        $content .= '<div id="nav-cat">';
        $content .= $menulist; // see the modules/sideboxes/YOURTEMPLATE/categories_css.php for this
    
    if (SHOW_CATEGORIES_BOX_SPECIALS == 'true' or SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
        $content .= '';  // insert a blank line/box in the menu
    
        if (SHOW_CATEGORIES_BOX_SPECIALS == 'true') {
          $content .= '<ul class="level1"><li><a href="' . zen_href_link(FILENAME_SPECIALS) . '">' . CATEGORIES_BOX_HEADING_SPECIALS . '</a></li></ul>';
        }
        if (SHOW_CATEGORIES_BOX_PRODUCTS_NEW == 'true') {
          $content .= '<ul class="level1"><li><a href="' . zen_href_link(FILENAME_PRODUCTS_NEW) . '">' . CATEGORIES_BOX_HEADING_WHATS_NEW . '</a></li></ul>';
        }
        if (SHOW_CATEGORIES_BOX_FEATURED_PRODUCTS == 'true') {
          $show_this = $db->Execute("select products_id from " . TABLE_FEATURED . " where status= 1 limit 1");
          if ($show_this->RecordCount() > 0) {
            $content .= '<ul class="level1"><li><a href="' . zen_href_link(FILENAME_FEATURED_PRODUCTS) . '">' . CATEGORIES_BOX_HEADING_FEATURED_PRODUCTS . '</a></li></ul>';
          }
        }
        if (SHOW_CATEGORIES_BOX_PRODUCTS_ALL == 'true') {
          $content .= '<ul class="level1"><li><a href="' . zen_href_link(FILENAME_PRODUCTS_ALL) . '">' . CATEGORIES_BOX_HEADING_PRODUCTS_ALL . '</a></li></ul>';
        }
     }
      $content .= '</div>';
    
    
    // May want to add ............onfocus="this.blur()"...... to each A HREF to get rid of the dotted-box around links when they're clicked.
    // just parse the $content string and insert it into each A HREF tag
    
    ?>

 

 

Similar Threads

  1. v150 Specials listing and sidebox will only show ONE product
    By DivaVocals in forum Setting Up Categories, Products, Attributes
    Replies: 5
    Last Post: 2 Apr 2012, 02:10 AM
  2. ALL Specials Below Sub Category Listing
    By Paul69 in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 23 Feb 2011, 06:14 PM
  3. Can this be done? All products on main listing with attributes & buy now?
    By aly22 in forum Setting Up Categories, Products, Attributes
    Replies: 2
    Last Post: 3 Jul 2008, 05:03 AM
  4. Specials on all products
    By Tom_Ace in forum Setting Up Categories, Products, Attributes
    Replies: 3
    Last Post: 29 Dec 2007, 12:58 AM
  5. SQL for Listing all Products with Stock Numbers
    By crabacle in forum General Questions
    Replies: 2
    Last Post: 19 Jul 2007, 04:16 PM

Bookmarks

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg
Zen-Cart, Internet Selling Services, Klamath Falls, OR