Product Contact Button > Custom Fields in the Email

  • Posts: 152
  • Thank you received: 1
7 years 8 months ago #264586

Hi Guys,

I need some help. I need to get 2 custom fields that are in my contact form (on the product contact form)

I need to get them to show up in the email that gets sent (A contact request has been made)

I've tried adding in the {VAR:contact.phonenumber} there or {LINEVAR:contact.phonenumber} etc

I've tried a few things now, but cannot get anything to show up... Please help


Believe in Better

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

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

Hi,

The custom contact field should already be displayed in the emails.
So normally, there is nothing to do.
I've tested it on my end with the latest version of HikaShop and it works just fine.
You can always add such code in the HTML version:
<?php echo $data->element->XXX; ?>
where XXX is the column name of the custom field.

The following user(s) said Thank You: nowherenowhere

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

  • Posts: 152
  • Thank you received: 1
7 years 8 months ago #264622

That Echo sorted it. Thank you Nicolas


Believe in Better

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

Time to create page: 0.039 seconds
Powered by Kunena Forum