Page 1 of 1

[PrestaShop] Theme Provider + jQuery

Posted: Mon Jul 03, 2017 6:42 am
by Akrolab
Hello,

I use your module with many websites, I have only one issue :
As soon as I activate the option to put the javascript in the footer in Prestashop every jQuery widget or plugin used in the wordpress site stop working.

Do you have a solution to this ?

Re: [PrestaShop] Theme Provider + jQuery

Posted: Mon Jul 03, 2017 6:47 am
by inveo
This is a jquery issue - the jQuery that comes with PS needs to be loaded before the WP. Unless you are developer we recommend to leave the "Move to footer" option in PS disabled.

Re: [PrestaShop] Theme Provider + jQuery

Posted: Mon Jul 03, 2017 6:52 am
by Akrolab
I am a Developper, this is not really a jQuery issue.
As you know loading the javascript at the end of a page increase the performance of a website and can be very useful if the pages you load are “big”.

That being said I would like a solution so that I can load my JS at the bottom at least for the Prestashop part of my website.

This can make me gain a few seconds of loading time which are very important for an e-shop.

Re: [PrestaShop] Theme Provider + jQuery

Posted: Mon Jul 03, 2017 7:04 am
by inveo
In fact unless referenced JS files are referenced with "async" or "defer" attribute, moving these files to the footer do not make any difference - they pause/stop the parser regardless on position until they are loaded. If you are a developer then I wold suggest to take a look at the Dev console of the browser to see the error message.

Cart  
(empty)

Cart Check out  »

Prices are tax inclusive.

The VAT rate for your country (US) * is 0,0 % because it is not a member of the European Union (EU).

* Please create an account if your country does not match.

Community feed
  • [Zen Cart] Can't execute Magic SEO URLs sitemaps
    I installed Magic SEO URLs Sitemaps Add-On for ZenCart MSU4.x/MSU5.x 2.0 on my server, when I try to generate sitemaps using: https://www.pechesudv155.owally.com/sitemaps.php I received :...
    by peter@pechesud.com
  • [phpBB3] Sharing users between phpBB / PrestaShop
    Hi i have 2 question 1- prestashop module support phpBB 3.3 ? 2- why we can not login in prestashop and phpbb with same user?
    by zohall
  • [phpBB3] AJAX Userinfo Extension
    Hi! I'm having trouble with this extension: https://www.phpbb.com/customise/db/exte ... _userinfo/ I tried asking support from the author but for no avail, since now. My request for support...
    by Lord Phobos
  • [phpBB3] Upgrade to phpBB 3.2.3
    Hello.. after Upgrade to phpBB 3.2.3 I am getting this message.. How can I solve this issue..? Thank you
    by ingbrzy
  • [phpBB3] URL path changed
    Hello.. I have changed my site path after moving to new hosting and now can not activate SEO module.. new path http://www.miuios.cz/domains/miuios.cz/ could you help me? thank you
    by ingbrzy2
Join our support forum » Pre-Sales Questions »
Featured Testimonials

Great work - great support - great tool! Thank you for your whole work and your great support. We're very glad with the plugin and our online portals now run much faster than before.

Alexander, the owner of Die Wirtschaft Köln

The support provided by the Inveostore.com team was top-notch! I had some questions regarding installation and they provided fast and friendly help. I’ll be recommending Magic SEO URLs to anyone who needs a quality URL re-write application from a great company.

Andrew, the owner of Right Channel Radios

More Testimonials »