DavidSaint's avatar

Layers of hasManyThrough()

Hi

I am building an e-commerce site that has models like Products, Options, Options Values, Images....

Products has Many Options (like color, size....)

Products has Many Options Values (like red, blue, S, M, L) through Options

Options has Many Options Values

Options Values has Many Images

Can I own say...

Products has Many Images through Options Values

OR how do I do this

And how do I call it from blade...

PS: I had to type this 2 times because I forgot to select a channel and Laravel decided not to use {{ old () }}

0 likes
2 replies

Please or to participate in this conversation.