I'm stuck with something - I'm trying to output a list of products (with images) from a Multi Product Picker on the currentPage but not having much luck. Would anyone have a wee razor snippet to help?
This is the kind of thing i usually use...
@{
var bannerList = CurrentPage.productList.ToString().Split(new string[] { "," }, StringSplitOptions.RemoveEmptyEntries);
var bannerCollection = Umbraco.Content(bannerList);
}
Text in here
}
}
Output products from Multi Product picker
Hi Guys,
I'm stuck with something - I'm trying to output a list of products (with images) from a Multi Product Picker on the currentPage but not having much luck. Would anyone have a wee razor snippet to help?
This is the kind of thing i usually use...
Thank you. Darren
Hi Darren,
How have you solved it?
Kind Regards
I did figure it out - here's the razor:
I hope this helps. Darren
is working on a reply...
This forum is in read-only mode while we transition to the new forum.
You can continue this topic on the new forum by tapping the "Continue discussion" link below.