Why can't store/products filter based on product status?
#14208
Answered
by
shahednasser
zaidrashid
asked this question in
Q&A
-
|
Hello everyone. I am planning to use the product status "proposed" as a sort of marker for "upcoming" or "to be confirmed" on my product listing. The admin endpoint allows it, but why can't the store's endpoint have one too? Thanks! |
Beta Was this translation helpful? Give feedback.
Answered by
shahednasser
Dec 4, 2025
Replies: 1 comment 1 reply
-
|
Hi @zaidrashid , typically you'd only want published products to be shown on the storefront, which is why there isn't a You have two alternative solutions:
|
Beta Was this translation helpful? Give feedback.
1 reply
Answer selected by
zaidrashid
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Hi @zaidrashid , typically you'd only want published products to be shown on the storefront, which is why there isn't a
statusfilters.You have two alternative solutions:
is_proposedto 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.metadataisn'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