Class ProductRelated
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about related products.
- Inheritance
-
Product
Related
- Inherited Members
Examples
using Dynamicweb.Ecommerce.Products;
namespace Dynamicweb.Ecommerce.Examples.Products
{
public class ProductGroupRelationSaveHandlerSample
{
public void SaveProductGroupRelation(string prodId, string groupId)
{
var productGroupRelation = new ProductGroupRelation()
{
ProductId = prodId,
GroupId = groupId
};
Services.ProductGroups.Save(productGroupRelation);
}
}
}
Constructors
ProductRelated()
Initializes a new instance of the Product
Properties
Countries
Gets or sets the countries collection.
Property Value
Languages
Gets or sets the languages collection.
Property Value
Product
Gets the related product.
Property Value
- Product
The product.
ProductId
Gets or sets the product ID.
Property Value
- string
The product ID.
RelatedGroupId
Gets or sets the related group ID.
Property Value
- string
The related group ID.
RelatedProductId
Gets or sets the related product ID.
Property Value
- string
The related product ID.
RelatedProductVariantId
Gets or sets the related product variant ID.
Property Value
- string
The related product variant ID.
Shops
Gets or sets the shops collection.
Property Value
SortOrder
Gets or sets the sort order.
Property Value
- int
The sort order.
VariantOptions
Gets or sets the variant options collection.