Jump to content
  • Checkout
  • Login
  • Get in touch


The e-commerce.

Customer Update Emails


Recommended Posts

Hi, i have install the osCommerce and everything seems fine. But i noticed one thing that give some headache. When i update my customer's process, the automated generate email will end up with broken links. It will miss the domain part of the links.

e.g Detailed Invoice: /shop/account_history_info.php?order_id=6. This is a broken link and my customer can direct link it to the page.


Is there anybody else facing the same problem? Where to tweak so that i can rectify this problem? Your help is highly appreciated!

Link to comment
Share on other sites

I have got the same problem and it looks like this.




store name


Order Number: 3

Detailed Invoice: /catalog/account_history_info.php?order_id=3

Date Ordered: Tuesday 12 July, 2005


The comments for your order are....




The info comes from /admin/orders.php and the tep_catalog_href_link

In the first order email the link is working but not in the order update emails.


I don't know if it has to do with the info in headers.php as well?

Mine looks like this:


|  <?php echo '<a href="' . tep_catalog_href_link() . '" class="headerLink">';?>Catalog</a> 

|  <?php echo '<a href="' . tep_href_link(FILENAME_DEFAULT, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_ADMINISTRATION . '</a>';?> 

|  <?php echo '<a href="' . tep_href_link(FILENAME_LOGOFF, '', 'NONSSL') . '" class="headerLink">' . HEADER_TITLE_LOGOFF . '</a>';?> 



Where tep_catalog_href_link seems empty..


Not sure what to edit though..



Link to comment
Share on other sites

After 10 hours of searching on the forum I managed to find the solution.

The search function is not the best here...


Anyway, this is what I did:


In /admin/includes/configure.php make sure you have the following

define('HTTP_CATALOG_SERVER', 'http://www.mydoamin.com');


Mine was empty and looked like this:


define('HTTP_CATALOG_SERVER', '');

Link to comment
Share on other sites


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

  • Create New...