Ajax fiels not showing

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
5 years 2 months ago #303602

-- url of the page with the problem -- : jouwnaambord.nl/plexiglas-15-x-15-cm
-- HikaShop version -- : 4.0.2
-- Joomla version -- : 3.9.2
-- PHP version -- : 7.3

Hi,

I have AJAX uploadfields on productpages that doesn't show anymore after my last hikashop update. The field is dependent on another radiobuttonfield. Just after changing the radio to "Geen logo op bord" and then back to "Logo op bord" it's showing again. I changed the productpage to a default template first to eliminate the error being triggered by the custom template.

Please take a look at this?

Michel.

Attachments:

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

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
5 years 2 months ago #303605

Hi,

When I look at the header of your page, I can see that all the javascript which handles the custom field system is jumbled up together:
monosnap.com/file/GjP31v6AnrnzY1MvQZmHfsVQeeykEw
This indicates that you have some kind of "optimization" extension which reprocess the javascript.
It's possible that the issue comes from that.
Please try to deactivate that function so you can get the javascript to be output normally.
If that doesn't help, please leave that function deactivated so that we can read the javascript code better in order to understand the situation.

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
5 years 2 months ago #303626

I deactivated the plugin, but all Hikashop scripts were already excluded in the plugin.

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

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
5 years 2 months ago #303652

Hi,

As far as I can see, the issue is with the values of your "keuze_logo" custom field. They have spaces in them and because of that, the ids of the input elements end up being: "keuze_logo_logo toegevoegd" and "keuze_logo_geen logo". But ids aren't supposed to have spaces in HTML so I suppose that the javascript is not able to find the inputs when initializing the elements on the page.
I would recommend to try again with values without spaces and it should help.
Please let us know how it goes.

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
5 years 2 months ago #303666

Hi Nicolas,

Well, tried that, but with the same result...

Attachments:

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

  • Posts: 81515
  • Thank you received: 13068
  • MODERATOR
5 years 2 months ago #303683

Hi,

Thank you for your feedback.
We found the issue which was actually linked to the type of the custom field and some changes we had to do for the separation of the address custom fields for shipping and billing addresses back in 2018.
I've added a patch for that. Download again the install package on our website, install it on yours and clear the cache of your browser and your website (if any) and that should work.

The following user(s) said Thank You: michelpouli

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

  • Posts: 506
  • Thank you received: 21
  • Hikashop Business
5 years 2 months ago #303699

Hi Nicolas,

Thank you, problem solved!

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

Time to create page: 0.072 seconds
Powered by Kunena Forum