Class ProductRelated
- Namespace
- Dynamicweb.Ecommerce.Products
- Assembly
- Dynamicweb.Ecommerce.dll
Represents information about related products.
[Serializable]
public class ProductRelated
- Inheritance
-
ProductRelated
- 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 ProductRelated class.
public ProductRelated()
Properties
Countries
Gets or sets the countries collection.
public List<string> Countries { get; set; }
Property Value
Languages
Gets or sets the languages collection.
public List<string> Languages { get; set; }
Property Value
Product
Gets the related product.
public Product Product { get; }
Property Value
- Product
The product.
ProductId
Gets or sets the product ID.
public string ProductId { get; set; }
Property Value
- string
The product ID.
RelatedGroupId
Gets or sets the related group ID.
public string RelatedGroupId { get; set; }
Property Value
- string
The related group ID.
RelatedProductId
Gets or sets the related product ID.
public string RelatedProductId { get; set; }
Property Value
- string
The related product ID.
RelatedProductVariantId
Gets or sets the related product variant ID.
public string RelatedProductVariantId { get; set; }
Property Value
- string
The related product variant ID.
Shops
Gets or sets the shops collection.
public List<string> Shops { get; set; }
Property Value
SortOrder
Gets or sets the sort order.
public int SortOrder { get; set; }
Property Value
- int
The sort order.
VariantOptions
Gets or sets the variant options collection.
public List<string> VariantOptions { get; set; }