by Jim » Tue Aug 31, 2010 8:21 pm
The mini-cart content is kept in a cookie in the shoppers browser. There can be several things going on that may change the way the mini cart is displayed.
1. Most important is that cookies cannot be read by a different domain than the domain that sets the cookie. So if your store is at mydomain.com but your shopping cart is at myhosts.domain.com the minicart will not work. The shopping cart would have to be at mydomain.com
2. The javascript code for the minicart on store pages tries to read the cookie and if it can it will display the minicart. If the browser has closed and been reopened the cookie may not be able to be read. The cookies are set to expire at a certain point so if it has been longer than that period of time the cookie will no longer be valid and wouldn't be read so the minicart contents can't be displayed..
3. The same browser must be used to display the store pages as what was used to put the item in the cart. Since the cookie is set in the browser by the shopping cart it will only be available in that browser. So for example you can't add the item to the cart with Internet explorer and expect to see the minicart if you go to the site with Firefox or even Internet Explorer on a different computer.