Copied to clipboard

Flag this post as spam?

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


  • Hayden 32 posts 170 karma points
    Nov 06, 2017 @ 02:49
    Hayden
    0

    Umbraco 7.6, Merchello multi product picker (simple foreach through products)

    Hi,

    I'm trying to use the merchello multi product picker and echo out multi products

    I have a field called "popularPackages". This field allows me to select a bunch of products.

    In 7.6, for other multi tree pickers etc. You can do this..

    @foreach (var package in Model.GetPropertyValue<IEnumerable<IPublishedContent>>("popularPackages"))
    {
        @package.Id
    }
    

    How can I do this for merchello products?

    Thanks, Hayden

Please Sign in or register to post replies

Write your reply to:

Draft