New Field type

  • Posts: 16
  • Thank you received: 0
11 years 9 months ago #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

Please Log in or Create an account to join the conversation.

  • Posts: 82796
  • Thank you received: 13357
  • MODERATOR
11 years 9 months ago #88014

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

Attachments:

Please Log in or Create an account to join the conversation.

  • Posts: 16
  • Thank you received: 0
11 years 9 months ago #88078

Thank you! :)

Please Log in or Create an account to join the conversation.

Time to create page: 0.091 seconds
Powered by Kunena Forum