Data structure example for shopping cart

Hi everyone,

I am creating a a database(s) that will contain data from the process of purchasing something with a checkout from a shopping cart.

I need to document order history on a per user basis, as well as the list of things that one can purchase.
How does the bubble database run this, is it appropriately structured? What are some of the best practices to do this sort of thing?

Any tips and tricks would be highly appreciated.

Thanks!

Asger