Script error on product carousel

  • Posts: 256
  • Thank you received: 2
8 years 11 months ago #248826

-- url of the page with the problem -- : 217.199.187.74/restorationuk.com/index.php/checkout/checkout
-- HikaShop version -- : 2.6.3
-- Joomla version -- : 3.6.2
-- Error-message(debug-mod must be tuned on) -- : Fx.Slide is not a constructor

Hello, I have added a best seller product carousel to the checkout page, but the carousel is not working. I have checked the console and their seems to be a script error 'Uncaught TypeError: Fx.Slide is not a constructor'

I have this module on the hompage and works fine. So it must be something to do with the cart that is causing a conflict.

Thanks

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
8 years 11 months ago #248828

Hi,

This javascript error is created because of the payment methods selection interface which requires mootools to work, and a conflict between the mootools and jquery libraries on your checkout loaded from different components/plugins/template leading to mootools not being usable.
And because of that error, the carousel system javascript cannot be initialized by the browser.
So the solution will be to try installing and configuring the jQuery Easy plugin extensions.joomla.org/extension/jquery-easy in order to sort out the mootools/jquery conflict which will remove the javascript error, and will allow the browser to init the carousel.

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

  • Posts: 256
  • Thank you received: 2
8 years 11 months ago #248917

I am not familiar with this plugin. I think I have disable mootools on the page but It doesn't seem to be working.
Any help would be great.

Thanks

Last edit: 8 years 11 months ago by dancingkazzaf.

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

  • Posts: 256
  • Thank you received: 2
8 years 11 months ago #248926

I have also noticed the menu is all messed up on the checkout page which is probably to do with script error too.

Heres the link to the page.
77.104.140.20/~restorationuk/restoration...hp/checkout/checkout

Can this be solved?

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
8 years 11 months ago #248920

Hi,

When a conflict between JQuery and Mootools occurs, it's usually because the jQuery library ovewrites the javascript variables used by mootools. By installing and configuring that plugin, it avoids that jQuery overwrites these variables and thus avoids the error.
You should not disable jQuery. If it's there, it means that it is used by something on your pages.

And yes, the problem with the menu is coming from the same conflict. Fix the Mootools/jQuery conflict with jQuery Easy, and that will also fix the menu.

Last edit: 8 years 11 months ago by nicolas.

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

  • Posts: 256
  • Thank you received: 2
8 years 11 months ago #248999

Yes I thought so too. I am still unable to configure the Jquery Easy plugin correctly could you give me any more guidance.

Thanks

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
8 years 11 months ago #249002

Hi,

Well, normally, there is not much to do. You keep the default settings and just activate it. Did you try that ?

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

  • Posts: 256
  • Thank you received: 2
8 years 11 months ago #249155

Yes that is what I initially did but nothing happened so I tried a few settings but nothing.

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

  • Posts: 84233
  • Thank you received: 13677
  • MODERATOR
8 years 11 months ago #249176

Hi,

Well, I've just looked at your checkout, and I see that the jQuery Easy plugin has been activated looking at your headers, however, it leaves all the other jquery libraries on the header, while it should normally remove them.
So check the settings of the plugin and see if you didn't deactivate something regarding the removing of the duplicate jquery libraries. Also, you can read more about how to configure jQuery Easy thanks to their documentation. For example:
www.simplifyyourweb.com/documentation/tu...e-jquery-easy-plugin

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

Time to create page: 0.072 seconds
Powered by Kunena Forum