How to load from external JSON file data at order custom fields

  • Posts: 42
  • Thank you received: 1
1 month 3 days ago #368141

-- HikaShop version -- : 6.0.0
-- Joomla version -- : 5.3.2
-- PHP version -- : 8.3
-- Browser(s) name and version -- : Chrome latest

Hello, I have been created a custom field in order section like a text. I would like when customers starting to type to load information data from external json file on root joomla directory? How can I do it?

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

  • Posts: 84304
  • Thank you received: 13698
  • MODERATOR
1 month 3 days ago #368143

Hi,

You can add custom javascript code for that and target the input field with an addEventListener.
You can add your custom javascript code in the show_block_field view file via the menu Display>Views of HikaShop.

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

Time to create page: 0.033 seconds
Powered by Kunena Forum