Table of Contents

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 string
Id of language
currencyCode string
CurrencyCode
countryCode string
Country code2
shopId string
Shop ID.
userId int
User id

Properties

FieldSettings

The product field settings. If this is used from the WebAPI, the query parameter name has to extend which property of FieldValueViewModelSetting should be set, such as FieldSettings.FilledProperties=SystemName.
public FieldValueViewModelSetting FieldSettings { get; set; }

Property Value

FieldValueViewModelSetting

MediaSettings

Configures how multimedia content is handled. If this is used from the WebAPI, the query parameter name has to extend which property of MediaViewModelSettings should be set, such as MediaSettings.FilledProperties=DisplayName.
public MediaViewModelSettings MediaSettings { get; set; }

Property Value

MediaViewModelSettings

Methods

EnsureFilledPropertiesExist()

If filled properties are empty, this method will add ALL valid property names.
public override void EnsureFilledPropertiesExist()
To top