banktransfer_end.php – variable with customer's email

  • Posts: 217
  • Thank you received: 4
7 years 1 month 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: 82863
  • Thank you received: 13372
  • MODERATOR
7 years 1 month 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
7 years 1 month 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.057 seconds
Powered by Kunena Forum