• Priority: 0
  • Status: Waiting on customer
  • Theme: Alysum
  • Assigned To: Fred
  • Private: No
  • Open Date: 25.01.25, 13:46
  • Opened by: Donato Frangione

Ticket #25936 - Navbar/header buttons and cart widget on home page not working

Hi, the problem is only present on the home page, both from mobile and desktop. All the buttons in the header do not work and it does not load the cookie banner, on the other pages the problem does not occur. The chrome console says:

bottom-a2737c524.js:116 Uncaught TypeError: $ is not a function
at HTMLDocument.<anonymous> (bottom-a2737c524.js:116:934)
at HTMLDocument.dispatch (bottom-a2737c524.js:2:90308)
at m.handle (bottom-a2737c524.js:2:88303)

Comments

Fred 26 Jan 2025, 21:30

Hi, Donato.
Please try now, it should be fixed.
Updated file is

/themes/alysum/templates/_partials/javascript.tpl
Donato Frangione 27 Jan 2025, 12:20

Hi Fred, it's working now, thanks a lot. May I know what caused the problem because I need to understand if the customer is responsible.

Fred 27 Jan 2025, 20:18

For some reason jQuery library was not loaded, so I added it directly into that file