Zen Cart Logo
Forums / Basic Configuration / Removing Previous/Product Listing/Next Buttons

Removing Previous/Product Listing/Next Buttons

Locked

Views: 3,756

Results 1 to 2 of 2
This thread is locked. New replies are disabled.
28 Apr 2009, 8:53 AM
#1
mb12 avatar

mb12

New Zenner

Join Date:
Apr 2009
Posts:
1
Plugin Contributions:
0

Removing Previous/Product Listing/Next Buttons

I am using Zencart version 1.3.7.1 and wonder if anyone can help me solve a problem.
I would like the previous and Next buttons to remain on the product page but do not want the Product listing button to appear.
Is there a way of switching it off. Also can I make the buttons look a cetain way ie: a outline box with text inside but only for these boxes - not for add to basket etc. I am posting a link so you can see what I mean.
http://www.eni-uk.co.uk/index.phpmain_page=product_info&cPath=2&products_id=9
Any help gratefully received!

28 Apr 2009, 1:01 PM
#2
haredo avatar

haredo

Totally Zenned

Join Date:
Apr 2006
Location:
Texas
Posts:
6,183
Plugin Contributions:
0

Re: Removing Previous/Product Listing/Next Buttons

MB12:

I am using Zencart version 1.3.7.1 and wonder if anyone can help me solve a problem.
I would like the previous and Next buttons to remain on the product page but do not want the Product listing button to appear.
Is there a way of switching it off. Also can I make the buttons look a cetain way ie: a outline box with text inside but only for these boxes - not for add to basket etc. I am posting a link so you can see what I mean.
http://www.eni-uk.co.uk/index.phpmain_page=product_info&cPath=2&products_id=9
Any help gratefully received!

Mb,
Locate this .php file: tpl_products_next_previous.php

  1. Place in your_template override folder name:
  2. You are using custom
  3. includes/ templates/ custom/ templates/ tpl_products_next_previous.php
    Find this: Around line 27
<div class="navNextPrevList"><a href="<?php echo zen_href_link(FILENAME_DEFAULT, "cPath=$cPath"); ?>"><?php echo zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST, BUTTON_RETURN_TO_PROD_LIST_ALT); ?></a></div>
```Change to this:  All we are doing is commenting out the .php code here so if you need it back just take out the comments we added here..
```php
<!--<div class="navNextPrevList"><a href="<?php echo zen_href_link(FILENAME_DEFAULT, "cPath=$cPath"); ?>"><?php echo zen_image_button(BUTTON_IMAGE_RETURN_TO_PROD_LIST, BUTTON_RETURN_TO_PROD_LIST_ALT); ?></a></div>-->
```Bye the way, Nice clean site, pleasant colors you used to accent your product.. :)

> A small note to read about the product page..
>   
>    1. <https://www.zen-cart.com/tutorials/index.php?article=190>[](https://www.zen-cart.com/tutorials/index.php?article=190)