Can’t get Pivot table logic to work
I have a pretty straightforward use case, but the implementation in Filament is throwing me for a loop.
Imagine Products that have many Options that in turn have many values (Size w/ SM, MD, LG and Color w/ Red, Blue). This part is straightfoward. The user creates Options and in turn the values.
Now the user needs to create a ProductVariant. They need to select one of each ProductOptionValue (e.g SM & Red), but should not be able to select e.g. SM & LG. In other words, they have to select one option from each.
I've tried so many things I'm not sure if it's even worth pasting it all in here as it has become a mess, but nothing seems to be working.
Am I better off just creating a custom page, form, or field type?
0 Replies