Query products by type

To query products by product type, you must perform the following:

  1. Get an instance of the CatalogManager and the EcommerceManager.
  2. Get an instance of the product type.
    For more information, see For developers: Query products.
  3. Get the products.
    To get the product types, you must call the GetProducts method of the manager and pass the CLR type of the product type as an argument.

Code example: Query products by type

Want to learn more?

Sign up for our free beginner training. Boost your credentials through advanced courses and certification.
Register for Sitefinity training and certification.

Was this article helpful?