| ||||||||||
![]() |
Shopping cart software Solutions for online shops and malls | |||||||||
![]() |
![]() |
|
X-Cart Home | ![]() |
![]() |
![]() |
![]() |
![]() |
![]() |
Smarty $userinfo variable | |||
![]() |
|
|
Thread Tools | Search this Thread |
#1
|
|||||||
|
|||||||
![]() So, I'm adding some custom user account fields and was wondering if someone could tell me what file is responsible for loading the user account data into the Smarty $userinfo variable.
Thanks!
__________________
X-Cart Version 4.1.9 |
|||||||
#2
|
|||||||||
|
|||||||||
![]() If I recall correctly its include/register.php but the $userinfo variable isn't available globally.
|
|||||||||
#3
|
|||||||
|
|||||||
![]() Well, I did some digging and just answered my own question so to whom it may concern:
PHP variable $userinfo is created and populated in include/func.user.php and is then passed to smarty on line 676 of cart.php: Code:
__________________
X-Cart Version 4.1.9 |
|||||||
|
|||
X-Cart forums © 2001-2020
|