| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
How to modify register.php | ||||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() I do not like the fact the x-cart takes the user back to the Modify Profile page each time a user creates a new profile or modify the profile. It is totally not necessary to let user to play with profile so easy, and let it show up again.
How can we direct users to home.php or place Feature Products box there after they submit a profile or modify their profile? I think this will be a very good mod. Thanks a lot. Jeff
__________________
version 4.1.1 |
|||||||
#2
|
|||||||
|
|||||||
![]() Hey Jeff, really need to know your X-Cart version number. Please post it in your signature. This will help pepole not only in this thread, but any other threads you post in Thanks!
![]()
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#3
|
|||||||
|
|||||||
![]() Sorry. I am working on version 4.0.11
Thanks. Jeff
__________________
version 4.1.1 |
|||||||
#4
|
|||||||
|
|||||||
![]() Well that certainly helps in this thread, but it won't in others. Edit your profile, and put the version number in your signature. Where you have 'Beginner' now. I'll get back to you with an answer to your question a little later....
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#5
|
|||||||
|
|||||||
![]() I believe version 4.0.9 does the same. When users register and Submit the profile form, the page will be directed to "Modify Profile" immediately. This is an annoying. Why do not start to sell products, instead of giving them the profile again?
In addition, each click on the Submit button on the Profile page, the user and the store owner will get an email - wasting your time. I think the modifications should be in /include/register.php, around lines: Code:
But, it's just over my head. Thanks, Jeff ~~~~~~~ Version 4.0.11 (and 4.0.9)
__________________
version 4.1.1 |
|||||||
#6
|
|||||||
|
|||||||
![]() Quote:
You can turn that off in admin/General settings/Email notification options
__________________
x-cart 4.0.5 (live and heavily modded) Server: freebsd |
|||||||
#7
|
|||||||
|
|||||||
![]() Anyone successfully redirect a newly registered client yet?
__________________
Padraic Ryan Ryan Design Studio Professional E-Commerce Development |
|||||||
#8
|
|||||||
|
|||||||
![]() Thank you for checking back.
I did the following in include/register.php Replace Code:
with Code:
It seems it works ok for me. I am not very good at x-cart and so I am not sure it will cause problem or not. If you see any, please post back. Regards, Jeff
__________________
version 4.1.1 |
|||||||
|
#9
|
|||||||
|
|||||||
![]() Thanks Jeff for this code.
Now I understand why I have customer registered 2 or 3 times in the same day. ![]() This code works OK in 4.0.13 All the best. |
|||||||
#10
|
|||||||||
|
|||||||||
![]() Yes, this is good. I have noticed that somtimes a user will create a profile and then delete it only a few minutes later
![]() |
|||||||||
![]() |
|
Thread Tools | Search this Thread |
|
|
|
|||
X-Cart forums © 2001-2020
|