Previous Docs Version

The documentation you are viewing is for a previous version of the Vendr product. Click here to jump to the current stable version.

ProductVariantItem

API reference for ProductVariantItem in Vendr, the eCommerce solution for Umbraco v8+

ProductVariantItem

public class ProductVariantItem : IBlockReference

Namespace

Constructors

ProductVariantItem

Initializes a new instance of the ProductVariantItem class.

public ProductVariantItem(Udi contentUdi, IPublishedElement content, ProductVariantConfig config)

Parameters

Parameter Description
contentUdi
The content UDI.
content
The content.
config
The config.

Exceptions

Exception Condition
ArgumentNullException
contentUdi or content

Properties

Config

Gets the config.

public ProductVariantConfig Config { get; }

Value

The config.


Content

Gets the content.

public IPublishedElement Content { get; }

Value

The content.


ContentUdi

Gets the content UDI.

public Udi ContentUdi { get; }

Value

The content UDI.

Edit this page on GitHub

Site + logo design © 2025 Outfield Digital Ltd. Content contributions licensed under MIT.
Vendr® is a Registered Trademark of Outfield Digital Ltd.