Example Storefront is Reaction Commerce’s headless ecommerce storefront - Next.js, GraphQL, React. Built using Apollo Client and the commerce-focused React UI components provided in the Storefront Component Library (reactioncommerce/reaction-component-library). It connects with Reaction backend with the GraphQL API.
Describe the bug
Admin can save and publish a product without adding its title. This product, when published, is naturally displayed on the storefront side. When the customer tries to open PDP for that product, the system throws 404 Not Found error (in case of Mac) and Sorry! We couldn't find what you're looking for error (in case of Ubuntu).
To Reproduce
From reaction admin, create a product without its title (and thus, slug)
Publish this product
From storefront, open the PDP of the product without title
Expected behavior
Error handling on example-storefront for pre-existing products missing titles.
Desktop (please complete the following information):
MAC OS Catalina
Ubuntu 20.04 LTS
Additional context
There is currently a PR out for requiring a title on product creation in reaction-admin.
Type: minor
Describe the bug Admin can save and publish a product without adding its title. This product, when published, is naturally displayed on the storefront side. When the customer tries to open PDP for that product, the system throws 404 Not Found error (in case of Mac) and Sorry! We couldn't find what you're looking for error (in case of Ubuntu).
To Reproduce
Expected behavior Error handling on example-storefront for pre-existing products missing titles.
Desktop (please complete the following information):
Additional context There is currently a PR out for requiring a title on product creation in reaction-admin.