We are trying to make all products of the subcategories of the parent show when only the parent is selected. We are experienced developers so all we would ne…