Hello,
I have a paragraph with Product Catalog module that shows groups by default.
I want to show only those groups that have "Show in menu" checkbox checked in group details.
I try to use following razor template:
@foreach (LoopItem item in GetLoop("Groups"))
{
if (@item.GetBoolean("Ecom:Group.NavigationShowInMenu"))
{
<span>@item.GetValue("Ecom:Group.Name")</span>
}
}
The problem is that "NavigationShowInMenu" is always false.
How should I change the template to make it work?
Thanks