Table of Contents

Namespace Dynamicweb.Ecommerce.Variants

Classes

CombineProductsData

Describes a set of products that are to be combined into one master product with variants, and the variant options each of them ends up on. Used as the input to BuildFamily(string, IEnumerable<string>, string, bool) and BuildFamilyAsVariants(string, List<ProductInfo>, List<string>).

CombineProductsData.ProductInfo

Identifies one product taking part in a combine, and the variant options it is assigned to.

VariantCombination

One combination of variant options on a product, identified by the product ID and a variant ID made up of the participating variant option IDs joined by ".", e.g. "VO_RED.VO_LARGE".

VariantCombinationService

Provides methods for querying and persisting the VariantCombination values of a product.

VariantGroup

A group of VariantOption values that a product can vary over, e.g. a "Colour" group holding "Red" and "Blue". A product is related to one or more variant groups, and one option from each group makes up a VariantCombination.

VariantGroupOptionPropertyValueService

Provides methods for querying and persisting the values that a VariantOption carries for the VariantGroupProperty values defined on its group. Reached through VariantGroupService.

VariantGroupProductRelation

Class represents the variant group to product relation

VariantGroupProductRelationService

Provides methods for querying and persisting the VariantGroupProductRelation values that tie products to the variant groups they vary over. Reached through VariantGroupService.

VariantGroupProperty

A variant property in a variant group.

VariantGroupPropertyService

Provides methods for querying and persisting the VariantGroupProperty values defined on a variant group, i.e. the extra per-option fields its options can carry. Reached through VariantGroupService.

VariantGroupPropertyValueKey

Identifies a variant group option property value by option, property and language.

VariantGroupService

Provides methods for querying and persisting VariantGroup values, along with their properties, option property values and product relations.

VariantGroupTranslation

Represents a translation of a variant group.

VariantNumber

The variant number class.

VariantOption

One selectable option within a VariantGroup, e.g. "Red" in a "Colour" group. Variant options are combined across groups to form a VariantCombination.

VariantOptionTranslation

Represents a translation of a variant option.

VariantService

The entry point for working with product variants: creating and deleting variants, managing the variant groups and options a product varies over, and combining separate products into one master product with variants.

Enums

CombineProductsData.CombineProductsMode

Specifies what kind of structure a combine produces.

VariantGroupDisplayType

Specifies how the options of a VariantGroup are presented to the customer in the frontend.

To top