Follow us on Twitter X-Cart on Facebook Wiki
Shopping cart software Solutions for online shops and malls

$userinfo smarty variable

 
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design
 
Thread Tools Search this Thread
  #1  
Old 03-26-2014, 08:42 AM
 
bitNine bitNine is offline
 

Newbie
  
Join Date: Mar 2014
Posts: 8
 

Default $userinfo smarty variable

I'm working on reprogramming some of the shipping display settings for our cart (x-cart 4.6.3), but I'm having some issues understanding where the $userinfo variable data is coming from. When I go to a fresh computer, fresh browser, on a different internet connection, the cart somehow determines my location and zip code as right here at my office. Why would that be? I can't seem to get the cart into a situation where the $userinfo variable is empty, therefore requiring data to get shipping methods and rates. It almost seems as if it's pulling data from an ip2location database, but doing this from my home computer doesn't show the correct data that shows in an ip2location database.
__________________
X-Cart 4.6
X-Banners MOdule
Reply With Quote
  #2  
Old 03-26-2014, 11:55 AM
  cflsystems's Avatar 
cflsystems cflsystems is offline
 

Veteran
  
Join Date: Apr 2007
Posts: 14,190
 

Default Re: $userinfo smarty variable

If you have "presume non-logged in user is from default country" checked in admin settings any customers not-logged in will have these address entries to start with. If you need it clean and empty uncheck the box to disable this
__________________
Steve Stoyanov
CFLSystems.com
Web Development
Reply With Quote

The following user thanks cflsystems for this useful post:
bitNine (03-26-2014)
  #3  
Old 03-26-2014, 11:59 AM
 
bitNine bitNine is offline
 

Newbie
  
Join Date: Mar 2014
Posts: 8
 

Default Re: $userinfo smarty variable

I knew it had to be something so simple. Thank you very much!
__________________
X-Cart 4.6
X-Banners MOdule
Reply With Quote
Reply
   X-Cart forums > X-Cart 4 > Dev Questions > Changing design


Thread Tools Search this Thread
Search this Thread:

Advanced Search

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

vB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Forum Jump


All times are GMT -8. The time now is 03:29 AM.

   

 
X-Cart forums © 2001-2020