banktransfer_end.php – variable with customer's email

  • Posts: 217
  • Thank you received: 4
6 years 5 months ago #279958

-- HikaShop version -- : 3.2.0
-- Joomla version -- : 3.8.0

Hello,

I am trying to make a function that subscribes customers into MailChimp lists after checkout.
The last thing I need is how I can obtain customer's email in file banktransfer_end.php?

Is it: this->order_email? or something different?


Thank you!
Filip

Please Log in or Create an account to join the conversation.

  • Posts: 81378
  • Thank you received: 13037
  • MODERATOR
6 years 5 months ago #279971

Hi,

You should be able to do: echo $this->order->customer->user_email;

Please Log in or Create an account to join the conversation.

  • Posts: 217
  • Thank you received: 4
6 years 5 months ago #279991

Thank you very much, Nicolas. It indeed works!

Please Log in or Create an account to join the conversation.

Time to create page: 0.058 seconds
Powered by Kunena Forum