@PaulDiamant It is better to save prices in the orders_products , because the price can change, and the user will be surprised.
Nov 8, 2017
2
Level 1
Question about database design for product orders
I'm working on an ecommerce platform, and have a products table, orders table and orders_products table. Should I save the price of the single item in the orders_products table or fetch it every time the user goes to their cart and after they make a purchase?
Please or to participate in this conversation.