Almost every cart issue on a site comes from one of two things: the cookie that finds the cart, or a cached page that shows one visitor's cart to everyone. Read The cart record and its cookie first; its diagnosis list answers "my cart emptied". Changing the cart has the requests, with the refusals that answer 200, the messages that explain them and the limits on item attributes.

Read The cart count on a cached page before building a site header: it is a short page with one rule, and the rule prevents the most common cart complaint of all.