X-cart should do this for anyone logged in by default. To do it for customers that do not log in you'd need a mod like this one:
http://bcsengineering.com/store/customer/product.php?productid=193&cat=0&page=1
X-cart by itself doesn't remember information for customers that do not log in.
Hope that helps some!
Carrie