pn523's avatar
Level 2

Complex ecommerce database design

Hi, I am new to database design. I want to make an complex ecommerce database design can someone suggest me nice tutorial that can teach me complex ecommerce database design structure ?

0 likes
6 replies
Tray2's avatar

Why would you want to do something complex?

My rule of thumb is KISS.

You will at least need the following tables

  • users
  • products
  • categories
  • orders
  • invoices

Don't know how familiar you are with Laravel but I suggest following Adam Wathan's Testdriven Laravel where lots of the things you will need for an e-comerce site is covered.

https://course.testdrivenlaravel.com/

pn523's avatar
Level 2

Thank you guys, so I did research again and I have made my own ecommerce database design.

I have one question, Question is : because there are many foreign keys and adding more foreign keys comes with the performance hit than how do u handle this ??

siangboon's avatar

take the mysql database design lessons above, the answer is inside.

margaretgipson's avatar

The database is necessary for any ecommerce website. It become complex according to the features youre providing in website. The product table is the most important table for any ecommerce site. My website https://www.customizejackets.com/ has multiple features and to accommodate it I have used the free MYSQL database with all the necessary tables and columns. Laravel may also be used to manage the complex database.

hpolthof's avatar

When it comes to e-commerce, you'd probably want to manage your products out of a PIM and not in your webshop. You could look at some open-source PIM systems to see what your needs are.

The biggest open-source PIMs are: PIM Core and Akeneo.

Please or to participate in this conversation.