Log in
Model

RelatedProductsByStoreId

Magento\RelatedProductGraphQl\Model\ResourceModel\RelatedProductsByStoreId

What it does

This resource model filters related product IDs to only include products that are assigned to a specific website/store.

Developers use this class in GraphQL queries to ensure that related product links returned via the API respect website scope and only show products available in the requested store context.

Public Methods

  • execute()