ClassesBigCommerceGraphQLTerms Query

Terms_Query

This class is responsible for constructing GraphQL queries related to terms, including categories and brands. It provides methods to fetch term details such as name, ID, and default image.

  • Full name: \BigCommerce\GraphQL\Terms_Query

Methods

get_category_query

Get the GraphQL query for fetching category details by URL path.

public get_category_query(): string

Return Value:

The GraphQL query string for fetching category details.


get_brand_query

Get the GraphQL query for fetching brand details by URL path.

public get_brand_query(): string

Return Value:

The GraphQL query string for fetching brand details.



Automatically generated on 2025-01-21