Jump to content
  • Checkout
  • Login
  • Get in touch

osCommerce

The e-commerce.

Changing tep_href_link


sonictrip.net

Recommended Posts

Hi,

 

Im trying to change the link generated by this code:

 

<a href="' . tep_href_link(FILENAME_PRODUCT_INFO, 'products_id=' . $this->productsInfo[$i]['products_id']) . '" style="' . $cssLink . '">' . tep_image(HTTP_CATALOG_SERVER_EMAIL . DIR_WS_CATALOG_IMAGES_EMAIL . $this->productsInfo[$i]['products_image'], $this->productsInfo[$i]['products_name'], 150) . '<br>' . $this->productsInfo[$i]['products_name'] . '</a>

 

The above code links to my ADMIN site but i'd like to make the link go to the CATALOG side instead. How would i go about doing this? tep_href_link seems to give me the admin link. I made a variable with the catalog address in it called HTTP_CATALOG_SERVER_EMAIL but when i change it with tep_href_link i cant seem to get it working, probably just the wrong syntax, anyone have any idea how to rewrite the above code with HTTP_CATALOG_SERVER_EMAIL ?

 

Thanks!

Link to comment
Share on other sites

Archived

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

×
×
  • Create New...