Namespace Dynamicweb.Ecommerce.ProductCatalog
Classes
- AssetCategoryViewModel
Represents a view model for an asset category, which can contain images, videos, and documents.
- AssetCategoryViewModelSettings
Represents the settings for the AssetCategoryViewModel.
- BomConfigurationViewModel
If the product is of type BOM this can be returned and is the container around all BOM data
- BomGroupViewModel
Represents a view model for rendering BOM (bundles) in the ecommerce product catalog.
- BomItemViewModel
Represents a view model for rendering an item in a BOM (bundles) in the ecommerce product catalog.
- CategoryFieldViewModel
Represents a view model for a category field.
- CategoryFieldViewModelSetting
Represents the settings for the category field view model.
- DiscountViewModel
Represents a view model used for discount rendering in a frontend.
- FacetGroupViewModel
Represents a facet group in the product catalog listing search results.
- FacetOptionViewModel
Represents a view model for a facet option used in frontend development. This view model is used in a razor template to render options of a facet that comes in facet groups.
- FacetOptionViewModelExtensions
Provides extension methods for the FacetOptionViewModel class.
- FacetViewModel
Represents a facet that has selectable options in a frontend for a product catalog listing search results.
- FieldGroupViewModel
The class allows to view product display groups
- FieldOptionValueViewModel
Represents a view model for a field option value.
- FieldValueViewModel
Represents a view model for a field value in the product catalog.
- FieldValueViewModelExtensionMethods
Provides extension methods for the FieldValueViewModel class.
- 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.
- GroupInfoViewModelExtensions
Extensions for the GroupInfoViewModel class.
- ImageExportSettings
The settings for the image exporting.
- MediaViewModel
Represents the information about a media file or URL.
- MediaViewModelExtensions
Provides extension methods for the MediaViewModel class to convert to FileViewModel and VideoViewModels.
- PriceInfoViewModel
Represents the view model for price information for a product.
- PriceListViewModel
ViewModel used for quantity-based prices on a product. This allows rendering of prices depending on the quantity purchased.
- PriceViewModel
Represents a price with and without VAT for products, order lines etc.
- PriceViewModelExtensions
Extensions for price view model
- ProductCatalogSettings
Represents the settings of the product catalog.
- ProductGroupViewModel
ViewModel representing a product group in the e-commerce catalog.
- ProductInfoViewModel
ViewModel representing product information in the e-commerce catalog.
- ProductInfoViewModelExtensions
Extension methods for expanding product product information objects into full product view models.
- ProductListViewModel
This class represents a view model for a product list.
- ProductListViewModelExtensions
Extension methods for the ProductListViewModel class.
- 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.
- ProductViewModelSettings
Configuration of how a product viewmodel should be created.
- RelatedGroupViewModel
Represents a view model for a related group of products.
- RelatedGroupViewModelExtensions
The class represents shared member providing extensions for the RelatedGroupViewModel.
- StockUnitViewModel
Represents a view model for stock unit information.
- UnitOptionViewModel
Represents a view model for a unit option.
- VariantGroupViewModel
Represents a view model for a variant group.
- VariantInfoViewModel
Represents the view model for displaying product variant information. This model is used to build a hierarchical tree of variant options and to calculate pricing and stock levels.
- 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
Represents the export format for product feeds.
- PriceVatMode
Defines the VAT label states for a price.