Copied to clipboard

Flag this post as spam?

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


  • Jonas Nielsen 3 posts 73 karma points
    Jun 30, 2019 @ 19:46
    Jonas Nielsen
    0

    Getting product in collection

    I am pulling out the products from a collection but every time I get all products that are in the catalog and not only those that are in the collection.

    This is my code

        Guid productCollection = item.GetPropertyValue<Guid>("productCollection");
        var productList = productCollection != Guid.Empty ? merchelloHelper.TypedProductContentFromCollection(productCollection) : null; 
    
Please Sign in or register to post replies

Write your reply to:

Draft