Answer the question
In order to leave comments, you need to log in
Please explain if I understand correctly what a product offer is?
For example, I have such tables in an online store:
1) Product Table.
product_id, name, slug, category_id...
2) Category table.
category_id, name...
3) Color table.
color_id, name, img (the img field is where the path to the image with the color is stored)
4) Size table.
size_id, name,
5) Table Product_Color
product_id, color_id
6) Table Product_size
product_id, size_id
This is where I got stuck.
7) Table Product_Color_size
product_id, color_id, size_id
1 1 1
1 1 2
1 1 3
1 2 1
2 1 4
So this is already an offer?? Combination product color size
Product with id 1 has available color 1 has available sizes 1 2 3
Product with id 1 has available color 2 and has size 1.
Product with id 2 has available color 1 and has size 4.
Please tell me this is there an offer?
Answer the question
In order to leave comments, you need to log in
Didn't find what you were looking for?
Ask your questionAsk a Question
731 491 924 answers to any question