Luigi Donato Posted November 16, 2020 Share Posted November 16, 2020 Hello, probably the topic has already been addressed, I did a search but I did not find solutions ..! The problem is that if I click on a color from miniatures on products listing, the URL is correct but as the page loads, PrestaShop redirects the visitor to the default combination (color and width). How can I avoid this redirection/route? PHP or Js? I haven't find the redirection on Chrome Network 😓 NB: The url that appears as soon as you click on the color from the miniatures is the same as the one that appears when you click on the color from the product sheet. Link to comment Share on other sites More sharing options...
JBW Posted November 17, 2020 Share Posted November 17, 2020 WHats you Prestasjop and PHP version? Can you post a sample link? Link to comment Share on other sites More sharing options...
Luigi Donato Posted November 18, 2020 Author Share Posted November 18, 2020 Hi, the PHP version is 7.1.28, PrestaShop version is 1.7.6.8 Try every category.. For example this: https://adesivimoto.eu/kawasaki/ Link to comment Share on other sites More sharing options...
JBW Posted November 18, 2020 Share Posted November 18, 2020 Hi, this works fine with classic theme, so I suggest you contact your theme developer Link to comment Share on other sites More sharing options...
Luigi Donato Posted November 18, 2020 Author Share Posted November 18, 2020 (edited) No.. I've try in local and not work with classic.. It's an old PrestaShop bug..! They redirect under page loading when click by miniature.. My opinion is that probable problem is the POST data, executed by js or route Edited November 18, 2020 by Luigi Donato (see edit history) Link to comment Share on other sites More sharing options...
JBW Posted November 18, 2020 Share Posted November 18, 2020 Try https://demo.prestashop.com/ - click on the shirt in black color - you will be redirected to the black variant while default would be white Link to comment Share on other sites More sharing options...
Luigi Donato Posted November 18, 2020 Author Share Posted November 18, 2020 So will it be a server configuration problem? Anyone who can tell me how to act as code or at least what could be causing this redirection? Link to comment Share on other sites More sharing options...
JBW Posted November 18, 2020 Share Posted November 18, 2020 As said I assume its a theme or module issue Link to comment Share on other sites More sharing options...
Luigi Donato Posted November 19, 2020 Author Share Posted November 19, 2020 Even if the problem was in a module or in the template, however I would like to find it .. It is still a piece of code that interferes with PrestaShop or vice versa.. If you have ideas.. 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