Class FacetViewModelSettings
- Namespace
- Dynamicweb.Ecommerce
- Assembly
- Dynamicweb.Ecommerce.dll
public class FacetViewModelSettings : ViewSettingsBaseCurrencyBase<FacetViewModel>
- Inheritance
-
FacetViewModelSettings
- Inherited Members
Constructors
FacetViewModelSettings()
Empty constructor for webapi
public FacetViewModelSettings()
FacetViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing facetviewmodels.
public FacetViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)
Parameters
languageIdstringId of language
currencyCodestringCurrencyCode
countryCodestringCountry code2
shopIdstringShop ID.
userIdintUser id
Properties
FacetOptionSettings
Configures how the facet option view should be loaded.
public FacetOptionViewModelSettings FacetOptionSettings { get; set; }
Property Value
- FacetOptionViewModelSettings
configurationOfFacetOptions
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()