VirtueMart Forum

VirtueMart 2 + 3 + 4 => Plugins: Payment, Shipment and others => Topic started by: Enter_PL on February 12, 2013, 09:53:20 AM

Title: How to get customer email in standard.php
Post by: Enter_PL on February 12, 2013, 09:53:20 AM
I need two parameters: order number and customer email in standard.php.
There in no problem With Order_numer:  $order['details']['BT']->order_number);

But how to get email?

Please help!
Title: Re: How to get customer email in standard.php
Post by: reinhold on February 12, 2013, 10:19:30 AM
For a test order, you can temporarily insert a
print("<pre>order['details'] is:".print_r($order['details'], true)."</pre>");

into the code to display the contents of the $order['details'] data structure and see what is available...
Title: Re: How to get customer email in standard.php
Post by: Enter_PL on February 12, 2013, 11:57:03 AM
Huge thank you!
Finally moved forward!
thank you again.