[Skip to main content](#vessel-content)

#   Product Contact Button &gt; Custom Fields in the Email

##

- **[nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")**
- [![nowherenowhere's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4234.png)](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile") Topic Author
- [ Offline](/forum/user/4234-nowherenowhere)

Less More

- Posts: 152
- Thank you received: 1
-
- [](http://www.originate.co.za)
-

9 years 8 months ago [\#264586](#264586) by [nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")  *[Product Contact Button &gt; Custom Fields in the Email](/forum/33-customers/889285-product-contact-button-custom-fields-in-the-email#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")* was created by *[nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")*

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](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODkyODUtcHJvZHVjdC1jb250YWN0LWJ1dHRvbi1jdXN0b20tZmllbGRzLWluLXRoZS1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nicolas](/forum/user/63-nicolas "View nicolas's Profile")**
- [![nicolas's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar63.png?1793428657)](/forum/user/63-nicolas "View nicolas's Profile")
- [ Offline](/forum/user/63-nicolas)

Less More

- Posts: 86584
- Thank you received: 14325
-
-

9 years 8 months ago [\#264590](#264590) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Product Contact Button &gt; Custom Fields in the Email](/forum/33-customers/889285-product-contact-button-custom-fields-in-the-email#264590 "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")*

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:
&lt;?php echo $data-&gt;element-&gt;XXX; ?&gt;
where XXX is the column name of the custom field.

The following user(s) said Thank You: [nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODkyODUtcHJvZHVjdC1jb250YWN0LWJ1dHRvbi1jdXN0b20tZmllbGRzLWluLXRoZS1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

- **[nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")**
- [![nowherenowhere's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4234.png)](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile") Topic Author
- [ Offline](/forum/user/4234-nowherenowhere)

Less More

- Posts: 152
- Thank you received: 1
-
- [](http://www.originate.co.za)
-

9 years 8 months ago [\#264622](#264622) by [nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")  Replied by *[nowherenowhere](/forum/user/4234-nowherenowhere "View nowherenowhere's Profile")* on topic *[Product Contact Button &gt; Custom Fields in the Email](/forum/33-customers/889285-product-contact-button-custom-fields-in-the-email#264622 "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")*

That Echo sorted it. Thank you Nicolas

---

Believe in Better

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzMzLWN1c3RvbWVycy84ODkyODUtcHJvZHVjdC1jb250YWN0LWJ1dHRvbi1jdXN0b20tZmllbGRzLWluLXRoZS1lbWFpbD90bXBsPW1hcmtkb3du) or [Create an account](/component/users/registration?Itemid=101) to join the conversation.

Board Categories HikaShop Install &amp; Update Product &amp; Category Display Content Creation Sales and Orders Orders management Reports &amp; Statistics Customers Checkout Payment Methods Shipping Methods Import &amp; Export (CSV, XLS…) Specific Features Affilation Taxes Wishlist Vote Carousel &amp; Slider Mass Actions Filters &amp; Search Discount &amp; Coupon Feature Request Integrations Showcase General Talk about HikaShop Development HikaShop 3.0 Beta Translation Commercial Jobs HikaShop Components HikaMarket Market: Feature requests Market: How to? Market: Bug Report HikaSerial General talk about HikaSerial Serial: Bug Report Serial: How to? Support en Français de HikaSerial (French Support) HikaSubscription HikaAuction Auction: Feature requests Auction: How to? Auction: Bug report Hikashop around the world Support en Français (French Support) Russian FAQ. Курс выживания с Hikashop. Частые вопросы и о Расширения Hikashop Наши сайты на Hikashop 日本語版サポート(Japanese Support) Thai German Archives Bug Report How to?

[](/forum/topics/feed/mode-topics?format=feed&type=rss)

Time to create page: 0.129 seconds

[Powered by](/forum/credits) [Kunena Forum](https://www.kunena.org)
