TVBZ Posted July 6, 2020 Share Posted July 6, 2020 (edited) Hi, I am new to PS, currently building a site using PS 1.7.6.5. As a theme, I am building a child theme of the default "classic" theme. I am only using the standard (free) PS modules. All extra function I needed, I created myself in the child theme. Doing some tests in Google Lighthouse, it becomes clear PS uses an insecure and old scripts. jQuery is allready at 3.5.1, but for some reason the latest PS still uses 2.2.4. jQuery UI is at 1.12 today, PS uses 1.10.3 Bootstrap is at 4.5.0, PS uses 4.0.0 Why is this? Is it possible to override these scripts with a newer version inside my child theme? If yes, how? If no, why not? Edited July 6, 2020 by TVBZ (see edit history) Link to comment Share on other sites More sharing options...
musicmaster Posted July 8, 2020 Share Posted July 8, 2020 Prestashop uses a lot of third party software plugins. It is for them that it sticks to older software versions. Link to comment Share on other sites More sharing options...
TVBZ Posted July 8, 2020 Author Share Posted July 8, 2020 (edited) 30 minutes ago, musicmaster said: Prestashop uses a lot of third party software plugins. It is for them that it sticks to older software versions. Yes, I understand. But the question is if the scripts can be overridden in theme folders? Most CMS use some outdated scripts for the same reason. Major players like Joomla or WordPress have the option to load a newer version of a script like jQuery from inside a theme. And off course this is at own risk and should be tested properly. But does PrestaShop support this? Edited July 8, 2020 by TVBZ (see edit history) Link to comment Share on other sites More sharing options...
Recommended Posts
Create an account or sign in to comment
You need to be a member in order to leave a comment
Create an account
Sign up for a new account in our community. It's easy!
Register a new accountSign in
Already have an account? Sign in here.
Sign In Now