Copied to clipboard

Flag this post as spam?

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


  • Biagio Paruolo 1455 posts 1594 karma points c-trib
    Mar 17, 2019 @ 14:44
    Biagio Paruolo
    0

    Null value when try to show product image - How to access Images ( Media picker v2 ) into Extended Content?

    How to access Images ( Media picker v2 ) into Extended Content? Merchello v2.6.0.

    I tried:

     var image = Model.GetPropertyValue<IEnumerable<IPublishedContent>>("image").FirstOrDefault();
    

    but I've error

    System.ArgumentNullException: Value cannot be null.
    

    Thanks.

  • Biagio Paruolo 1455 posts 1594 karma points c-trib
    Mar 20, 2019 @ 11:17
    Biagio Paruolo
    100

    I solved the problem. I configure store as IT culture but the store culture was EN-US in content. This is a bit a confusion for an user.

Please Sign in or register to post replies

Write your reply to:

Draft