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

  • Posts: 41
  • Thank you received: 1
2 days 12 hours 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: 84202
  • Thank you received: 13663
  • MODERATOR
2 days 7 hours 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.050 seconds
Powered by Kunena Forum