Custom field in order confirmation mail to administrator

  • Posts: 82
  • Thank you received: 1
3 years 1 month ago #336332

-- url of the page with the problem -- : catalogo.uniontrade.info
-- HikaShop version -- : 4.4.2
-- Joomla version -- : 3.10.2
-- PHP version -- : 7.3.31

Hi,
I've added some custom fields in the registration form (see attached). How can I display the field 'user_tipo_attivita' in the mail I receive when a order is sent? I need it because it change the way I answer, and now I always have to go to details page of the customer.
thank you
Elena

Attachments:

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

  • Posts: 4747
  • Thank you received: 644
  • MODERATOR
3 years 1 month ago #336335

Hello,

In your email, you will find some notice information about how to add elements (even custom fields), see my screenshot :



Concrete example :
{LINEVAR:USER.user_tipo_attivita}

Hope this will allow you to achieved your needs.
Regards

Last edit: 3 years 1 month ago by Philip.

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

  • Posts: 82
  • Thank you received: 1
3 years 1 month ago #336397

Hi, thank you for your answer, I tried to do what you suggested but I still get no results.
As you can see in the screenshot I added the {LINEVAR:USER.user_tipo_attivita} code in different places but the mail I receive (attached) don't show the field (I should see 'BUBBLE TEA SHOP' in this case, 3 times...)

Sorry to bother you but I really don't understand what I'm doing wrong.
thank you
Elena

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
3 years 1 month ago #336401

Hi,

Philippe made a typo, it should be {VAR:customer.user_tipo_attivita} not {LINEVAR:USER.user_tipo_attivita}
Please try like that.

Last edit: 3 years 1 month ago by nicolas.

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

  • Posts: 82
  • Thank you received: 1
3 years 1 month ago #336417

Thank you so much, now it works fine!

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

Time to create page: 0.050 seconds
Powered by Kunena Forum