Problem with redirection to the return page
Since version 1.7 of Prestashop, the Cookie SameSite feature causes session loss on return when the POST mode is enabled.
There are 2 solutions available for solving this problem:
Change the return mode to GET
In order to change the return mode:
- Sign in to your PrestaShop Back Office.
- Go to the Modules menu > Module Manager.
- Search for the Lyra module.
- Click Configure.
- Click General configuration.
- Search for Return to shop.
- Select GET in the Return mode parameter.
- Click Save.
Disable the Cookie SameSite
If you would like to maintain the POST return mode, perform the following change:
- Sign in to your PrestaShop Back Office.
- Go to Shop configuration > General settings.
- Set Enable SSL to Yes.
- Set Enable SSL on the whole website to Yes.
- Click Save.
- Go to Advanced parameters > Administration.
- Set Cookie SameSite to None.
- Click Save.