Redirect To Page After Act On Behalf Of

Hi,

I'm trying to make a system that let's users scan a card in the physical shop so that the orders will be logged in their account. So far so good, but when using act on behalf of it automatically goes back to the homepage. Is there a way that I can redirect it to a specific page using a GET property?

Something like this would be very helpful: /?dispatch=profiles.act_as_user&return_url=test.html&user_id=0

Thanks in advance :)

You can change redirect URL in the app/controllers/backend/profiles.php file, find code by "act_as_user" mode

You can change redirect URL in the app/controllers/backend/profiles.php file, find code by "act_as_user" mode

Thank you :) I used return_url instead of redirect URL. Works perfectly now!

You are welcome!