Support the ongoing development of Laravel.io →
posted 10 years ago
Architecture
Last updated 2 years ago.
0

Maybe you could create a table named products_meta and a table products. In the products table you can store all the stuff which is almost the same (created_at, name of the product, category_id etc.). In the products_meta table you can store your params. You could create two fields value and key and than you can store as many params for each product as you want. For example t shirt (value: size, key: m, value: size: key: s etc.)

Last updated 2 years ago.
0

Sign in to participate in this thread!

Eventy

Your banner here too?

Ortix92 ortix92 Joined 8 Feb 2014

Moderators

We'd like to thank these amazing companies for supporting us

Your logo here?

Laravel.io

The Laravel portal for problem solving, knowledge sharing and community building.

© 2024 Laravel.io - All rights reserved.