Yes, you need 2 tables, one for the store inventory and one for the shopping
cart.
As the user picks items, you insert them to the shopping cart, with the user
name as part of the key. You might want to have one shopping cart table per
user, it depends on your design.
You will need to allow for creating, updating and deleting shopping carts.
Dorian