Zen Cart Logo
Forums / General Questions / BACK NEXT on product info disappeared

BACK NEXT on product info disappeared

Locked

Views: 1,041

Results 1 to 3 of 3
This thread is locked. New replies are disabled.
2 May 2007, 5:14 AM
#1
hereliesboots avatar

hereliesboots

New Zenner

Join Date:
Mar 2007
Posts:
34
Plugin Contributions:
0

BACK NEXT on product info disappeared

I am tearing my hair out. Why on earth did my previous next buttons on my product info pages disappear. i never disabled it. it is ON in admin. Any ideas? is it located in mulitple places in the admin?

Also... why when i have additional images to they overlap eachother??
how do i change this.
thank you

and any suggestions on how to use the webdeveloper tool by firefox to change your stylesheet for temporary viewing purposes would be appreciated. thanks.
erika

2 May 2007, 12:21 PM
#2
lebrand2006 avatar

lebrand2006

Zen Follower

Join Date:
Apr 2006
Location:
City Drama in Greece
Posts:
158
Plugin Contributions:
3

Re: BACK NEXT on product info disappeared

Well, I am not the right person to reply but I would suggest the following :

  1. Go to Admin->Configuration->Product Info to check the following :

    Previous Next - Navigation Bar Position
    Location of Previous/Next Navigation Bar
    0= off
    1= Top of Page
    2= Bottom of Page
    3= Both Top and Bottom of Page

If this is what you mean that "it is ON in Admin" and you have configured it, then,

  1. Go to your "catalog\includes\templates\template_default\templates" where "template_default" is YOUR TEMPLATE [if you use a custom template], and open the file "tpl_product_info_display.php" with the text editor you use.

In this file search for "<!--eof Prev/Next top position -->" and check if you can see the following or similar to the following :

<!--eof 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-->

If you can't find this, then add it. I believe this exists even if you have made heavy changes to your template, but just in case you can check it.

Also open and check the file "tpl_products_next_previous.php" located in folder "templates" where YOUR TEMPLATE is, for the following or similar to it :

<div class="navNextPrevWrapper centeredContent"> <?php // only display when more than 1 if ($products_found_count > 1) { ?> <p class="navNextPrevCounter"><?php echo (PREV_NEXT_PRODUCT); ?><?php echo ($position+1 . "/" . $counter); ?></p> <div class="navNextPrevList"><a href="<?php echo zen_href_link(zen_get_info_page($previous), "cPath=$cPath&products_id=$previous"); ?>"><?php echo $previous_image . $previous_button; ?></a></div> <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> <div class="navNextPrevList"><a href="<?php echo zen_href_link(zen_get_info_page($next_item), "cPath=$cPath&products_id=$next_item"); ?>"><?php echo $next_item_button . $next_item_image; ?></a></div> <?php } ?> </div>

If everything is ok, for the moment I can not remember what else could be wrong.

2 May 2007, 12:41 PM
#3
lebrand2006 avatar

lebrand2006

Zen Follower

Join Date:
Apr 2006
Location:
City Drama in Greece
Posts:
158
Plugin Contributions:
3

Re: BACK NEXT on product info disappeared

A small change in my reply :

  1. Go to Admin->Configuration->Product Info to check the following :

    PRESS "Previous Next - Navigation Bar Position" in the 4th line and configure