Checkout Page Issue

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
1 year 4 months ago #352697

-- HikaShop version -- : 4.7.4
-- Joomla version -- : 4.3.2
-- PHP version -- : 8.2.6

Hi

For some reason the option to login or create an account are not working on the site. I cannot see a particular reason for this to be happening. The site had been working as expected up to now.

In Cassiopeia as well as the template I am using there are a lot of deprecated lines if I turn on debug mode. Not sure if this has any baring on it?

This message contains confidential information


Thanks

Dave

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #352703

Hi,

These are normal on PHP 8.2. You can ignore them. We'll have to change a bit the code to remove them going forward.
If you find others, not mentioned in your message, please provide them so that we know about them.

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
1 year 4 months ago #352709

Hi Nicolas

thanks for the reply. Possibly me adding the code has detracted from the issue I have.

When going to the checkout you are presented with the form. If I try to click login or create an account the options are not provided.

I have attached a screenshot of this and also the settings in the admin.

Re the error messages, would you be happy for me to add them to this ticket?

Thanks

David

Attachments:

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #352711

Hi,

My bad, I had indeed missed that.
The issue comes from a javascript error in the jquery of the template :
i.imgur.com/hvX9pBB.png
This prevents HikaShop from being able to initialize the selector there.
I think it might be a jquery conflict (several jquery files are loaded at the same time on the page). Try using the extension jquery easy to prevent the conflict:
extensions.joomla.org/extension/jquery-easy/

You can add the errors here after the issue with the selector is solved in order to not be confused again when we come back here.

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

  • Posts: 440
  • Thank you received: 20
  • Hikashop Essential
1 year 4 months ago #352723

Hi Nicolas

I have just noticed that.

I have also switched the template to Cassiopeia and created a child template. All works as expected.

I thought jQuery was being removed in J4, although it seems some template providers may still use it.

I will raise this with the developer.

Thanks

David

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

  • Posts: 82863
  • Thank you received: 13372
  • MODERATOR
1 year 4 months ago #352725

Hi,

No, jquery has not been removed. Joomla still comes with it and there are parts which can require it being loaded.
However, it's true that Joomla 4 tries to not load it as much as possible.

The following user(s) said Thank You: davec

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

Time to create page: 0.066 seconds
Powered by Kunena Forum