| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
how to redirect profile form after submission to custom thank you page | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
how to redirect profile form after submission to custom thank you page
Hello
I would like to redirect the new user profile form after submission from the current default URL (/?target=address_book&profile_id=3634") to a custom created thank you page (/thank you.html) how do I do this? I have tried various javascript function calls to redirect the form but that has not worked. The form seems to already redirect to /?target=address_book&profile_id because the action parameter on the form calls to submit to /?target=profile not /?target=address_book&profile_id, so where do I find this redirect function and change it from /?target=address_book&profile_id to the custom thank you page with the url \thank-you.html Thanks in advance
__________________
x-cart business 5.2.14 |
|||||||
#2
|
|||||||||
|
|||||||||
Re: how to redirect profile form after submission to custom thank you page
I believe you should decorate this method:
\XLite\Controller\Customer\Profile::getActionRegis terSuccessURL()
__________________
Alex Solovev, Qualiteam --- 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 |
|||||||||
#3
|
|||||||
|
|||||||
Re: how to redirect profile form after submission to custom thank you page
Awesome!! Thanks so much guys.
__________________
x-cart business 5.2.14 |
|||||||
|
|||
X-Cart forums © 2001-2020
|