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

#   Custom Fields: User, Item or Order?

##

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 8 months ago -  11 years 8 months ago [\#195276](#195276) by [blbeta](/forum/user/8811-blbeta "View blbeta's Profile")  *[Custom Fields: User, Item or Order?](/forum/27-checkout/875774-custom-fields-user-item-or-order#195276 "-- HikaShop version -- : 2.4.0 Business  Just a quick question on best practice. I have setup a few simple shops so far. I am now updating a client's website to be responsive and have an actual store (Hikashop).  With other sites the default fields have been fine. Now I am updating a dog training website that requires certain information when they buy a class. I don't want to collect this information if they are just buying a book or shirt.  From a quick reading of it seems that going with &quot;Item&quot; field would be the most appropriate solution? That would let me tie those fields to only &quot;class&quot; products?  I am looking to collect information like the dog's name and various other questions related to the dog when they purchase a class. If they add other items but no class, I don't want to collect that information.")* was created by *[blbeta](/forum/user/8811-blbeta "View blbeta's Profile")*

-- HikaShop version -- : 2.4.0 Business

Just a quick question on best practice. I have setup a few simple shops so far. I am now updating a client's website to be responsive and have an actual store (Hikashop).

With other sites the default fields have been fine. Now I am updating a dog training website that requires certain information when they buy a class. I don't want to collect this information if they are just buying a book or shirt.

From a quick reading of [ "Custom field Edit/Listing"](http://www.hikashop.com/support/support/documentation/42-hikashop-field-form.html) it seems that going with "Item" field would be the most appropriate solution? That would let me tie those fields to only "class" products?

[ ![Items.png](/forum/attachment/23181) ](/forum/attachment/23181 "Items.png")

I am looking to collect information like the dog's name and various other questions related to the dog when they purchase a class. If they add other items but no class, I don't want to collect that information.

- [ ![Items.png](/forum/attachment/23181) ](/forum/attachment/23181 "Items.png") [ ](/forum/attachment/23181?download=1 "Items.png")

Last edit: 11 years 8 months ago by [blbeta](/forum/user/8811-blbeta "View blbeta's Profile").

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

- **[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")**
- [![lousyfool's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar28604.jpg)](/forum/user/28604-lousyfool "View lousyfool's Profile")
- [ Offline](/forum/user/28604-lousyfool)

Less More

- Posts: 2143
- Thank you received: 746
-
- [](http://www.inphase.one)
-

11 years 8 months ago -  11 years 8 months ago [\#195290](#195290) by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")  Replied by *[lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile")* on topic *[Custom Fields: User, Item or Order?](/forum/27-checkout/875774-custom-fields-user-item-or-order#195290 "-- HikaShop version -- : 2.4.0 Business  Just a quick question on best practice. I have setup a few simple shops so far. I am now updating a client's website to be responsive and have an actual store (Hikashop).  With other sites the default fields have been fine. Now I am updating a dog training website that requires certain information when they buy a class. I don't want to collect this information if they are just buying a book or shirt.  From a quick reading of it seems that going with &quot;Item&quot; field would be the most appropriate solution? That would let me tie those fields to only &quot;class&quot; products?  I am looking to collect information like the dog's name and various other questions related to the dog when they purchase a class. If they add other items but no class, I don't want to collect that information.")*

Correct, from what you're saying you're up to, "item" fields are the ones to use.

Right at the beginning of the documentation link you posted, you find the description of the field types.

Maybe you weren't done with configuring fields anyway, but in the configuration as posted you want to keep an eye on the following:
"Required" - if you want to force customers to fill in the field: "yes".
"Front-end" - you want this to be displayed on your website: "yes".
"Categories"/"Products" - use this to limit the field to your 'class' products.

---

Need help with customisations of layouts, style or other site development? [ PM me!](/component/uddeim/?task=new)
(Don't forget to turn on [ "E-mail notification of new messages"](/component/uddeim/?task=settings))

Last edit: 11 years 8 months ago by [lousyfool](/forum/user/28604-lousyfool "View lousyfool's Profile").

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

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

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

Less More

- Posts: 37
- Thank you received: 0
-
-

11 years 8 months ago [\#195292](#195292) by [blbeta](/forum/user/8811-blbeta "View blbeta's Profile")  Replied by *[blbeta](/forum/user/8811-blbeta "View blbeta's Profile")* on topic *[Custom Fields: User, Item or Order?](/forum/27-checkout/875774-custom-fields-user-item-or-order#195292 "-- HikaShop version -- : 2.4.0 Business  Just a quick question on best practice. I have setup a few simple shops so far. I am now updating a client's website to be responsive and have an actual store (Hikashop).  With other sites the default fields have been fine. Now I am updating a dog training website that requires certain information when they buy a class. I don't want to collect this information if they are just buying a book or shirt.  From a quick reading of it seems that going with &quot;Item&quot; field would be the most appropriate solution? That would let me tie those fields to only &quot;class&quot; products?  I am looking to collect information like the dog's name and various other questions related to the dog when they purchase a class. If they add other items but no class, I don't want to collect that information.")*

Excellent, thank you for the reassurances and the extra info to watch out for. I have not configured these fields before, but expect your advice will save me some trouble shooting time from a simple error.

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

- **[Jerome](/forum/user/80-jerome "View Jerome's Profile")**
- [![Jerome's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/users/avatar80.png)](/forum/user/80-jerome "View Jerome's Profile")
- [ Offline](/forum/user/80-jerome)
- HikaShop core developer

Less More

- Posts: 26402
- Thank you received: 4081
-
- [](http://obsi.dev)
-

11 years 8 months ago [\#195294](#195294) by [Jerome](/forum/user/80-jerome "View Jerome's Profile")  Replied by *[Jerome](/forum/user/80-jerome "View Jerome's Profile")* on topic *[Custom Fields: User, Item or Order?](/forum/27-checkout/875774-custom-fields-user-item-or-order#195294 "-- HikaShop version -- : 2.4.0 Business  Just a quick question on best practice. I have setup a few simple shops so far. I am now updating a client's website to be responsive and have an actual store (Hikashop).  With other sites the default fields have been fine. Now I am updating a dog training website that requires certain information when they buy a class. I don't want to collect this information if they are just buying a book or shirt.  From a quick reading of it seems that going with &quot;Item&quot; field would be the most appropriate solution? That would let me tie those fields to only &quot;class&quot; products?  I am looking to collect information like the dog's name and various other questions related to the dog when they purchase a class. If they add other items but no class, I don't want to collect that information.")*

Hi,

You can use "item" if you want to ask the information for each product.
As explained by lousyfool, thanks to the "categories" (and "products") filters, you can target only specific products and not display the item custom field for every products (just the one which require the information).

You can use "order if you want to ask the information just one, during the checkout.
The products/categories is also managed in HikaShop 2.4.0

> Custom order fields can now be displayed only if a product, or at least one product of a category, is in the cart Custom item/product/contact fields can now be restricted by product.

[ www.hikashop.com/support/support/documen...ashop-changelog.html](http://www.hikashop.com/support/support/documentation/56-hikashop-changelog.html)

Regards,

---

Jerome - Obsidev.com
HikaMarket &amp; HikaSerial developer / HikaShop core dev team.

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

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

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