hotwax / preorder

HotWax Commerce Pre-Order App
https://preorder.hotwax.io
Apache License 2.0
15 stars 43 forks source link

Implement Empty State for Direct URL Access after Changing Product Store #249

Open Dhiraj1405 opened 9 months ago

Dhiraj1405 commented 9 months ago

Current behavior

When users directly access a product URL after changing the product store, there is no indication of an empty state, instead we show the product data with incorrect information.

Expected behavior

When a user tries to access a product URL directly after changing the product store, they should be shown an empty state message indicating that this product is not available in the selected product store. This provides clarity and guides the user on the next steps.

Steps to reproduce the issue

  1. Copy the URL of a specific product from the previous store.
  2. Change the product store.
  3. Paste and access the product URL directly in the browser.

Can you handle fixing this bug by yourself?

Environment details

Additional information

We should have support for Product store while fetching any data in the app.