Interface ConfiguratorSettingsService

    • Method Detail

      • getConfiguratorSettingsForProduct

        @Nonnull
        java.util.List<AbstractConfiguratorSettingModel> getConfiguratorSettingsForProduct​(@Nonnull
                                                                                           ProductModel product)
        Returns configurator settings to be applied to given product.

        Settings are collected from all categories assigned to the product including the whole hierarchy. When two categories have equal Id, only one which is closer to the product is taken. The method keeps setting item order from root to leaf categories.

        Parameters:
        product - product to get settings for
        Returns:
        list of configurator settings
        See Also:
        ConfiguratorSettingsResolutionStrategy, ConfigurationCategoryModel, CategoryService