Class CustomProductViewmodel
- Namespace
- Dynamicweb.Ecommerce.Examples
- Assembly
- Dynamicweb.Ecommerce.Examples.dll
public class CustomProductViewmodel : ProductViewModel
- Inheritance
-
CustomProductViewmodel
- Inherited Members
- Extension Methods
Constructors
CustomProductViewmodel()
public CustomProductViewmodel()
Properties
Name
Take over default property of the base viewmodel. Suitable to change default behavior
public string Name { get; }
Property Value
NameOrTile
Addtional data property available in template. Suitable for additional data
public string NameOrTile { get; }
Property Value
Methods
RenderedPrice()
Method to call from template using data from the model instance. Suitable for rendering logic
public string RenderedPrice()