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

#   Add custom field to customer order notification email

##

- **[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")**
- [![mrooke's Avatar](https://www.hikashop.com/media/kunena/core/svg/person.svg)](/forum/user/18053-mrooke "View mrooke's Profile") Topic Author
- [ Offline](/forum/user/18053-mrooke)

Less More

- Posts: 56
- Thank you received: 4
-
-

9 years 7 months ago [\#267669](#267669) by [mrooke](/forum/user/18053-mrooke "View mrooke's Profile")  *[Add custom field to customer order notification email](/forum/27-checkout/889864-add-custom-field-to-customer-order-notification-email#267669 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Not sure why I'm having so much trouble but I would like to add a simple blurb of text to the customers order notification email when the customer buys a product from a specific category. I have tried creating a custom field in both &quot;Item&quot; and &quot;Order&quot; tables, tried &quot;text area&quot; and &quot;custom text&quot; field types. and have selected the fields to display everywhere including the various emails.. they do show everywhere on the site but never on the emails! what am i doing wrong? I specified the category containing all these products in the restrictions section of the custom field. I added &quot;field&quot; to the checkout workflow as well.  Thanks  Matt")* was created by *[mrooke](/forum/user/18053-mrooke "View mrooke's Profile")*

-- HikaShop version -- : 3.0.1
-- Joomla version -- : 3.6.5

Not sure why I'm having so much trouble but I would like to add a simple blurb of text to the customers order notification email when the customer buys a product from a specific category. I have tried creating a custom field in both "Item" and "Order" tables, tried "text area" and "custom text" field types. and have selected the fields to display everywhere including the various emails.. they do show everywhere on the site but never on the emails! what am i doing wrong? I specified the category containing all these products in the restrictions section of the custom field. I added "field" to the checkout workflow as well.

Thanks

Matt

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4OTg2NC1hZGQtY3VzdG9tLWZpZWxkLXRvLWN1c3RvbWVyLW9yZGVyLW5vdGlmaWNhdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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: 86587
- Thank you received: 14326
-
-

9 years 7 months ago [\#267720](#267720) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add custom field to customer order notification email](/forum/27-checkout/889864-add-custom-field-to-customer-order-notification-email#267720 "-- HikaShop version -- : 3.0.1 -- Joomla version -- : 3.6.5  Not sure why I'm having so much trouble but I would like to add a simple blurb of text to the customers order notification email when the customer buys a product from a specific category. I have tried creating a custom field in both &quot;Item&quot; and &quot;Order&quot; tables, tried &quot;text area&quot; and &quot;custom text&quot; field types. and have selected the fields to display everywhere including the various emails.. they do show everywhere on the site but never on the emails! what am i doing wrong? I specified the category containing all these products in the restrictions section of the custom field. I added &quot;field&quot; to the checkout workflow as well.  Thanks  Matt")*

Hi,

Custom order fields allow customers to fill them during the checkout. Custom item fields allow customers to fill them on the product page.
There are no custom fields to just display text in the notification emails.
That will require editing the emails via the menu System&gt;Emails and add some custom code to display your text based on the categories of the products in the order. It's not just one or two lines, as you need to go through the products of the order, get their id, load the categories of these products with a MySQL query and then display or not the text based on that.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzI3LWNoZWNrb3V0Lzg4OTg2NC1hZGQtY3VzdG9tLWZpZWxkLXRvLWN1c3RvbWVyLW9yZGVyLW5vdGlmaWNhdGlvbi1lbWFpbD90bXBsPW1hcmtkb3du) 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.051 seconds

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