Video: Dynamic Routes
Ecommerce on the Jamstack with Snipcart, Next.js, & WordPress
Released: 2021-07-31
-
1. Introduction
1m30s
-
2. NextJS
8m14s
-
3. Netlify & Github
15m46s
-
4. Sass, Components, Store Header
21m33s
-
5. Products, CSS Grid, Button component
22m39s
-
6. Snipcart, Env Variables
17m16s
-
7. WordPress, WPGraphQL
18m53s
-
8. GraphQL, Apollo Client
14m4s
-
9. Autodeploy with Web Hooks
5m50s
-
10. Dynamic Routes
19m27s
-
11. Custom Snipcart Hook
16m39s
-
12. Shared Layout
8m22s
-
13. Branding & Personality
23m26s
-
14. Snipcart Theming & Customization
24m13s
-
15. Custom Taxonomy
23m17s
-
16. Search
16m50s
Dynamic Routes
If we're managing a store with just a few products, having a single page with all of that information might be okay, but even then, it's helpful for each product to have it's own page, where we can include details about that product. It also helps with SEO making that product much more searchable on its own! We'll learn how to take our dynamic product data and use it dynamically create routes in Next.js, giving each of our products their own page.