Copied to clipboard

Flag this post as spam?

This post will be reported to the moderators as potential spam to be looked at


  • Gary Winter 19 posts 160 karma points
    Mar 11, 2019 @ 22:15
    Gary Winter
    0

    Merchello Fasttrack - Extended Product Information

    I am trying to get Extended Product Information with in my own Product Content Type, however I am having trouble accessing information from a multi-node treepicker when I look in the database its stored in the umb://document//{{GUID}} format, using a similar method to the _ProductBoxList and _ProductBox shared views when I pass Model.GetPropertyValue<IEnumerable<IProductContent>>("actors") into the Model.Partial I get the following error: The model item passed into the dictionary is of type 'Merchello.Web.Models.VirtualContent.ProductContent', but this dictionary requires a model item of type 'System.Collections.Generic.IEnumerable1[Merchello.Web.Models.VirtualContent.IProductContent]'.]`

    Any pointers would be appreciated, newbie with umbraco and Merchello

  • Gary Winter 19 posts 160 karma points
    Mar 13, 2019 @ 14:23
    Gary Winter
    100

    I managed to solve my own Question by passing Model.GetPropertyValue<IEnumerable<IPublishedContent>>("actors") instead of Model.GetPropertyValue<IEnumerable<IProductContent>>("actors")

Please Sign in or register to post replies

Write your reply to:

Draft