Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Info box headers


Guest

Recommended Posts

Can anyone tell me why some of my infobox headers are not linking to the page i.e shopping cart. The text does not link.Which file do i need to change to enable this.

Link to comment
Share on other sites

Are you using the default infoboxes, or my custom graphical infobox headers contribution?

 

There was a bug in the last update of that contribution I made, which did not link properly in some of the boxes. I will be uploading an updated version of it over next day or two.

 

Otherwise if you are using the default infoboxes, see notes below.

 

You should hopefully see something like this mid way in the page:

 

<!-- shopping_cart //-->
         <tr>
           <td>
<?php
 $info_box_contents = array();
 $info_box_contents[] = array('text' => BOX_HEADING_SHOPPING_CART);

 new infoBoxHeading($info_box_contents, false, true, tep_href_link(FILENAME_SHOPPING_CART));

 

The last line is what links it to the shopping cart page. If your coding reads the same as above, then I would ask the following:

 

1. Can you get to your shopping cart page manually by going to:

www.yoursite.com/catalog/shopping_cart.php

 

2. Open this page:

 

/INCLUDES/FILENAMES.PHP

 

And confirm the following entry is in there:

 

define('FILENAME_SHOPPING_CART', 'shopping_cart.php');

 

One of these should resolve your issue, otherwise open /catalog/includes/boxes/shopping_cart.php copy the coding and paste it here.

Sincerely,

Bruce

 

19 contributions submitted

Link to comment
Share on other sites

Can anyone tell me why some of my infobox headers are not linking to the page i.e shopping cart. The text does not link.Which file do i need to change to enable this.

 

catalog\includes\boxes\shopping_cart.php

 

change line 20 to this

 

  new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART), tep_href_link(FILENAME_SHOPPING_CART));

:-)

Monika

 

addicted to writing code ... can't get enough of databases either, LOL!

 

my toolbox: Textpad - Compare and Merge - phpMyAdmin - WS_FTP - Photoshop - How to search the forum

 

Interactive Media Award July 2007 ~ category E-Commerce

my advice on the forum is for free, PMs where you send me work are considered consultation which I charge for ...

Link to comment
Share on other sites

catalog\includes\boxes\shopping_cart.php

 

change line 20 to this

 

 ?new infoBoxHeading($info_box_contents, false, false, tep_href_link(FILENAME_SHOPPING_CART), tep_href_link(FILENAME_SHOPPING_CART));

 

 

Thank you i have it sorted now.

 

 

Jaz

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...