View Single Post
Old 03-01-2018, 12:50 AM
  qualiteam's Avatar 
qualiteam qualiteam is offline

Join Date: Dec 2010
Posts: 6,373

Default 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:
HTML Code:
<ul class="sign-in_block"> <li class="account-link-sign_in"> {{ widget('XLite\\View\\Button\\PopupLogin', label='Sign in / sign up') }} </li> </ul>

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.
Alex Solovev,


User manual Video tutorials X-Cart FAQ

You are welcome to press "Thanks" button
if you find this post useful

Click here to learn how to apply patches

X-Cart Extensions
Reply With Quote