Table of Contents

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

string

NameOrTile

Addtional data property available in template. Suitable for additional data
public string NameOrTile { get; }

Property Value

string

Methods

RenderedPrice()

Method to call from template using data from the model instance. Suitable for rendering logic
public string RenderedPrice()

Returns

string
To top