myhappyidea Posted February 19, 2020 Share Posted February 19, 2020 Hi! My client has a eyewear shop (https://www.visionlowcost.com), and we have detected something strange, I am quite sure it is a configuration issue but not sure what can it be. When we have 'simple' products (with no attributes or variations), the category page does not add the ? at the end of the URL, giving us a 500 error. (well, in general if you take off the ? at the end there is a 500 error, but whilst navigating through the page this only shows up on the simple products) We have classic theme and no extra url modules. I activated debug and got this: [Debug] This page has moved Please use the following URL instead: https://www.visionlowcost.com/bauschlomb/pack-biotrue-2-x-300-ml-60-ml-de-regalo.html But if you click on that URL, it gives us the same error, and so and so. Last week we changed the htaccess to the store, as we had languages, we took them off so we added a basic rule to redirect from /es to /. I took it off the .htaccess to check if it was that and doesn't seem to be that either. Can anybody help me out? any insights? Thanks in advance! Ana Link to comment Share on other sites More sharing options...
Mr Rick Posted February 25, 2020 Share Posted February 25, 2020 Hi Ana, Can you share the schema of urls with us, see below for example. https://nimb.ws/wmOfaN Link to comment Share on other sites More sharing options...
myhappyidea Posted February 25, 2020 Author Share Posted February 25, 2020 Sure! Link to comment Share on other sites More sharing options...
Mr Rick Posted February 25, 2020 Share Posted February 25, 2020 It looks like you are using a module to modify URLs or might be just a customization as default Prestashop doesn't allow product route without {id} parameter because its mandatory. See if you have an override in /override/classes/Dispatcher.php Link to comment Share on other sites More sharing options...
myhappyidea Posted February 27, 2020 Author Share Posted February 27, 2020 None, there isn't even Dispatcher.php in that folder Link to comment Share on other sites More sharing options...
Mr Rick Posted February 27, 2020 Share Posted February 27, 2020 You should put back the {id} parameter to get correct behavior. 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