Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
AI OnAI Off
Five New Optimizely Certifications are Here! Validate your expertise and advance your career with our latest certification exams. Click here to find out more
I believe you would have to create a new CollectionEditorDescriptor to handle your type. Here is a start
CollectionEditorDescriptor - How to display a list of complex typ (optimizely.com)
I've created one generic property like this
[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 ?