Results 1 to 5 of 5
  1. #1
    Join Date
    Aug 2006
    Posts
    32
    Plugin Contributions
    0

    help question Number of Products doesn't matter....Help Please

    I want to get rid of this:

    Displaying 1 to 10 (of 23 products)

    On this page...

    http://misight.com/index.php?main_page=index&cPath=117

    Anyone tell me where to edit this?
    Thanks! This forum is great!

  2. #2
    Join Date
    Dec 2004
    Location
    New York, USA
    Posts
    1,198
    Plugin Contributions
    0

    Default Re: Number of Products doesn't matter....Help Please

    I don't recall and admin switch for turning OFF that text. Most likely because it is helpful information to remind your visitors that there are more products on subsequent pages.

    You can set it to display Top only, Bottom only, or both Top and Bottom of the listing. That setting is in Admin->Configuration->Product Listing->Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)

    If that's not enough, then in your custom override copy of tpl_modules_product_listing.php you can comment out the script and it won't display.

    ZC ver 1.3.7 look around line # 26 and also 42

    change:
    Code:
    <?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?>
    to add the 2 slashes //
    Code:
    <?php // echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?>
    That's the "cheap" way to get rid of it.

  3. #3
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Number of Products doesn't matter....Help Please

    This works fine, but beware: there are TWO places in the file where you have to comment it out. I only did the first one I found and it didn't get rid of the "displaying ..." thing. Then I decided to see if there were other occurences of the same code, and there was one more. Commented that one out and finally got rid of it.
    v. 1.3.8a

  4. #4
    Join Date
    Jun 2005
    Location
    Cumbria, UK
    Posts
    10,263
    Plugin Contributions
    3

    Default Re: Number of Products doesn't matter....Help Please

    Rather than hack the core code, just add this to the bottom of your stylesheet.css file:

    Code:
    #productsListingTopNumber, #productsListingBottomNumber {
    display: none;
    }
    20 years a Zencart User

  5. #5
    Join Date
    Nov 2008
    Location
    Massachusetts
    Posts
    163
    Plugin Contributions
    0

    Default Re: Number of Products doesn't matter....Help Please

    Nice! Thanks!

 

 

Similar Threads

  1. Customer login doesn't work...help please!
    By waterloominis in forum General Questions
    Replies: 2
    Last Post: 1 Dec 2011, 02:10 PM
  2. Replies: 4
    Last Post: 1 Oct 2010, 05:09 AM
  3. Replies: 6
    Last Post: 10 Jun 2010, 01:13 PM
  4. PLEASE HELP! Search doesn't perform in Russian.
    By gleb486 in forum General Questions
    Replies: 0
    Last Post: 11 Oct 2008, 06:43 PM
  5. Customers table doesn't exist error - help please!
    By helen610 in forum Templates, Stylesheets, Page Layout
    Replies: 0
    Last Post: 17 Jan 2008, 04:47 AM

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