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

#   Add a written in option to a product

##

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

Less More

- Posts: 2
- Thank you received: 0
-
-

14 years 11 months ago [\#29942](#29942) by [fvteamsports](/forum/user/4574-fvteamsports "View fvteamsports's Profile")  *[Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#29942 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")* was created by *[fvteamsports](/forum/user/4574-fvteamsports "View fvteamsports's Profile")*

I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say "personal name for this specific shirt". Is this possible? They might order 4 shirts if different sizes but only the meduim size gets a name.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

14 years 11 months ago [\#29963](#29963) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#29963 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")*

You can do that by creating a custom field of the table "item" via the menu Display-&gt;Custom fields in the Business edition.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 8 months ago -  13 years 8 months ago [\#92726](#92726) by [fletch88](/forum/user/8306-fletch88 "View fletch88's Profile")  Replied by *[fletch88](/forum/user/8306-fletch88 "View fletch88's Profile")* on topic *[Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#92726 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")*

I have this setup but also. If a buyer chooses 5 and clicks "add to cart" It only gets one message. How do I get it to collect a message per item or hide the choice to add multiple items?

Last edit: 13 years 8 months ago by [fletch88](/forum/user/8306-fletch88 "View fletch88's Profile").

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

- **[Xavier](/forum/user/4105-xavier "View Xavier's Profile")**
- [![Xavier's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar4105.png)](/forum/user/4105-xavier "View Xavier's Profile")
- [ Offline](/forum/user/4105-xavier)

Less More

- Posts: 13201
- Thank you received: 2322
-
-
-
- [](http://www.kidiweb.fr)
-

13 years 7 months ago [\#92834](#92834) by [Xavier](/forum/user/4105-xavier "View Xavier's Profile")  Replied by *[Xavier](/forum/user/4105-xavier "View Xavier's Profile")* on topic *[Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#92834 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")*

The easiest way is to hide the choice of adding multiple items.
You can do it via css: Code:

.hikashop_product_quantity_field, .hikashop_product_quantity_field_change{display: none;}

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) to join the conversation.

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

Less More

- Posts: 10
- Thank you received: 0
-
-

13 years 7 months ago [\#93365](#93365) by [fletch88](/forum/user/8306-fletch88 "View fletch88's Profile")  Replied by *[fletch88](/forum/user/8306-fletch88 "View fletch88's Profile")* on topic *[Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#93365 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")*

Thank you. Looks like that would hide it for all products which is not really what I want either. Really would just like to have a custom field per product selected.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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: 86322
- Thank you received: 14281
-
-

13 years 7 months ago [\#93411](#93411) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Add a written in option to a product](/forum/4-how-to/29942-add-a-written-in-option-to-a-product#93411 "I'm selling t-shirts with personal names on the back. I need a way to let the customer type in a name on each item purchased. Maybe a box under each item that would say &quot;personal name for this...")*

It's not possible to have one instance of custom fields per quantity of the product selected. (not unless you recode the whole custom fields and add to cart handling as well as a big part of the product page display...)
It's far easier simply not allow the user to add products to the cart more than one at a time when needed.

To do that, you can add the code: Code:

&lt;?php if(!empty($this-&gt;itemFields)){ $this-&gt;params-&gt;set('show_quantity_field',0); } ?&gt;

at the beginning of the file "quantity" of the view "product" via the menu Display-&gt;Views.

Please [Log in](/login?return=aHR0cHM6Ly93d3cuaGlrYXNob3AuY29tL2ZvcnVtLzQtaG93LXRvLzI5OTQyLWFkZC1hLXdyaXR0ZW4taW4tb3B0aW9uLXRvLWEtcHJvZHVjdD90bXBsPW1hcmtkb3du) or [Create an account](/register) 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.098 seconds

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