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

Fix deploy failures by handling nullable product descriptions #137

Closed robbieaverill closed 3 years ago

robbieaverill commented 3 years ago

Product descriptions can return null if nothing is defined for them. We'll be changing this in the next API release so it always returns strings even when empty, but in the meantime this fixes https://github.com/chec/commercejs-nextjs-demo-store/issues/136