rinvex / laravel-attributes

⚠️ [ABANDONED] Rinvex Attributable is a robust, intelligent, and integrated Entity-Attribute-Value model (EAV) implementation for Laravel Eloquent, with powerful underlying for managing entity attributes implicitly as relations with ease. It utilizes the power of Laravel Eloquent, with smooth and seamless integration.
MIT License
433 stars 104 forks source link

Products have many attributes (Color, Size ...) #83

Closed vanthao03596 closed 2 years ago

vanthao03596 commented 5 years ago

The product "My Product" has additional properties such as "Color", "Size", for example: Red + Size: L => Price 5000, Black + Size: L = > price 6000 ... I'm not sure how to save it and its operation, you can help me for example on adding new products with multiple attributes, each with different pricing attributes.

thanhnhoncntt commented 5 years ago

I think you use the product variation. Production variation link attributte and price by product variation

Omranic commented 2 years ago

The pricing features are out of this package's scope. This package only handle additional custom attributes, which is in your case the color & size. Checkout the docs for more info: https://github.com/rinvex/laravel-attributes#introduction