Home > widget-integration > StickyController > getConfigOverrides

StickyController.getConfigOverrides() method

Resolves sticky customization config for a concrete filter layout.

Technical Support can override this method when a shop stores sticky overrides outside window.boostWidgetIntegration.config.customization.filter.sticky or needs custom fallback rules between global and layout-specific settings.

Signature:

protected getConfigOverrides(layoutType: StickyLayoutType, layoutStyle: string): {
		globalOverride: StickyOverrideConfig | undefined;
		layoutSpecificOverride: StickyOverrideConfig | undefined;
	};

Parameters

Parameter

Type

Description

layoutType

StickyLayoutType

Active sticky layout bucket: mobile, vertical, or horizontal.

layoutStyle

string

Active Boost filter layout style, for example style1 or style-expand.

Returns:

{ globalOverride: StickyOverrideConfig | undefined; layoutSpecificOverride: StickyOverrideConfig | undefined; }

Global and layout-specific sticky override config.