Variant status should be disabled if the product was disabled. #2456
Replies: 2 comments
-
Will discuss adding this as the default for variant queries, which would be a breaking change to how some people may be using variant queries at the moment. In the meantime you can do this in your variant query:
or
This will get all variants that have a product that is enabled since Hope that helps. |
Beta Was this translation helpful? Give feedback.
-
I will update the code. Nevertheless, it would make much more sense to adjust the behavior as suggested. |
Beta Was this translation helpful? Give feedback.
-
Description
I have many products which have variants. Now I have disabled the products (the product and not the variants), yet all the variants of the disabled product are still shown in the product feed (category related).
It would be good to customize it as follows: Products which are disabled also affect all variants which are in the product group.
Additional info
Beta Was this translation helpful? Give feedback.
All reactions