I'm new to Merchello, I was hoping someone could tell me (or point me to some documentation) that explains how to render the extended product information in views?
Hey sorry Kerri - getting caught up after uWestFest.
When using dynamics, you should be able to use just the property name.
So
@product.myProperty
Alternatively, you could change your inherits to
@inherits UmbracoViewPage<IProductContent>
var product = Model.Content;
var someProp = product.GetPropertyValue<string>("someProp");
var description = product.GetPropertyValue<IHtmlString>("description");
// if you are using the Umbraco Core Property Value Converters
//// https://our.umbraco.org/projects/developer-tools/umbraco-core-property-value-converters/
var image = product.GetPropertyValue<IPublishedContent>("image");
Rendering Extended Content in View
Hi all,
I'm new to Merchello, I was hoping someone could tell me (or point me to some documentation) that explains how to render the extended product information in views?
I can get the base information like this:
But not the Extended Content
Thanks :)
Hey sorry Kerri - getting caught up after uWestFest.
When using dynamics, you should be able to use just the property name.
So
Alternatively, you could change your inherits to
is working on a reply...