Esely1945 Posted yesterday at 09:42 AM Share Posted yesterday at 09:42 AM Hi, New user here, I just installed Prestashop 8.2.0, I want to add simple javascript/jQuery code right before </body> ? What file should I edit? or should I do it via backend? Thank you. Link to comment Share on other sites More sharing options...
Prestashop Addict Posted yesterday at 04:00 PM Share Posted yesterday at 04:00 PM Hi, it depends if you use js CCC or not, and the theme used. Link to comment Share on other sites More sharing options...
Andrei H Posted yesterday at 07:28 PM Share Posted yesterday at 07:28 PM Hello, PrestaShop automatically loads a custom.js file if it exists in the themes/<theme>/assets/js/ directory as you can see here You just need to create the file and add your custom code in there. Then clear the browser cache and the changes should be visible. 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