Jump to content


Corporate Sponsors


Latest News: (loading..)

AndreD

Member Since 07 Nov 2007
Offline Last Active Aug 26 2011, 09:52
-----

Topics I've Started

please help me with a simple PHP problem:

25 August 2011, 12:59

I attached a part of checkout_process.php below. (where the email confirmation is sent)
I'd like to add a simple HTTP link to a static .pdf file on my site (In Norway we are required to mention that customer have 14days refund/return right, or else he got 6 months.)

so - in the line *** I'd like to publish a php line like :
your rights<a href="http://server.no/rights.php"> Download here</a><br>
how to do it right ?



 $email_order = STORE_NAME . "\n" . 
                 EMAIL_SEPARATOR . "\n" . 
                 EMAIL_TEXT_ORDER_NUMBER . ' ' . $insert_id . "\n" .
                 EMAIL_TEXT_INVOICE_URL . ' ' . tep_href_link(FILENAME_ACCOUNT_HISTORY_INFO, 'order_id=' . $insert_id, 'SSL', false) . "\n" .
                 *** link to PDF goes here***
                 EMAIL_TEXT_DATE_ORDERED . ' ' . strftime(DATE_FORMAT_LONG) . "\n\n";