How to return to the page sale URL after login/registration
I've trying to figure out why this doesn't work;
What would be the Twig var be to use in the fromURL var?
Without this after login/registration the user is returned to the account page.
Re: How to return to the page sale URL after login/registration
I'm not sure where you see the code. Is it a custom template?
The code in the original template looks like this:
So, it's the \XLite\View\Button\PopupLogin widget that renders the button and adds all the necessary parameters.
If you need a custom button, you should implement a similar widget class that will render the button with your parameters.
|All times are GMT -8. The time now is 08:43 PM.|
Powered by vBulletin Version 3.5.4
Copyright ©2000 - 2020, Jelsoft Enterprises Ltd.