I need help with Product Variations. I haven't started anything yet, so I don't have an example because I don't know where to start. I will make a small sketch of what I think it should look like, and anyone who has experience with this category would help me a lot.
Database structure:
Color
| id | Color Name | Product ID |
| 1 | White | 1 |
| 2 | Black | 1 |
Size
| id | Size Name | Product ID |
| 1 | XXXL | 1 |
| 2 | M | 1 |
Product
| id | Product Name | Product Size | Product Color | Product Description
| 1 | Jacket | 1,2 | 1,2 | Jacket.....
Because I have never done product variation before, I want to get information on whether this method is correct or not? Share with me your opinions, and experiences on how to do it in the best possible way