New Field type

  • Posts: 16
  • Thank you received: 0
13 years 3 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: 85581
  • Thank you received: 14004
  • MODERATOR
13 years 3 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

This message has an attachment file.
Please log in or register to see it.

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

  • Posts: 16
  • Thank you received: 0
13 years 3 months ago #88078

Thank you! :)

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

Time to create page: 0.057 seconds
Powered by Kunena Forum