Custom field in order confirmation mail to administrator

  • Posts: 82
  • Thank you received: 1
2 years 6 months 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: 4510
  • Thank you received: 611
  • MODERATOR
2 years 6 months 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: 2 years 6 months ago by Philip.

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

  • Posts: 82
  • Thank you received: 1
2 years 6 months 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: 81515
  • Thank you received: 13069
  • MODERATOR
2 years 6 months 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: 2 years 6 months ago by nicolas.

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

  • Posts: 82
  • Thank you received: 1
2 years 6 months 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.064 seconds
Powered by Kunena Forum