Tips and Tricks HQ Support Portal › Forums › WP eStore Forum › WP eStore Tweaks › Manual checkout to send-out Purchase Email › Reply To: Manual checkout to send-out Purchase Email
January 22, 2010 at 3:13 am
#17365
Member
Ok, I can manage to get the firstname, lastname, and email by writing:
global $current_user;
get_currentuserinfo();
And pasting:
$current_user->user_firstname
$current_user->user_lastname
$current_user->user_email
into the corresponding VALUES.
But I have no idea how to get the: $current_product_id, $transaction_id, $clientdate and $sale_price.
I tried pasting:
$cart_item_data_num = $current_cart_item;
$current_product_id = $cart_item_data_num;
But that didn’t help
Any thoughts?
Best Regards
André Lundin