Access user address in account activation email

  • Posts: 128
  • Thank you received: 3
8 years 7 months ago #234647

-- HikaShop version -- : 2.5.0
-- Joomla version -- : 3.4.1
-- PHP version -- : 5.3.24

I would like to be able to access the user's address city and state in the account activation email. Is there a variable I can use in the preload to do this?

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
8 years 7 months ago #234682

Hi,

Yes. You can use such code in the email:
<?php echo $data->address_data->address_city; ?>

The following user(s) said Thank You: deuce4884

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

  • Posts: 128
  • Thank you received: 3
8 years 7 months ago #234922

worked perfect. thanks

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

Time to create page: 0.057 seconds
Powered by Kunena Forum