- Posts: 256
- Thank you received: 2
Script error on product carousel
- dancingkazzaf
-
Topic Author
- Offline
Less
More
10 years 1 month ago #248826
by dancingkazzaf
Script error on product carousel was created by dancingkazzaf
-- 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
-- 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.
10 years 1 month ago #248828
by nicolas
Replied by nicolas on topic Script error on product carousel
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.
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.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
10 years 1 month ago - 10 years 1 month ago #248917
by dancingkazzaf
Replied by dancingkazzaf on topic Script error on product carousel
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
Any help would be great.
Thanks
Last edit: 10 years 1 month ago by dancingkazzaf.
Please Log in or Create an account to join the conversation.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
10 years 1 month ago #248926
by dancingkazzaf
Replied by dancingkazzaf on topic Script error on product carousel
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?
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.
10 years 1 month ago - 10 years 1 month ago #248920
by nicolas
Replied by nicolas on topic Script error on product carousel
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.
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: 10 years 1 month ago by nicolas.
Please Log in or Create an account to join the conversation.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
10 years 1 month ago #248999
by dancingkazzaf
Replied by dancingkazzaf on topic Script error on product carousel
Yes I thought so too. I am still unable to configure the Jquery Easy plugin correctly could you give me any more guidance.
Thanks
Thanks
Please Log in or Create an account to join the conversation.
10 years 1 month ago #249002
by nicolas
Replied by nicolas on topic Script error on product carousel
Hi,
Well, normally, there is not much to do. You keep the default settings and just activate it. Did you try that ?
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.
- dancingkazzaf
-
Topic Author
- Offline
Less
More
- Posts: 256
- Thank you received: 2
10 years 1 month ago #249155
by dancingkazzaf
Replied by dancingkazzaf on topic Script error on product carousel
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.
10 years 4 weeks ago #249176
by nicolas
Replied by nicolas on topic Script error on product carousel
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
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.220 seconds