1 year ago

Products and product attributes relationship best practices

Posted 1 year ago by Thavarshan

What would be the best way to make a relationship between products and it's attributes?

The one I came up with was Than a "single" product has "many" attributes and a "single" attribute has "many" data.

e.x. T-Shirt has color and size. Same T-Shirt has the attribute data of red and blue in the color attribute.

Is there a better way to do this instead of using dedicated models and migrations?

Please sign in or create an account to participate in this conversation.