Table of Contents

Namespace Dynamicweb.Ecommerce.ProductCatalog

Classes

AssetCategoryViewModel
AssetCategoryViewModelSettings
BomConfigurationViewModel

If the product is of type BOM this can be returned and is the container around all BOM data

BomGroupViewModel
BomItemViewModel
CategoryFieldViewModel
CategoryFieldViewModelSetting

The category field model settings

DiscountViewModel
DiscountViewModelSettings
FacetGroupViewModel
FacetOptionViewModel
FacetViewModel
FieldGroupViewModel

The class allows to view product display groups

FieldOptionValueViewModel
FieldOptionValueViewModelExtensionMethods
FieldValueViewModel
FieldValueViewModelExtensionMethods
FieldValueViewModelSetting

The product field model settings

FillableViewModelBase

A fillable viewmodel is a defined as a model for frontend, that allows for specification of which properties should be filled/loaded. If a property is specified as "not filled" it will have near-zero cost on performance, as this data is simply not loaded.

GroupInfoViewModel
GroupInfoViewModelExtensions
GroupInfoViewModelSettings
ImageExportSettings

The settings for the image exporting.

ManufacturerViewModel
ManufacturerViewModelSettings
MediaViewModel
MediaViewModelExtensions
MediaViewModelSettings
NavigationTreeViewNodeExtensions
PriceInfoViewModel
PriceListViewModel
PriceViewModel

Represents a price with and without VAT for products, orderlines etc.

PriceViewModelExtensions

Extensions for price viewmodels

PriceViewModelSettings
ProductCatalogFrontend
ProductCatalogSettings

Represents the settings of the product catalog.

ProductGroupViewModel
ProductGroupViewModelSettings
ProductInfoViewModel
ProductInfoViewModelExtensions

Extension methods for expanding product infos into full product viewmodels.

ProductListViewModel
ProductListViewModelSettings
ProductViewModel

The product viewmodel represents a product and its data. The model covers basic things like Name, SKU, Description and the price.

The model also contains information about related product data like product relations, units, quantity prices, stock levels, assets, attributes and much more.

Most of the data is only loaded if and when used in a template or exposed in a web-api. The more of the properties that are used, the more is loaded and that will have an impact on load performance. Each description of properties in this documentation contains information about a potential performance overhead.

When rendering a list of products, the list size (i.e. 10 vs. 30 vs. 100 products on a list) can affect the performance of a product list page since more data needs to be loaded.

WARNING: If multiple of the properties with performance overhead are used on the product list and many products are listed, a lot of data will be loaded and affect performance. Limit the use of the properties with performance overhead on lists or use the web-api to load additional information on demand when needed.

ProductViewModelExtensions
ProductViewModelSettings

Configuration of how a product viewmodel should be created.

ProductViewModelsExporter
RelatedGroupViewModel
RelatedGroupViewModelExtensions

The class represents shared member providing extensions for the RelatedGroupViewModel.

StockUnitViewModel
StockUnitViewModelSettings
UnitOptionViewModel
UnitOptionViewModelSettings
VariantGroupViewModel
VariantInfoViewModel
VariantInfoViewModelSettings
VariantOptionViewModel

Represents a view model for a variant option in the product catalog.

ViewModelFactory

Handles creation of all ecommerce viewmodels.

ViewSettingsBaseCurrencyBase<T>

Base configuration for views that require a language and a currency code to be contructed.

ViewSettingsBase<T>

Configuration of which properties of a fillable viewmodel that should be loaded/filled.

ViewSettingsLanguageBase<T>

Base configuration for views that require a language to be contructed.

Enums

ExportFormat
To top