| ||||||||||
Shopping cart software Solutions for online shops and malls | ||||||||||
|
X-Cart Home | FAQ | Forum rules | Calendar | User manuals | Login |
Redirecting a customer to a custom page after registration | |||
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
Redirecting a customer to a custom page after registration
First of all let me start with general remarks about the webmaster mode.
instead of address book page, after registration. A search through this forum shows that such a feature existed for XC4, e.g. https://forum.x-cart.com/showthread.php?t=62989&highlight=registration However, I haven't seen any post on the subject for XC5. Now, for the reason I mentioned above, it is extremely difficult for me to figure out which class is responsible for the redirection. However, I found this Code:
in /XLite/Controller/Customer/Profile.php. So I made a class XLite/Module/VendorID/ModuleID/Customer/Profile.php with Code:
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
#2
|
|||||||||
|
|||||||||
Re: Redirecting a customer to a custom page after registration
Code:
you are missing the "implements" portion
__________________
Steve Stoyanov CFLSystems.com Web Development |
|||||||||
|
#3
|
|||||||
|
|||||||
Re: Redirecting a customer to a custom page after registration
Can't believe I did this again
On the other hand, now people with this problem can find how to change the URL to redirect. And, of course, the correct code is Code:
Thank you very much.
__________________
X-cart 5.2.12, php 5.6 Ed from Grenoble, France |
|||||||
|
|||
X-Cart forums © 2001-2020
|