Results 1 to 7 of 7
  1. #1
    Join Date
    Sep 2009
    Posts
    24
    Plugin Contributions
    0

    Default I edited the tpl_product_info_display but it still shows?

    ...I want to remove the Previous/Next Navigation in _product listing_


    I removed this code (below) from the product_info_display but the previous-next link on top still shows. I even edited the one in template_default, but it still didn't work.


    <!--bof Prev/Next top position -->
    <?php if (PRODUCT_INFO_PREVIOUS_NEXT == 1 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-->



    EDIT: OOPS I see now I removed it from the Product Info page, I want to remove it from the product listing. Does anyone know how I can do that?
    Last edited by evvano; 22 Oct 2009 at 02:01 PM.

  2. #2
    Join Date
    Sep 2009
    Posts
    24
    Plugin Contributions
    0

    Default Re: I edited the tpl_product_info_display but it still shows?

    I found it in the product listing page, lol

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I edited the tpl_product_info_display but it still shows?

    Any time you see something like
    PHP Code:
    if (PRODUCT_INFO_PREVIOUS_NEXT == or PRODUCT_INFO_PREVIOUS_NEXT == 3) { 
    that usually indicates that there is an admin switch that can control the output without editing code. You can't completely eliminate that function for the listing pages because it is necessary, but you can set the location so it doesn't appear at the top:
    Configuration > Product Listing > Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)

  4. #4
    Join Date
    Oct 2009
    Posts
    30
    Plugin Contributions
    0

    Default Re: I edited the tpl_product_info_display but it still shows?

    Quote Originally Posted by gjh42 View Post
    Any time you see something like
    PHP Code:
    if (PRODUCT_INFO_PREVIOUS_NEXT == or PRODUCT_INFO_PREVIOUS_NEXT == 3) { 
    that usually indicates that there is an admin switch that can control the output without editing code. You can't completely eliminate that function for the listing pages because it is necessary, but you can set the location so it doesn't appear at the top:
    Configuration > Product Listing > Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)

    Hi Glenn~

    I have my setting turned to 2 for bottom only but the next previous is still showing on top and bottom? Help please...THANK YOU in advance

  5. #5
    Join Date
    Oct 2009
    Posts
    30
    Plugin Contributions
    0

    Default Re: I edited the tpl_product_info_display but it still shows?

    Quote Originally Posted by gjh42 View Post
    Any time you see something like
    PHP Code:
    if (PRODUCT_INFO_PREVIOUS_NEXT == or PRODUCT_INFO_PREVIOUS_NEXT == 3) { 
    that usually indicates that there is an admin switch that can control the output without editing code. You can't completely eliminate that function for the listing pages because it is necessary, but you can set the location so it doesn't appear at the top:
    Configuration > Product Listing > Prev/Next Split Page Navigation (1-top, 2-bottom, 3-both)

    Hi Glenn~

    I have my setting turned to 2 for bottom only but the next previous is still showing on top and bottom? Help please...THANK YOU in advance

  6. #6
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: I edited the tpl_product_info_display but it still shows?

    Post a link to see your site. Some template makers may disable certain admin functions.

  7. #7
    Join Date
    Oct 2009
    Posts
    30
    Plugin Contributions
    0

    Default Re: I edited the tpl_product_info_display but it still shows?

    Quote Originally Posted by gjh42 View Post
    Post a link to see your site. Some template makers may disable certain admin functions.
    Thank you Glenn...here's my site and prob.........many thanks

 

 

Similar Threads

  1. v153 Upgrade database -- but it still shows pre-import data
    By kevin_a in forum Upgrading to 1.5.x
    Replies: 17
    Last Post: 6 Jan 2015, 05:20 AM
  2. v150 saved over template image but still shows old image
    By bodkin77 in forum Setting Up Categories, Products, Attributes
    Replies: 1
    Last Post: 24 Apr 2013, 04:22 PM
  3. Footer - Show IP Address status -- is off, but still shows?
    By ykaldes in forum Basic Configuration
    Replies: 0
    Last Post: 6 Aug 2009, 04:36 AM
  4. Item Sold but still shows as available?
    By PastGenToys in forum General Questions
    Replies: 1
    Last Post: 26 Jun 2007, 06:12 AM
  5. Starting Price: Turned off but $ still shows.
    By clane777 in forum General Questions
    Replies: 1
    Last Post: 19 Nov 2006, 09:34 AM

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