I would like to add the order total to the subject line of the order confirmation email. I have figured out that this change would be made in includes/classes/order.php, but dont know php, could someone help me with this.
I would like to add the order total to the subject line of the order confirmation email. I have figured out that this change would be made in includes/classes/order.php, but dont know php, could someone help me with this.
Did you ever get the order total in the subject line? I'm wondering how to do that also.
Thanks,
-Dave
http://www.strandland.com/digitalstore
in the order class, you have a line like this:adding the order total amount to the subject line of the customer's email could be as easy as this:Code:zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id, $email_order, STORE_NAME, EMAIL_FROM, $html_msg, 'checkout');Code:zen_mail($this->customer['firstname'] . ' ' . $this->customer['lastname'], $this->customer['email_address'], EMAIL_TEXT_SUBJECT . EMAIL_ORDER_NUMBER_SUBJECT . $zf_insert_id . ' ' . $this->info['total'], $email_order, STORE_NAME, EMAIL_FROM, $html_msg, 'checkout');
.
Zen Cart - putting the dream of business ownership within reach of anyone!
Donate to: DrByte directly or to the Zen Cart team as a whole
Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.
Too cool! It works! Thanks so much, i'da never figured that one out without help.
-dave