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
4 Replies
What are the actual relationships defined on your model.?
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?
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.
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.