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

    Extension for the configuration which is used to filter the displayed properties.

    • Plugin category = ItemConfigurationExtension
    • Plugin sub category = PropertyFilter

    Note: For article properties pUtils.getEaiwsPropertyData() can be used to retrieve the underlying eaiws/basket/Property and eaiws/basket/ArticleData.

    interface PropertyFilterExtension {
        isAvailable?: boolean;
        name: string;
        filterProperties(
            pUtils: PropertyUtils,
            pProperties: readonly Property[],
        ): Property[];
        initialize(
            pDescriptor: PluginDescriptor,
            pSettings: unknown,
        ): Promise<void>;
    }

    Hierarchy (View Summary)

    • Plugin
      • PropertyFilterExtension
    Index
    isAvailable?: boolean

    Optional, if false this plugin will not be used.

    name: string
    • Parameters

      Returns Property[]

    • 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>