Table users:
user_id | 'details'
Table orders
order_id | user_nr | date / payment / costs
Table ordered_products
order_nr | product_nr
table products
product_id | Product_name | 'details'
Where each nr refers to the id in the identifying table.
Hope it helks. Use joins to link the tables