View Single Post
Old 02-28-2018, 10:33 AM
Kevin Brown Kevin Brown is offline

Join Date: May 2015
Posts: 4

Default How to return to the page sale URL after login/registration

I've trying to figure out why this doesn't work;
<ul class="sign-in_block"> <li class="account-link-sign_in"> <button type="button" class="btn regular-button popup-button popup-login" data-without-close="1"> <script type="text/x-cart-data"> {"url_params":{"target":"login","widget":"\\XLite\\View\\Authorization","fromURL":""}} </script> <span>Sign in for price</span> </button>

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.
x-cart 5 multi vendor
mobile skin
Reply With Quote