While implementing a custom block with a product selector inside a repeater ('type' => 'selector', 'collection' => 'Product'), I noticed that the BO autocomplete returns all products from the catalog, including those that are inactive (product_shop.active = 0), hidden (visibility = 'none') or in draft state (state = 0).
In practice: the admin can pick an inactive product in the repeater, and there is no BO signal indicating that the product will not be rendered properly on the front.
While implementing a custom block with a product selector inside a repeater (
'type' => 'selector','collection' => 'Product'), I noticed that the BO autocomplete returns all products from the catalog, including those that are inactive (product_shop.active = 0), hidden (visibility = 'none') or in draft state (state = 0).In practice: the admin can pick an inactive product in the repeater, and there is no BO signal indicating that the product will not be rendered properly on the front.