Directus 9 + Next Episode 7

Product Display Page

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.

Wanna ask a question about video?

Like This Video?

Support it by sharing it ;)

© Watch And Learn,2024