Page 1 of 1

Updating jQuery on Fastor Theme - PCI Compliance

Posted: Thu Aug 16, 2018 6:56 pm
by danmatthews-SH

To cut a long story short, I need to update the jQuery on our website in order to pass the 2nd part of PCI Compliance - Network Vulnerability Scan. We have the Fastor theme installed on OC version

Can someone help advise where to, and how to, update jQuery? It has had a knock-on effect on our PayPal account, and unfortunately I am not the most code-proud person around so anything 'dumbed down' would be much appreciated!



Re: Updating jQuery on Fastor Theme - PCI Compliance

Posted: Fri Aug 17, 2018 12:37 am
by ADD Creative
You will find jQuery in the folder catalog/view/javascript/jquery/, you would need to replace this with the later version (or remove and use a CDN).

Then you need to change the theme template to include the later version. The the default theme it's at the line at the link below. It's likely to be different in your theme and may even be included from a different folder to the one above. ... er.tpl#L20

If you also need to update the admin interface it's in admin/view/javascript/jquery/. And on ... er.tpl#L14.

I would recommend doing this on a test version of you site first and fully test the upgrade doesn't break anything, especially if you are upgrading from jQuery 2 to 3 ( If the scan is detecting what I think it is, then version 3 is probably required. Did the scan give any details as to why and what versions?