How to do redirect in decorator
Forum rules
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
Always add your Laravel, Aimeos and PHP version as well as your environment (Linux/Mac/Win)
Spam and unrelated posts will be removed immediately!
How to do redirect in decorator
I try redirect to some page in my decorator but not working. How to do this ?
Re: How to do redirect in decorator
Redirecting is not possible in a HTML client component because it generates only a part of the result page.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star
Re: How to do redirect in decorator
So how to redirect to another page ? I validate the data in the decorator in "process" method and how to redirect if something is wrong ?
Re: How to do redirect in decorator
There's no standard way that works.
You should show the error message instead and the basket contains a "Back" button the user can click.
You should show the error message instead and the basket contains a "Back" button the user can click.
Professional support and custom implementation are available at Aimeos.com
If you like Aimeos, give us a star
If you like Aimeos, give us a star