cedib Posted October 3, 2019 Share Posted October 3, 2019 Hi, Has anyone upgraded their Jquery in Prestashop 1.6.1.24? It's on v.1.11.0 and according to Google Lighthouse audit, it has some vulnerabilities. Is it safe to upgrade to Jquery v.1.12.4, if not going to v.2 or 3? Thanks Link to comment Share on other sites More sharing options...
Gilles6688 Posted May 6 Share Posted May 6 Hello, have you some news about that? Link to comment Share on other sites More sharing options...
El Patron Posted May 6 Share Posted May 6 (edited) How to Upgrade Safely Backup Everything before changes. Replace jQuery in header.tpl or the theme’s equivalent file https://app.screencast.com/Ekl3tUziesjTM Ensure that no modules are explicitly loading their own older version. Test: All front office pages (cart, product, search, checkout) Back office (module install/config, product edit, etc.) Use your browser's console to monitor deprecated jQuery method warnings. If you want to future-proof or plan to upgrade to PrestaShop 1.7/8 eventually, consider testing with jQuery 3.x and using the jQuery Migrate plugin to help debug issues. But for 1.6.1.24, v1.12.4 is the safest max version to go without large-scale rewrites. Edited May 6 by El Patron (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