Table of Contents

Class DetailsGroup

Namespace
Dynamicweb.Ecommerce.Products
Assembly
Dynamicweb.Ecommerce.dll
Represents information about a details group.
public class DetailsGroup
Inheritance
DetailsGroup
Inherited Members

Constructors

DetailsGroup()

public DetailsGroup()

Properties

ControlType

Gets or sets the DetailsGroup.InheritanceType of the instance.
public DetailsGroupControlType ControlType { get; set; }

Property Value

DetailsGroupControlType

Extensions

Gets or sets the DetailsGroup.InheritanceType of the instance.
public string Extensions { get; set; }

Property Value

string

HasPrimaryImageRule

Gets or sets the value indicating whether primary image will be added via this group checkin rule.
public bool HasPrimaryImageRule { get; set; }

Property Value

bool

Icon

Gets or sets the KnownIcon of the instance.
public KnownIcon Icon { get; set; }

Property Value

KnownIcon

IconColor

Gets or sets the KnownColor of the instance.
public KnownColor IconColor { get; set; }

Property Value

KnownColor

Id

Gets or sets the Id the details group.
public int Id { get; set; }

Property Value

int

Inheritance

Gets or sets the DetailsGroup.InheritanceType of the instance.
public DetailsGroup.InheritanceType Inheritance { get; set; }

Property Value

DetailsGroup.InheritanceType

InheritDefaultImageAcrossLanguages

Gets or sets value indicating whether default image will be inherited across languages.
public bool InheritDefaultImageAcrossLanguages { get; set; }

Property Value

bool

InheritDefaultImageAcrossVariants

Gets or sets value indicating whether default image will be inherited across variants.
public bool InheritDefaultImageAcrossVariants { get; set; }

Property Value

bool

IsSystemGroup

Gets or sets the value indicating whether group is system one.
public bool IsSystemGroup { get; set; }

Property Value

bool

PrimaryImageNameAddition

Gets or sets the text will be used to check whether found image should be primary for product.
public string PrimaryImageNameAddition { get; set; }

Property Value

string

PrimaryImageNameAdditionType

Gets or sets the DetailsGroupPrimaryImageNameAdditionType of the instance.
public DetailsGroupPrimaryImageNameAdditionType PrimaryImageNameAdditionType { get; set; }

Property Value

DetailsGroupPrimaryImageNameAdditionType

SearchPattern

Gets or sets the pattern based on which images will be added to products.
public string SearchPattern { get; set; }

Property Value

string

SystemName

Gets or sets the system name the details group.
public string SystemName { get; set; }

Property Value

string

Translations

Gets the translations for the current entity
public TranslationCollection<DetailsGroupTranslation> Translations { get; }

Property Value

TranslationCollection<DetailsGroupTranslation>

Methods

GetAvailableLanguageIds()

Makes this instance to read only.
[Obsolete("Use Translations instead.")]
public IEnumerable<string> GetAvailableLanguageIds()

Returns

IEnumerable<string>

GetLocalizedName(string)

Gets the translation for specific language.
[Obsolete("Use GetName instead.")]
public string GetLocalizedName(string languageId)

Parameters

languageId string
The language identifier.

Returns

string
Returns an translation if it exists of empty

GetName(string)

Gets the name of the details group for the given language.
public string GetName(string languageId)

Parameters

languageId string

Returns

string

SetLocalizedName(string, string)

Set translation for specified language
[Obsolete("Use SetName instead.")]
public void SetLocalizedName(string languageId, string name)

Parameters

languageId string
The language identifier.
name string
The translation

SetName(string, string)

Sets the name of the details group for the given language.
public void SetName(string languageId, string name)

Parameters

languageId string
name string
To top