GridVids
Sign in with YouTube

E-commerce with #Directus and #Nextjs - [07] - Product Display Page

Mark watched
Don't Miss
Hide
Open in popup Open on YouTube

Watch and Learn 4 years ago

In this episode we are going to create a product display page for our shop.

The goal for this episode would be to create a single product page for our products, so that when the user clicks on a product in our Next.js app it would take him to the product display page. To get the correct page, I'm going to show you how to filter products by slug from our Directus API.

Also we are going to refactor our query methods a bit, so that we end up with only one method for all of our queries, which will make our code look much nicer and more performant.

### Code used in this tutorial

https://bit.ly/3HZYOG9

### You can support my work on Patreon

https://patreon.com/watchlearn

### Follow me on Social Media

Github: https://github.com/ivandoric Twitter: https://twitter.com/ivan_doric Instagram: https://www.instagram.com/watchlearntuts Facebook: https://facebook.com/watchlearntutorials