Guest Posted April 13, 2007 Posted April 13, 2007 Hi all, I have search hi and low in the forums and cannot find the answer to this. How do you make the order progress link that is sent in the order confirmation email clickable??? The code in my php file is as follows: <td class="smallTextBlue" align="left" valign="top"><b>You can check the progress of your order any time at: </b> <?php echo tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n\n"; ?> </font></td> How do I make it so that this will appear as a roll-over link in the email instead of just plain text??? Thanks in advance
Guest Posted April 13, 2007 Posted April 13, 2007 Hi all, I have search hi and low in the forums and cannot find the answer to this. How do you make the order progress link that is sent in the order confirmation email clickable??? The code in my php file is as follows: <td class="smallTextBlue" align="left" valign="top"><b>You can check the progress of your order any time at: </b> <?php echo tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n\n"; ?> </font></td> How do I make it so that this will appear as a roll-over link in the email instead of just plain text??? Thanks in advance you put an html <a> tag to create the link. You don't have one now. See how the tep_href_link function is used in other osc files (surrounded by an a tag).
Guest Posted April 13, 2007 Posted April 13, 2007 Thanks, Well now my code is looking like this with the new tags: <td class="smallTextBlue" align="left" valign="top"><b>You can check the progress of your order any time at:</b> <?php echo '<a href="' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . '">' . "\n\n" . '</a>'; ?> </font></td> However now the link does not display the link only the text that preceeds it: 'You can check the progress of your order any time at:' Have I placed the <a> tags in the wrong place? it looks right compared to similar pieces of code. Thanks.
Guest Posted April 13, 2007 Posted April 13, 2007 well you need a name for the link right? not this "\n\n" but 'my link name here'
Recommended Posts
Archived
This topic is now archived and is closed to further replies.