How i create Product and Product attribute releationship and Filament repeater ?

I have product model, attributes model and product_attributes pivot table. Please help me i cant create the releationship for between product and attributes
No description
4 Replies
awcodes
awcodes10mo ago
What are the actual relationships defined on your model.?
S.V Gubadov
S.V GubadovOP10mo ago
I currently have Product and Attribute models. I want to write Repeater with filament. When I add a Product, I also want to select from Attributes. In what form can I build this?
awcodes
awcodes10mo ago
Sorry not following but the repeater supports a relationship. And if you need pivot data then the relationship should return that data as part of the relationship.
awcodes
awcodes10mo ago
Laravel - The PHP Framework For Web Artisans
Laravel is a PHP web application framework with expressive, elegant syntax. We’ve already laid the foundation — freeing you to create without sweating the small things.

Did you find this page helpful?