[Display(Name = "Default Products", Description = "Products to put first in the list", GroupName = "Club Package Details", Order = 50)]
[EditorDescriptor(EditorDescriptorType = typeof(CollectionEditorDescriptor<ProductItemData>))]
public virtual IList<ProductItemData> DefaultProductList { get; set; }
public class ProductItemData
{
[Required]
[Display(Name = "Product Variant", Order = 100)]
[AllowedTypes(typeof(VariationContent))]
[UIHint(EPiServer.Commerce.UIHint.CatalogContent)]
public virtual ContentReference ProductVariantSelection { get; set; }
[Required]
[Display(Name = "Min Quantity", Order = 200)]
public virtual int MinimumQuantity { get; set; }
[Required]
[Display(Name = "Max Quantity", Order = 300)]
public virtual int MaximumQuantity { get; set; }
}
[PropertyDefinitionTypePlugIn]
public class ProductItemDataPropertyList : PropertyList<ProductItemData>
{
}
so in CMS, it's showing ID_catalogCommerce so it's very confusing Do we have any way we can show sku/Name ?
I've created one generic property like this
so in CMS, it's showing ID_catalogCommerce so it's very confusing Do we have any way we can show sku/Name ?