Press Ctrl / CMD + C to copy this to your clipboard.
This post will be reported to the moderators as potential spam to be looked at
I'm building up a sub menu of product categories as defined by "Product Collection" nodes. Ie, under the store I have nested product collection pages that have the Merchello Product List View datatype on them to pick collections.
Is there a way in code to retrieve the collection GUID on the current node instead of the actual products in the collection?
Eg prodCollectionPage.Products returns IEnumerable<IProductContent> but I want the associated collection guid.
prodCollectionPage.Products returns IEnumerable<IProductContent>
Worst case, I'll add a save event and save off the Guid into another field that I can access.
Read through this and see if you can get it. Basically you want to override the default property value converter ...
Beautiful! Extending PublishedContent with GetDataValueAsGuid was exactly what I was after. Works really well.
is working on a reply...
Write your reply to:
Image will be uploaded when post is submitted