Product redirect is not stored correctly in DB #36176
Labels
8.1.x
Branch
Bug
Type: Bug
FO
Category: Front Office
New Products Page
Label: Which BO under menu is concerned
NMI
Status: issue needs more information
Prerequisites
Describe the bug and add attachments
Hello,
it seems that I found bug in product page (BO). To exclude possible problems on our eshop, I have instaled new Prestashop for test purpose.
When you, on product page in back office, set Redirection page to Permanent redirection to a product (301) or Temporary redirection to a product (302) and select product and then save (
)
, redirection type is not stored correctly.
When you reload product page in back office, it shows that it was set to Permanent redirection to category (
).
This bug is related to saving of product - I checked DB table ps_product and as you can se on picture
, redirect_type is set to 301-category. id_type_redirect is stored correctly (id of selected product).
I also tried to switch to New product page (New & Experimental features) and when New product page is used, then redirection is stored correctly.
Best regards
Adam Prokop
Expected behavior
Correct redirection to product, not to category :-)
Steps to reproduce
PrestaShop version(s) where the bug happened
8.1.5
PHP version(s) where the bug happened
7.3.33
If your bug is related to a module, specify its name and its version
No response
Your company or customer's name goes here (if applicable).
Adam Prokop
The text was updated successfully, but these errors were encountered: