haha thats brings me back to the drawing board again, this is almost the same way i started this conversation with you^^
Amazing how much i learned today even understand the basics of polymorphic relations now!
im going to try this out and let you know if it worked as soon as possible :)
Im trying to change the input value of the checkboxes to match the id of the pivot table.
Otherwise its value is not unique and that way i cant store the correct user_shop_id in the shop_store_user table.
What is happening now is that the value of the checkboxes is that of the shops table instead of the shop_store table.
And that id i cant store in the shop_store_user table.