vuestorefront/vue-storefront

[Bug]: PDP - 404 - Error handling

Closed this issue · 0 comments

Expected Behavior

The app should render the 404 page or indicate that the product is not present.

Actual Behavior

When opening a PDP that is not existing, there is a server error rather than a message to indicate that this product doesn't exist / 404 page.

Possibly related issues:
nuxt/nuxt#7285
nuxt/nuxt#9470

Possible Solution

No response

Steps to reproduce

  1. Open the page with a non-existing product ID.
  2. Observe

What version of <% INTEGRATION %> integration are you using?

BigCommerce

What version of Node.js are you using?

14.17.6

What browser (and version) are you using?

Any

What operating system (and version) are you using?

macOS

Relevant log output

No response

Code of Conduct

  • I agree to follow this project's Code of Conduct