Class ProductViewModelExtensionMethods
- Namespace
- Dynamicweb.Ecommerce.ProductCatalog
- Assembly
- Dynamicweb.Ecommerce.dll
public static class ProductViewModelExtensionMethods
- Inheritance
-
ProductViewModelExtensionMethods
- Inherited Members
-
Methods
GetPrice(ProductViewModel)
public static PriceInfoViewModel GetPrice(this ProductViewModel productViewModel)
Parameters
productViewModel
ProductViewModel
Returns
- PriceInfoViewModel
GetPrice(ProductViewModel, string)
public static PriceInfoViewModel GetPrice(this ProductViewModel productViewModel, string unitId)
Parameters
productViewModel
ProductViewModel
unitId
string
Returns
- PriceInfoViewModel
GetPrice(ProductViewModel, string, long)
public static PriceInfoViewModel GetPrice(this ProductViewModel productViewModel, string unitId, long stockLocationId)
Parameters
productViewModel
ProductViewModel
unitId
string
stockLocationId
long
Returns
- PriceInfoViewModel
VariantCombinations(ProductViewModel)
public static List<string> VariantCombinations(this ProductViewModel productViewModel)
Parameters
productViewModel
ProductViewModel
Returns
- List<string>
VariantGroups(ProductViewModel)
public static List<VariantGroupViewModel> VariantGroups(this ProductViewModel productViewModel)
Parameters
productViewModel
ProductViewModel
Returns
- List<VariantGroupViewModel>