Details
-
Bug
-
Resolution: Fixed
-
Medium
-
None
-
None
-
None
Description
In the webshop, it is possible to redirect the user back to a product's page when adding a product to the basket.
(This behaviour can be configured in site.ini [ShopSettings], RedirectAfterAddToBasket=reload).
When using lazy sessions, and no session yet exists for the (anonymous) user, the used url will not exist in session data and a redirect is performed to the homepage instead.
Steps to reproduce
- Configure shop settings in site.ini: RedirectAfterAddToBasket=reload, clear cache
- As an anonymous user, add a product (outside homepage) to the basket.
Result: a redirect will be done to the homepage.
Repeating the above steps again will work now, since a session is already created.