Self calculated content in custom fields

  • Posts: 634
  • Thank you received: 16
11 years 8 months ago #92470

Is there a way to make a custom field to self calculate its content?

similar to an excel cell. The content would be the result of a calculation of one or more other fields / custom fields.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #92492

That would require the creation of a custom type of custom fields via a hikashop plugin.
You would have first to implement the onFieldsLoad function www.hikashop.com/en/support/documentatio...on.html#onFieldsLoad and in your plugin create your own type class like we do in administrator/components/com_hikashop/classes/field.php

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

  • Posts: 634
  • Thank you received: 16
11 years 8 months ago #92496

Do you have any plan to implement it?

This would give a new range of applications for the component which is clearly usable far beyond the e-commerce purpose.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #92498

That's the goal of the API that we provide so that you can define your own custom fields without being bound by the options that we already provide. You just need to code the plugin for the operations that you need to do.

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

  • Posts: 634
  • Thank you received: 16
11 years 8 months ago #92523

Thank you, this is great for a coder, but I guess not every HikaShop client is a coder. I am not.

Do you offer a service or can recommend somebody to hire thie service?

Last edit: 11 years 8 months ago by PeterChain.

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

  • Posts: 82795
  • Thank you received: 13356
  • MODERATOR
11 years 8 months ago #92620

You can post on our commercial jobs forum for your project:
www.hikashop.com/en/forum/9-commercial-jobs.html

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

  • Posts: 12953
  • Thank you received: 1778
11 years 8 months ago #92621

Hi,

I think that you'll probably find someone who'll do it for you through the Commercial job section of this forum.

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

Time to create page: 0.071 seconds
Powered by Kunena Forum