 sonya
New Member
|
WP E-commerce version 3.8.3
The customizations I made to the transaction_result_functions.php file (in a previous version of wpec) no longer work, as it looks like the transaction_result_functions.php doesn’t exisit in the new version. (or am I blind and can’t find it???)
Anyone have any how-tos on how to add checkout form fields to the email that is sent to admin??
version 3.8 plz!!!
|
 Hanna Iris
New Member
|
Hi Sonya,
the file is in wp-content/plugins/wp-e-commerce/wpsc-theme/functions/
|
 sonya
New Member
|
ahhhhhh I see it! Thanks Hanna.
|
 sonya
New Member
|
although now I’m stuck on how to implement old version solutions to the new version code. A lot has changed it looks like.
I need to show sku, custom fields, and payment method in the admin emails….
I looked at old posts on this forum, but I don’t think those solutions & hacks apply anymore.
|
 nemoprincess
|
Hello there, Have you found any kind of solution?
|
 dukeofarc
|
Hi. I’m looking for the same solution. Can anyone help?
|
 jodamo5
New Member
|
I managed to add the payment gateway used to the subject line of the Purchase Report that is sent to the site admin. I’m not a programmer, so can’t figure out how to add this into the email instead of the subject! But it’s useful enough for me.
(My purpose was so that I could identify bank deposit payments clearly when I receive a Purchase Report, so I don’t send the items purchased until I’ve checked the payment has cleared).
So here’s my very basic fix:
In this file:
wp-content/plugins/wp-e-commerce/wpsc-theme/functions/transaction_result_functions.php
Find this line near the end:
wp_mail( get_option( ‘purch_log_email’ ), __( ‘Purchase Report’, ‘wpsc’ ), $report );
Change it to this:
wp_mail( get_option( ‘purch_log_email’ ), __( (‘Purchase Report: ‘ . $curgateway), ‘wpsc’ ), $report );
It’s a bit ugly, but does the job for me. Hopefully it will be of help to you. And if you find a real solution, please post it here!
|
 jodamo5
New Member
|
Another update from me … I just found an excellent way to include extra information in the product reports, or notification emails. The specific tip it shows is how to include the shipping option in the admin email.
I expect this technique can be applied to other info too.
http://getshopped.org/forums/topic/add-shipping-method-to-admin-email/
|