Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Error loading products if changing products route parameters order #22204

Closed
Miguel86 opened this issue Dec 3, 2020 · 8 comments
Closed

Error loading products if changing products route parameters order #22204

Miguel86 opened this issue Dec 3, 2020 · 8 comments
Labels
1.7.6.9 Affects versions BO Category: Back Office Bug Type: Bug Duplicate Resolution: issue closed because already reported Old Products Page Concerns the old product page SEO & URLs Label: Which BO under menu is concerned

Comments

@Miguel86
Copy link

Miguel86 commented Dec 3, 2020

Hello:

Describe the bug

I have changed the products route in the backoffice, now the products shown in the main page don't work. When i enter to a product shows another product or returns a 404 page.

Expected behavior

Load the correct product.

Steps to Reproduce

Steps to reproduce the behavior:

  1. Fresh install of 1.7.6.9
  2. Added English (English GB) package as my installation is in Spanish
  3. Go to Shop parameters => SEO & URLs
  4. Scroll down to: Route to products and change from:
    {category:/}{id}{-:id_product_attribute}-{rewrite}{-:ean13}.html
    To:
    {category:/}{rewrite}-{id}{-:id_product_attribute}{-:ean13}.html
  5. Go to home page and click on the product added by the default installation: Hummingbird Printed T-Shirt in the white color square box.
  6. Instead of that product is loaded the product: The best is yet to come' Framed poster

Other products just give a 404 error, for example loading:
Mountain Fox Cushion

Screenshots
Captura de pantalla 2020-12-03-1
Captura de pantalla 2020-12-03-2

Error 404 loading fox cushion:
Captura de pantalla 2020-12-03-3
Captura de pantalla 2020-12-03-4

Additional information

  • PrestaShop version: 1.7.6.9
  • PHP version: 7.1.33
@hibatallahAouadni
Copy link
Contributor

Hello @Miguel86

Could you please check if your issue is duplicated to this one #11041 ? see this comment

Thanks!

@hibatallahAouadni hibatallahAouadni added 1.7.6.9 Affects versions BO Category: Back Office Bug Type: Bug NMI Status: issue needs more information SEO & URLs Label: Which BO under menu is concerned Old Products Page Concerns the old product page labels Dec 3, 2020
@Miguel86
Copy link
Author

Miguel86 commented Dec 3, 2020

Hello @Miguel86

Could you please check if your issue is duplicated to this one #11041 ? see this comment

Thanks!

That comment suggests to change order as i made, however is when the error comes up. Originally the user wanted to remove the anchor, i didn't expect that i just wanted to reorder the fields of the URL, which was working fine for me in Prestashop 1.6 so in my opinion is not the same.

@hibatallahAouadni
Copy link
Contributor

@Miguel86 I believe that improvement when it's done, your issue will be fixed 😉

@Miguel86
Copy link
Author

Miguel86 commented Dec 3, 2020

That improvement was requested 2 years ago. This is breaking the possibility to upgrade websites from Prestashop 1.6 to 1.7 and an error should not wait to be fixed by an improvement (in my opinion obviously). This is a several SEO problem, is not something we can just "leave" for the future.

@hibatallahAouadni
Copy link
Contributor

Hello @Miguel86

It's already in our debug backlog (To Do) and it's assigned to @PierreRambaud
So, I don't think it will take a long time to be resolved!

Thanks!

@PierreRambaud
Copy link
Contributor

That improvement was requested 2 years ago. This is breaking the possibility to upgrade websites from Prestashop 1.6 to 1.7 and an error should not wait to be fixed by an improvement (in my opinion obviously). This is a several SEO problem, is not something we can just "leave" for the future.

Don't forget this is an open source project. Feel free to contribute if you think this issue or another one is mandatory for your business 😉

@hibatallahAouadni
Copy link
Contributor

Hello @Miguel86

We are aware of this issue, it is already in our debug backlog. This issue is a duplicate of #11041.
To be informed when it's fixed, please subscribe to the issue mentioned above.

As @PierreRambaud mentioned above, if you have already fixed it on your end or if you think you can do it, please do send us a pull request!

Thanks!

@hibatallahAouadni
Copy link
Contributor

Duplicate of #11041

@hibatallahAouadni hibatallahAouadni marked this as a duplicate of #11041 Dec 3, 2020
@hibatallahAouadni hibatallahAouadni added Duplicate Resolution: issue closed because already reported and removed NMI Status: issue needs more information labels Dec 3, 2020
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
1.7.6.9 Affects versions BO Category: Back Office Bug Type: Bug Duplicate Resolution: issue closed because already reported Old Products Page Concerns the old product page SEO & URLs Label: Which BO under menu is concerned
Projects
None yet
Development

No branches or pull requests

3 participants