Class ContextProductsType (1.21.0)

ContextProductsType(value)

Use single or multiple context products for recommendations.

Enums

Name Description
CONTEXT_PRODUCTS_TYPE_UNSPECIFIED Unspecified default value, should never be explicitly set. Defaults to MULTIPLE_CONTEXT_PRODUCTS.
SINGLE_CONTEXT_PRODUCT Use only a single product as context for the recommendation. Typically used on pages like add-to-cart or product details.
MULTIPLE_CONTEXT_PRODUCTS Use one or multiple products as context for the recommendation. Typically used on shopping cart pages.