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

#   User defined fields

##

- **[Wolfgang](/forum/user/1429-wolfgang "View Wolfgang's Profile")**
- [![Wolfgang's Avatar](https://www.hikashop.com/media/kunena/avatars/resized/size144/gallery/frog.gif)](/forum/user/1429-wolfgang "View Wolfgang's Profile") Topic Author
- [ Offline](/forum/user/1429-wolfgang)

Less More

- Posts: 11
- Thank you received: 0
-
-

15 years 5 months ago [\#16798](#16798) by [Wolfgang](/forum/user/1429-wolfgang "View Wolfgang's Profile")  *[User defined fields](/forum/2-general-talk-about-hikashop/16798-user-defined-fields#16798 "We sell trainings. A training has a date and a duration.  I would like to add a user defiend field as date and a second field as number for the duration.  Is there a way to display the dates as an option list in the frontend? And second, I would like to make the dates searchable.  Kind regards")* was created by *[Wolfgang](/forum/user/1429-wolfgang "View Wolfgang's Profile")*

We sell trainings.
A training has a date and a duration.

I would like to add a user defiend field as date and a second field as number for the duration.

Is there a way to display the dates as an option list in the frontend?
And second, I would like to make the dates searchable.

Kind regards

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

15 years 5 months ago [\#16807](#16807) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[Re: User defined fields](/forum/2-general-talk-about-hikashop/16798-user-defined-fields#16807 "We sell trainings. A training has a date and a duration.  I would like to add a user defiend field as date and a second field as number for the duration.  Is there a way to display the dates as an option list in the frontend? And second, I would like to make the dates searchable.  Kind regards")*

You can create a custom field of the table "product" via the menu Display-&gt;Custom fields. That way, you can have your shop owner enter all the possibilities in that custom field and have it searchable by adding that custom field in the search plugin options.
If you also want your user to select a date on the front end, you will have to create a custom field of the table "item" with the same options.

For the number field, why not just use the quantity field (I suppose that the price will change based on the duration of the training)?

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

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