Reputation: 120
I have the following structure:
How do I access to Features of current Product in template?
Upvotes: 0
Views: 77
Reputation: 1728
Do you have any sample code? You would probably use the Children
property. It would be something like
@foreach(var child in CurrentPage.Children)
{
<span>@child.featureName @*Or whatever field you have on feature*@</span>
}
They put out a cheat sheet which is always handy.
Upvotes: 2