Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Add "All Products" like to the Categories Box


Cowzor

Recommended Posts

Posted

I have installed the All Products contribution

 

I want to have a link in my categories box that says "All Products" so people can go havea look, but I can't figure out where to add the code

 

echo '<a href="' . tep_href_link(FILENAME_ALL_PRODUCTS) . '">' . ALL_PRODUCTS_LINK . '</a>';

 

in the /catelog/includes/boxes/categories.php file

 

Any help appreciated :thumbsup:

Posted
I have installed the All Products contribution

 

I want to have a link in my categories box that says "All Products" so people can go havea look, but I can't figure out where to add the code

in the /catelog/includes/boxes/categories.php file

 

Any help appreciated  :thumbsup:

 

 

here is mine ... go to the bottom of the categories box and change it to look like this: (I have used two new links)

 

tep_show_category($first_element);

$info_box_contents = array();
$info_box_contents[] = array('text' => $categories_string);
$info_box_contents[] = array('text' => tep_draw_separator());

$text2 = '';

$text2 .= '<a href="' . tep_href_link(FILENAME_CUSTOM_WORK, BOX_HEADING_CUSTOM_WORK, 'NONSSL') . '">' . BOX_HEADING_CUSTOM_WORK . '</a><br>';

$text2 .= '<a href="' . tep_href_link(FILENAME_COLORS_PATTERNS, BOX_INFORMATION_COLORS, 'NONSSL') . '">' . BOX_INFORMATION_COLORS . '</a>';

$info_box_contents[] = array('align' => 'left',
        'text' => $text2);

new infoBox($info_box_contents);

:-)

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 ...

Archived

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

×
×
  • Create New...