Class ProductGroupViewModelSettings
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
public class ProductGroupViewModelSettings : ViewSettingsBaseCurrencyBase<ProductGroupViewModel>
- Inheritance
-
ProductGroupViewModelSettings
- Inherited Members
Constructors
ProductGroupViewModelSettings()
Empty constructor for webapi
public ProductGroupViewModelSettings()
ProductGroupViewModelSettings(string, string, string, string, int)
Creates a configuration for constructing product viewmodels.
public ProductGroupViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)
Parameters
languageId
stringId of language
currencyCode
stringCurrencyCode
countryCode
stringCountry code2
shopId
stringShop ID.
userId
intUser id
Properties
FieldSettings
The product field settings
public FieldValueViewModelSetting FieldSettings { get; set; }
Property Value
MediaSettings
Configures how multimedia content is handled.
public MediaViewModelSettings MediaSettings { get; set; }
Property Value
Methods
EnsureFilledPropertiesExist()
If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()