elasticpath / d2c-starter-kit

NextJS / React starter kit for D2C ecommerce
MIT License
4 stars 7 forks source link

feat: product url simplified #39

Closed field123 closed 2 years ago

field123 commented 2 years ago

Next.js and Algolia instantsearch routing sync

Fixed nextjs and algolia instantsearch routing sync

Refactored hits and breadcrumbs

Removed the use of base product slug for product pages.

Simplified product page route to only use the product id in the route. Everything else is fetched based on that id.

This id is not human-readable we want to replace it with slugs as possible.

This change allows for easy navigation from Algolia index entries which only have a product id no parent ids

netlify[bot] commented 2 years ago

Deploy Preview for epcc-d2c ready!

Name Link
Latest commit f3b7560c5bc51bedfe3d93da737a5f256b0edb78
Latest deploy log https://app.netlify.com/sites/epcc-d2c/deploys/6304f1a87655d3000885797a
Deploy Preview https://deploy-preview-39--epcc-d2c.netlify.app
Preview on mobile
Toggle QR Code...

QR Code

Use your smartphone camera to open QR code link.

To edit notification comments on pull requests, go to your Netlify site settings.