Table of Contents

Class VariantInfoViewModelSettings

Namespace
Dynamicweb.Ecommerce.ProductCatalog
Assembly
Dynamicweb.Ecommerce.dll
public class VariantInfoViewModelSettings : ViewSettingsBaseCurrencyBase<VariantInfoViewModel>
Inheritance
VariantInfoViewModelSettings
Inherited Members

Constructors

VariantInfoViewModelSettings()

Empty constructor for webapi

public VariantInfoViewModelSettings()

VariantInfoViewModelSettings(string, string, string, string, int)

Creates a configuration for constructing variantcombination viewmodels.

public VariantInfoViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId)

Parameters

languageId string

Id of language

currencyCode string
countryCode string
shopId string
userId int

VariantInfoViewModelSettings(string, string, string, string, int, bool, DateTime?)

Creates a configuration for constructing variantcombination viewmodels.

public VariantInfoViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool showPricesWithVat, DateTime? time)

Parameters

languageId string
currencyCode string
countryCode string
shopId string
userId int
showPricesWithVat bool
time DateTime?

VariantInfoViewModelSettings(string, string, string, string, int, bool, DateTime?, long)

public VariantInfoViewModelSettings(string languageId, string currencyCode, string countryCode, string shopId, int userId, bool showPricesWithVat, DateTime? time, long stockLocationId)

Parameters

languageId string
currencyCode string
countryCode string
shopId string
userId int
showPricesWithVat bool
time DateTime?
stockLocationId long

Properties

MediaSettings

Configures how multimedia content is handled.

public MediaViewModelSettings MediaSettings { get; set; }

Property Value

MediaViewModelSettings

mediaSettings

PriceSettings

Configures how the price view should be configured, if price is filled.

public PriceViewModelSettings PriceSettings { get; set; }

Property Value

PriceViewModelSettings

configurationOfPriceViewModel

Methods

EnsureFilledPropertiesExist()

If filled properties are empty, this method will add ALL valid property names.

public override void EnsureFilledPropertiesExist()
To top