I’m creating shopping cart and I’m having one problem: When someone orders an item I need to hide that item from printed MySQL DB items list (stored in table items) if this item is already bought. (That other users can not add this items to cart if someone already did that earlier and bought it.) Bought items are stored in other MySQL table orders. So somehow need to compare these two tables and filtrate this items from goods list which are ordered. Any advices?
I’m creating shopping cart and I’m having one problem: When someone orders an item
Share
You could do something like this: