I have a page type in the CMS that needs to link to a single Commerce product or variant.
[Display( Name = "Slide Content"] [AllowedTypes(typeof(MyProduct), typeof(MyVariation))] public virtual ContentReference SlideContent { get; set; }
In the CMS as an editior, when trying to select the product/variant, the dialog box only displays a "Root" node.
What is the correct way to link to a single catalog item? Changing ContentReference to Url works, but it doesn't seem correct as it give the editors to many other options.
Hi,
I have a page type in the CMS that needs to link to a single Commerce product or variant.
[Display(
Name = "Slide Content"]
[AllowedTypes(typeof(MyProduct), typeof(MyVariation))]
public virtual ContentReference SlideContent { get; set; }
In the CMS as an editior, when trying to select the product/variant, the dialog box only displays a "Root" node.
What is the correct way to link to a single catalog item? Changing ContentReference to Url works, but it doesn't seem correct as it give the editors to many other options.
Thanks
Danie