Items in cart are not updating or shopping cart is empty
This article may be outdated and referencing Sunshine Photo Cart 2. Documentation articles are currently being updated and hope to be fully accurate very soon. Apologies for any confusion.
If you are experiencing issues with the items in cart not updating after adding to cart or your shopping cart is showing as empty, then in almost all cases this is an issue with cache. Most sites add caching with a plugin to help speed up your site. Caching helps your site not have to access the database or create static versions of pages to help speed it up. However, on dynamic pages like everything in Sunshine where each person has unique data (like items in cart) caching will cause problems by loading the cached version and not the current dynamic version of the page.
Temporarily disable all caching. Look for any caching plugins you may have installed or see if any caching is enabled at the server level by your web host.
Test adding to cart and see if it works without caching enabled.
If it now works, check either your cache plugin or server level caching on how to set up exclusion rules. Exclude all Sunshine-related pages – each plugin or web host will do this different so look for any documentation or settings related to your caching plugin/host.
If it is still an issue, open a support ticket to have it looked at in more detail.
Still need help?
If you have not yet found your answer in the documentation articles, please contact support