MagentoNavigationDriverConfig
An interface for providing @daffodil/search/state with necessary config values.
import { MagentoNavigationDriverConfig } from '@daffodil/navigation/driver/magento'
interface MagentoNavigationDriverConfig {
navigationTreeQueryDepth: number
rootCategoryId: string
}
Properties
Name | Type | Description |
---|---|---|
navigationTreeQueryDepth | number | The maximum depth of category children that the navigation driver will query. Defaults to 3. |
rootCategoryId | string | The UID of the root category.
While this is optional, setting it will prevent an extra driver call during |