According to the docs using the following code should redirect a user upon login to /shop-all
<input type="hidden" id="redirect_to" name="redirect_to" value="/shop-all">
However, it doesn't seem to work. A user is redirected to account or cart (if they have items in their cart)
Has anybody got a work around for this?
Steps to reproduce behavior
- Enter the line
<input type="hidden" id="redirect_to" name="redirect_to" value="/shop-all">into the form.html login form. - Run stencil
- Log in to your BC Store