Join GitHub today
GitHub is home to over 36 million developers working together to host and review code, manage projects, and build software together.Sign up
Question: How to convert from ProductDisplay to ProductContent #2242
Sorry for raising a question as an issue - i'm afraid I don't know how to mark it as just a question.
I would like to know the correct way of converting from a ProductDisplay (returned by search) to a IPublishedContent so i can access product images etc ?
I see there is an extension method AsProductContent - but it is marked as obsolete - what method should be used?
[Obsolete("This method will be removed in version 3.0.0")]