Results 1 to 6 of 6
  1. #1
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Removing product 1 of xxx and listing, next, back buttons from product detail

    can somebody point me where to remove product x of y and buttons (next / back / listing) from top of the product detail page?

  2. #2
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Removing product 1 of xxx and listing, next, back buttons from product detail

    remove this section of code from your override copy of tpl_product_info_display.php
    PHP Code:
    <!--bof Prev/Next top position -->
    <?php if (PRODUCT_INFO_PREVIOUS_NEXT == or PRODUCT_INFO_PREVIOUS_NEXT == 3) { ?>
    <?php
    /**
     * display the product previous/next helper
     */
    require($template->get_template_dir('/tpl_products_next_previous.php',DIR_WS_TEMPLATE$current_page_base,'templates'). '/tpl_products_next_previous.php'); ?>
    <?php 
    ?>
    <!--eof Prev/Next top position-->
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  3. #3
    Join Date
    Jan 2009
    Posts
    118
    Plugin Contributions
    0

    Default Re: Removing product 1 of xxx and listing, next, back buttons from product detail

    can this be done through Admin dashboard, or do i need to make changes to the actual code?

  4. #4
    Join Date
    Sep 2004
    Location
    Western Massachusetts
    Posts
    2,945
    Plugin Contributions
    5

    Default Re: Removing product 1 of xxx and listing, next, back buttons from product detail

    Actually, you can turn it off in Admin.
    Admin > Configuration > Product Info > Previous Next - Button and Image Status
    Neville
    An assumption is what you arrive at when you get tired of thinking...

  5. #5
    Join Date
    Aug 2006
    Posts
    17
    Plugin Contributions
    0

    Default Re: Removing product 1 of xxx and listing, next, back buttons from product detail

    If you mean those buttons labeled "prev listing next" in each listing...

    The place to turn them off is at

    Admin > Configuration > Product Info > Previous Next - Navigation Bar Position.

    Its for Zen Cart version 1.3.7.1 (my current version) so for other versions, it might be different.

    You also can set this to once at the top of the listing or once at the bottom or both on.

  6. #6
    Join Date
    Apr 2010
    Posts
    20
    Plugin Contributions
    0

    Default Re: Removing product 1 of xxx and listing, next, back buttons from product detail

    Very helpful.. thanks

 

 

Similar Threads

  1. How to display lightbox directly from Product listing? (no product detail page)
    By y2caye in forum Templates, Stylesheets, Page Layout
    Replies: 1
    Last Post: 27 Jan 2010, 03:38 AM
  2. Removing Previous/Product Listing/Next Buttons
    By MB12 in forum Basic Configuration
    Replies: 1
    Last Post: 28 Apr 2009, 02:01 PM
  3. Prev/Product Listing/Next Buttons...
    By jenzi in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 19 Sep 2008, 08:16 AM
  4. Replace NEW - LISTING - NEXT buttons in Product Pages
    By KiwiBrian in forum Templates, Stylesheets, Page Layout
    Replies: 3
    Last Post: 30 Aug 2008, 08:23 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