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

#   New Field type

##

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 9 months ago [\#87829](#87829) by [mobe84](/forum/user/10689-mobe84 "View mobe84's Profile")  *[New Field type](/forum/4-how-to/77889-new-field-type#87829 "Hi,  we need a custom field with dynamic values for some of our products. We want to have the customer to choose, for example, a joomla article from a dropdown list for a product. Currently this isnt possible with hikashop you said.  I want to add this functionality to the existing fields. My idea is, that you can add php code to a field in the backend and this code generates the different values for the dropdown in the frontend.  My questions are: Is this possible without month of work? Where do i have to start? Which files/classes must be changed and is there anything else i have to look at?  Thank you for your time!  Moritz")* was created by *[mobe84](/forum/user/10689-mobe84 "View mobe84's Profile")*

Hi,

we need a custom field with dynamic values for some of our products.
We want to have the customer to choose, for example, a joomla article from a dropdown list for a product.
Currently this isnt possible with hikashop you said.

I want to add this functionality to the existing fields. My idea is, that you can add php code to a field in the backend and this code generates the different values for the dropdown in the frontend.

My questions are:
Is this possible without month of work? Where do i have to start? Which files/classes must be changed and is there anything else i have to look at?

Thank you for your time!

Moritz

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

13 years 9 months ago [\#88014](#88014) by [nicolas](/forum/user/63-nicolas "View nicolas's Profile")  Replied by *[nicolas](/forum/user/63-nicolas "View nicolas's Profile")* on topic *[New Field type](/forum/4-how-to/77889-new-field-type#88014 "Hi,  we need a custom field with dynamic values for some of our products. We want to have the customer to choose, for example, a joomla article from a dropdown list for a product. Currently this isnt possible with hikashop you said.  I want to add this functionality to the existing fields. My idea is, that you can add php code to a field in the backend and this code generates the different values for the dropdown in the frontend.  My questions are: Is this possible without month of work? Where do i have to start? Which files/classes must be changed and is there anything else i have to look at?  Thank you for your time!  Moritz")*

Hi,

That can be done by creating a hikashop plugin. We didn't publish yet the triggers for that. But it's totally possible without having to change anything in HikaShop.

Here is an example plugin

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

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

Less More

- Posts: 16
- Thank you received: 0
-
-

13 years 9 months ago [\#88078](#88078) by [mobe84](/forum/user/10689-mobe84 "View mobe84's Profile")  Replied by *[mobe84](/forum/user/10689-mobe84 "View mobe84's Profile")* on topic *[New Field type](/forum/4-how-to/77889-new-field-type#88078 "Hi,  we need a custom field with dynamic values for some of our products. We want to have the customer to choose, for example, a joomla article from a dropdown list for a product. Currently this isnt possible with hikashop you said.  I want to add this functionality to the existing fields. My idea is, that you can add php code to a field in the backend and this code generates the different values for the dropdown in the frontend.  My questions are: Is this possible without month of work? Where do i have to start? Which files/classes must be changed and is there anything else i have to look at?  Thank you for your time!  Moritz")*

Thank you! ![:)](/media/kunena/emoticons/3.png ":)")

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

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