chec / commercejs-nextjs-demo-store

Commerce demo store built for the Jamstack. Built with Commerce.js, Next.js, and can be one-click deployed to Netlify. Includes product catalog, customer login, categories, variants, cart, checkout, payments (Stripe) order confirmation, and printable receipts.
https://commercejs-demo-store.netlify.app/
BSD 3-Clause "New" or "Revised" License
1.07k stars 206 forks source link

Better error handling when categories are deleted in the backend #98

Closed jaepass closed 4 years ago

jaepass commented 4 years ago

Scenario:

Solutions:

robbieaverill commented 4 years ago

Solutions sound great to me 👍

robbieaverill commented 4 years ago

Another scenario for this is when someone clones the project, changes to their own API key, but doesn't seed any data or set up any products/categories.

robbieaverill commented 4 years ago

Fixed with #105 for now. Ideally we stop relying on hard coded category/asset information in future, but no need to keep this issue open for that.