finnenhawke Posted May 23, 2019 Share Posted May 23, 2019 (edited) Hello, PrestaShop seems to have a JavaScript code (var prestashop) that contains the information about opened product. Unfortunately, on my client's website the data in this code is incorrect. Here's how the contents of this JS code look in the working, freshly installed test version of PrestaShop: You can see that on a correctly working PrestaShop the URL is the same as the one in the browser, and Canonical URL mirrors that as well. All the other data, like "name" of the product, list of the product images and so on are also correct here, because they reflect currently opened product. However, on my client's shop, the data contained in this JavaScript code is almost completely wrong. "Add to cart URL" is correct, but things like URL, Cannonical URL, Product Images are always from a different product. And it happens on all products. They all point to one, different product. Does anyone know why this happens? Edited May 23, 2019 by finnenhawke (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