An online shopping cart is designed to work just like a real-world shopping cart. When you go to, say, a grocery store, you get a shopping cart of your own just like every other customer. Each shopper's cart starts out empty, then it accumulates items as they add items to their own cart. You can leave your cart for a little while and come back to it, and all the items you'd put into it would still be there, but if you abandon your cart for too long without coming back to it nor taking it to a cashier, eventually the store will round it up and put the items back.
The items you were seeing in your online cart were items that you, posing as a buyer, had added to just your own shopping cart, within the previous 24 hours. Other buyers using the cart buttons on your site would get their own cart, which would start out empty and only accumulate the items they deliberately add to it. Any buyer can keep a collection of items in their cart for up to 24 hours, but if that much time passes without them viewing their cart nor taking it to checkout, their cart would get emptied, so they'd need to start over next time they return to your site -- just like if you go to the grocer today, you wouldn't expect to find the cart you'd abandoned in the aisle yesterday.