Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Linking to list views from product pages


Guest

Recommended Posts

I have tried various things but I think it may be easier just to ask the question here. Thanks in advance for your help.

 

 

On my site the users click on the categories menu and are shown the sub groups, but then when they click again they are redirected throught htaccess to a product page. this page includes a scrolling image bar of all priducts in the category.

 

I would like my product info page to include a link back to the listing page should users want to see the whole listings. I am sure this is possible using the "current_category_id" variable or similar, but anyone show exactly how it should be done?

Link to comment
Share on other sites

I would like my product info page to include a link back to the listing page should users want to see the whole listings. I am sure this is possible using the "current_category_id" variable or similar, but anyone show exactly how it should be done?

 

Hi cymonguk, I Need a little help with the scrolling images that's how i found this post. Did you solve this. I mean you need the back button fix i,am not sure where i got it from but here it is. This is what i have in my product info page.

 

After

 

<tr class="infoBoxContents">

<td><table border="0" width="100%" cellspacing="0" cellpadding="2">

<tr>

<td width="10"><?php echo tep_draw_separator('pixel_trans.gif', '10', '1'); ?></td>

 

 

Insert

 

<?php

$back = sizeof($navigation->path)-2;

if (isset($navigation->path[$back])) {

?>

<td class="main" align="center"><?php echo '<a href="' . tep_href_link($navigation->path[$back]['page'], tep_array_to_string($navigation->path[$back]['get'], array('action')), $navigation->path[$back]['mode']) . '">' . tep_image_button('button_back.gif', IMAGE_BUTTON_BACK) . '</a>'; ?></td>

<?php } else {?>

<td class="main" align="center"><a href="java script:history.go(-1)"><?php echo tep_image_button('button_back.gif', IMAGE_BUTTON_BACK); ?></a></td>

<?php

}

?>

 

 

that's it.

 

 

I also need your help with scrolling images in header can't get the images to show check my source file and images are there but not showing .

 

Thanks Cultuebee

Link to comment
Share on other sites

Archived

This topic is now archived and is closed to further replies.

×
×
  • Create New...