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

#   Add a custom text field to product checkout?

##

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

Less More

- Posts: 318
- Thank you received: 20
-
-

13 years 8 months ago [\#93197](#93197) by [jgribble](/forum/user/4695-jgribble "View jgribble's Profile")  *[Add a custom text field to product checkout?](/forum/2-general-talk-about-hikashop/78998-add-a-custom-text-field-to-product-checkout#93197 "For one product, the customer needs to also collect a license number. It has to be a text field. Is this possible? I'd rather not use the &quot;entry&quot;/register form because it's cumbersome. And there...")* was created by *[jgribble](/forum/user/4695-jgribble "View jgribble's Profile")*

For one product, the customer needs to also collect a license number. It has to be a text field. Is this possible? I'd rather not use the "entry"/register form because it's cumbersome. And there cannot be multiple unique instances.
Thanks,
-JG

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

- **[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")**
- [![Mohamed Thelji's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6861.png)](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")
- [ Offline](/forum/user/6861-mohamed-thelji)

Less More

- Posts: 12953
- Thank you received: 1778
-
-
-

13 years 8 months ago [\#93226](#93226) by [Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")  Replied by *[Mohamed Thelji](/forum/user/6861-mohamed-thelji "View Mohamed Thelji's Profile")* on topic *[Add a custom text field to product checkout?](/forum/2-general-talk-about-hikashop/78998-add-a-custom-text-field-to-product-checkout#93226 "For one product, the customer needs to also collect a license number. It has to be a text field. Is this possible? I'd rather not use the &quot;entry&quot;/register form because it's cumbersome. And there...")*

hi,

I think that you'll probably find your answer [ there](http://www.hikashop.com/fr/forum/4-how-to/19337-prospects-name-in-text-input-field.html) :

> You have two possibilities:
> 1\. You can create a custom field of the table "order" via the menu Display-&gt;Custom fields. The field will appear during the checkout and attached to the order.
> 2\. You can create a custom field of the table "item" via the menu Display-&gt;Custom fields. The field will appear on the product page and attached to the product in the cart (and later on to the product in the order).
> In both cases, that is only possible with the Business edition. Also, in both cases, the information will be available in the emails and in the order details on the back end.

Hope this will help you.

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

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile")
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 8 months ago [\#94747](#94747) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Add a custom text field in email messages?](/forum/2-general-talk-about-hikashop/78998-add-a-custom-text-field-to-product-checkout#94747 "For one product, the customer needs to also collect a license number. It has to be a text field. Is this possible? I'd rather not use the &quot;entry&quot;/register form because it's cumbersome. And there...")*

Hi,

In regards to the custom fields in the email messages; where do I change the code a bit to have the custom fields more compresesd as well as has the product name only bolded so it is distinct when more than one item is purchased. See attached screenshot where I boxed the item that I would like bolded but not the custom fields underneath.

Thanks

- [ ![email&#95;message&#95;screenshot.jpg](/forum/attachment/9144) ](/forum/attachment/9144 "...screenshot.jpg") [ ](/forum/attachment/9144?download=1 "...screenshot.jpg")

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

- **[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")**
- [![aheng5's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar6488.gif)](/forum/user/6488-aheng5 "View aheng5's Profile")
- [ Offline](/forum/user/6488-aheng5)

Less More

- Posts: 73
- Thank you received: 2
-
-

13 years 7 months ago -  13 years 7 months ago [\#94846](#94846) by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")  Replied by *[aheng5](/forum/user/6488-aheng5 "View aheng5's Profile")* on topic *[Add a custom text field in email messages?](/forum/2-general-talk-about-hikashop/78998-add-a-custom-text-field-to-product-checkout#94846 "For one product, the customer needs to also collect a license number. It has to be a text field. Is this possible? I'd rather not use the &quot;entry&quot;/register form because it's cumbersome. And there...")*

My inquiry resolved. ![:cheer:](/media/kunena/emoticons/2.png ":cheer:")
Found the code to edit in the order creation email notice to customer:

echo '**&lt;p style="margin:0;"&gt;**'.$fieldsClass-&gt;getFieldName($field).': '.$fieldsClass-&gt;show($field,$item-&gt;$namekey).'&lt;/p&gt;';

Last edit: 13 years 7 months ago by [aheng5](/forum/user/6488-aheng5 "View aheng5's Profile").

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

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