I need a way to check if a product is in a sales channel but unpublished.
So far the only way I seem to be able to do that is the list every product in a channel then check the published state. Not ideal
Essentially we check our products daily and if they are not in the web sales channel we add them. You can check if a product is in a channel if its set to ACTIVE and published.
Any thoughts?