Skip to content
Discussion options

You must be logged in to vote

Hi @zaidrashid , typically you'd only want published products to be shown on the storefront, which is why there isn't a status filters.

You have two alternative solutions:

  1. Use metadata: You can add a metadata like is_proposed to the product, then check the metadata on the storefront to mark the product as upcoming. You can set the metadata from the admin dashboard or the admin APIs.
  2. Use custom module: if you're also storing more details about these upcoming products where metadata isn't enough, you can instead create a custom module with data models that store additional details about these upcoming products. For example, refer to our preorders tutorial
  3. Create a custom API route: If you …

Replies: 1 comment 1 reply

Comment options

You must be logged in to vote
1 reply
@zaidrashid
Comment options

Answer selected by zaidrashid
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Category
Q&A
Labels
None yet
2 participants