Course lesson

Create Shop Details View that uses GraphQL to Query Fauna by Shop Id

When a vendor manages their shops, they might want to click into the shop and mange the products associated with that shop. Let's create a page for that.

Duration
4 min
Access
Free
Transcript
Retained from source evidence

When a vendor manages their shops, they might want to click into the shop and mange the products associated with that shop. Let's create a page for that.

I'll create a details route that will host this information. On this page we will write a GetShop query that will take in the shop id that is pulled from the route. Similar to the shops page, we will iterate over the products on the shop and add buttons to manage individual products.