Table of Contents

Class ProductGroupField

Namespace
Dynamicweb.Ecommerce.Products
Assembly
Dynamicweb.Ecommerce.dll

Represents information about product group.

[Serializable]
public class ProductGroupField
Inheritance
ProductGroupField
Inherited Members

Constructors

ProductGroupField()

Initializes a new instance of the ProductGroupField class.

public ProductGroupField()

Properties

Description

The description of this field.

public string Description { get; set; }

Property Value

string

FieldValueConversionDecimals

Gets or sets number of decimals to use

public int FieldValueConversionDecimals { get; set; }

Property Value

int

FieldValueConversionDisplayRule

Gets or sets Indication for how to present the Value in channel/frontend

public FieldValueConversionDisplayRule FieldValueConversionDisplayRule { get; set; }

Property Value

FieldValueConversionDisplayRule

FieldValueConversionPreset

Gets or sets Id from selected field value conversion, to use as Presentation unit

public int? FieldValueConversionPreset { get; set; }

Property Value

int?

Id

Gets or sets the ID.

public string Id { get; set; }

Property Value

string

The ID.

ListPresentationType

Gets or sets the presentation type for this field (only applies for product group fields of type "list").

public FieldListPresentationType ListPresentationType { get; set; }

Property Value

FieldListPresentationType

Remarks

Setting this property only makes sense for product group fields of type "list".

Locked

Gets or sets a value indicating whether this ProductGroupField is locked.

public bool Locked { get; set; }

Property Value

bool

true if locked; otherwise, false.

Name

Gets or sets the name.

public string Name { get; set; }

Property Value

string

The name.

Required

Gets or sets required value.

public bool Required { get; set; }

Property Value

bool

Sort

Gets or sets the sort.

public int Sort { get; set; }

Property Value

int

The sort.

SystemName

Gets or sets system name.

public string SystemName { get; set; }

Property Value

string

System name.

TemplateName

Gets or sets the name of the template.

public string TemplateName { get; set; }

Property Value

string

The template name.

TypeId

Gets or sets the type of ID.

public int TypeId { get; set; }

Property Value

int

The type of ID.

TypeName

Gets or sets the name of the type.

public string TypeName { get; set; }

Property Value

string

The type name.

Types

Gets or sets the types.

public IEnumerable<FieldType> Types { get; set; }

Property Value

IEnumerable<FieldType>

The types.

Methods

Delete()

Deletes this instance from DB.

public void Delete()

Delete(string)

Deletes the instance from DB by ProductGroupFieldID.

public void Delete(string fieldId)

Parameters

fieldId string

DB field name is ProductGroupFieldID.

Save(string)

Saves the properties into DB.

public void Save(string fieldId)

Parameters

fieldId string

DB field name is ProductGroupFieldID.

To top