Level 15
yeah that´s the way I would do it.
I am confused about how to implement Variants for each product. Also note that each variant has its own price.
Size - Small - Price - 200 , Size - Medium - Price - 400
what would be the best way to save this on database?
currently i am thinking about creating one to many relationship of product > Variants.
Variants Table Schema : ID , product_id , size & price
Open to suggestions
Please or to participate in this conversation.