N
N
Nikita Dergachov2016-10-04 11:52:46
Online shopping
Nikita Dergachov, 2016-10-04 11:52:46

How to design a base for an online clothing store?

You need to make an online store. Now I am designing a database.
It is necessary that each product has a list of sizes and each size must have a certain quantity.
And another question.
How to properly make a cart through cookies or through session?

Answer the question

In order to leave comments, you need to log in

2 answer(s)
V
Vyacheslav Plisko, 2016-10-04
@AmdY

Regular EAV. There is a table of goods, a table of sizes
, a connection through a pivot table in which we store the quantity at the same time.
The dock has information on additional actions with the pivot https://laravel.com/docs/5.2/eloquent-relationships https://github.com/Crinsane/LaravelShoppingcart

E
Evgeny Bukharev, 2016-10-04
@evgenybuckharev

Reading about database normal forms

Didn't find what you were looking for?

Ask your question

Ask a Question

731 491 924 answers to any question