pCon.basket - Plugin Development
    Preparing search index...

    Interface ProductInfoFilter

    Extension for the item info used to filter the product info which was provided by a PIM service.

    • Plugin category = ItemInfoExtension
    • Plugin sub category = ProductInfoFilter
    interface ProductInfoFilter {
        isAvailable?: boolean;
        name: string;
        filterCategories(
            pCategories: readonly ProductInfoCategory[],
        ): ProductInfoCategory[];
        initialize(
            pDescriptor: PluginDescriptor,
            pSettings: unknown,
        ): Promise<void>;
    }

    Hierarchy (View Summary)

    Index
    isAvailable?: boolean

    Optional, if false this plugin will not be used.

    name: string
    • Will be called once after the plugin was loaded.

      Parameters

      • pDescriptor: PluginDescriptor

        Plugin descriptor for this plugin.

      • pSettings: unknown

        Optional plugin specific settings which may be defined as part of the application settings.

      Returns Promise<void>