Results 1 to 6 of 6
  1. #1
    Join Date
    Aug 2007
    Posts
    120
    Plugin Contributions
    0

    Default Remove Displaying 1 to 2 (of 2 products)

    How do I remove the Displaying 1 to 2 (of 2 products) from product listings? Gone through Admin but can't find an easy switch for it....

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

    Default Re: Remove Displaying 1 to 2 (of 2 products)

    Peek in the settings for the Configuration ... Product Listing ... to alter the position of the display ...
    Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)
    Sets the location of the Prev/Next Split Page Navigation
    To totally remove it, you would need to customize the file:
    /includes/templates/template_default/templates/tpl_modules_product_listing.php

    and copy that to your templates and override directory and customize the section for:
    <?php if ( ($listing_split->number_of_rows > 0) && ( (PREV_NEXT_BAR_LOCATION == '1') || (PREV_NEXT_BAR_LOCATION == '3') ) ) {
    ?>
    <div id="productsListingTopNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div>
    <div id="productsListingListingTopLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y', 'main_page'))); ?></div>
    <br class="clearBoth" />
    <?php
    }
    ?>
    And the section for:
    <?php if ( ($listing_split->number_of_rows > 0) && ((PREV_NEXT_BAR_LOCATION == '2') || (PREV_NEXT_BAR_LOCATION == '3')) ) {
    ?>
    <div id="productsListingBottomNumber" class="navSplitPagesResult back"><?php echo $listing_split->display_count(TEXT_DISPLAY_NUMBER_OF_PRODUCTS); ?></div>
    <div id="productsListingListingBottomLinks" class="navSplitPagesLinks forward"><?php echo TEXT_RESULT_PAGE . ' ' . $listing_split->display_links(MAX_DISPLAY_PAGE_LINKS, zen_get_all_get_params(array('page', 'info', 'x', 'y'))); ?></div>
    <br class="clearBoth" />
    <?php
    }
    ?>
    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
    Aug 2007
    Posts
    120
    Plugin Contributions
    0

    Default Re: Remove Displaying 1 to 2 (of 2 products)

    Thanks Ajeh, spot on once again....

  4. #4
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: Remove Displaying 1 to 2 (of 2 products)

    Any ideas how I would go about this on the All Products page?

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

    Default Re: Remove Displaying 1 to 2 (of 2 products)

    Basically the same concept for the template file:
    tpl_products_all_default.php

    Find the similar sections as you saw in the other file ...
    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!

  6. #6
    Join Date
    Jun 2007
    Posts
    87
    Plugin Contributions
    0

    Default Re: Remove Displaying 1 to 2 (of 2 products)

    Ah, I was looking in tpl_products_all_display.php or something like that.

    Thanks :-)

 

 

Similar Threads

  1. Remove Price from displaying on select products
    By sfklaas in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jan 2012, 09:10 PM
  2. move or remove "displaying 91 to 100 products (of 101)"
    By wolf99 in forum Templates, Stylesheets, Page Layout
    Replies: 10
    Last Post: 20 Jan 2010, 01:01 PM
  3. Remove "Displaying # of Products"
    By RilKen27 in forum Templates, Stylesheets, Page Layout
    Replies: 4
    Last Post: 12 Mar 2009, 04:10 PM
  4. Displaying 1 to X (of X products) how do you remove?
    By bigfatgreedykat in forum Templates, Stylesheets, Page Layout
    Replies: 7
    Last Post: 11 Feb 2008, 03:00 AM
  5. Remove "Displaying 1 to N (of N products)"
    By headhurtz in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 6 Jan 2008, 11:32 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