Be part of JetBrains PHPverse 2026 on June 9 – a free online event bringing PHP devs worldwide together.

Ahmed Alaa's avatar

What's the best way to design products and Collections in E Comerce System ?

I'm working on building an E-commerce system that deals with two types of goods either a single product or collections (one entity contains multiple products I created 3 tables products, collections, and collection_product. is this a good design? And furthermore, I want to have a section for related products (or goods because it'll contain both products and collections) and complementary goods, how to design these relations?

0 likes
1 reply
jlrdw's avatar

I'd suggest looking over some on Github to get some ideas. Some are using Laravel.

1 like

Please or to participate in this conversation.