Razvan95 Posted June 16, 2020 Share Posted June 16, 2020 Hello, My prestashop webiste is lazy loading. The console return a lot of error about jquery-fancybox. How can I repair the error? Thank you! Link to comment Share on other sites More sharing options...
Prescol Posted June 16, 2020 Share Posted June 16, 2020 Jquery is not loading because your site is under HTTPS and the link to jQuery CDN is non https Link to comment Share on other sites More sharing options...
Razvan95 Posted June 19, 2020 Author Share Posted June 19, 2020 Ok, and how can I modify jquery to https? Link to comment Share on other sites More sharing options...
Prescol Posted June 19, 2020 Share Posted June 19, 2020 In your theme, find the file containing the link tag to jquery cdn (probably header.tpl) and add the "s" after http Link to comment Share on other sites More sharing options...
Razvan95 Posted June 19, 2020 Author Share Posted June 19, 2020 Ok, I modified, but there are some error "unexpected token s in JSON ..." or "fancybox is not a function" Can you help me? Link to comment Share on other sites More sharing options...
Prescol Posted June 23, 2020 Share Posted June 23, 2020 Seems like your theme or a modules is trying to create an instance of fancybox, but it is missing. Ask your theme provider if fancybox is present in theme. 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