Custom field in order confirmation mail to administrator

  • Posts: 80
  • Thank you received: 1
  • Hikashop Business
1 month 2 weeks 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: 3381
  • Thank you received: 448
  • MODERATOR
1 month 2 weeks 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: 1 month 2 weeks ago by Philip.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Business
1 month 1 week 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: 74250
  • Thank you received: 11418
  • MODERATOR
1 month 1 week 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: 1 month 1 week ago by nicolas.

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

  • Posts: 80
  • Thank you received: 1
  • Hikashop Business
1 month 1 week 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.059 seconds
Powered by Kunena Forum