- 10
Hello guys,
Is there a way that I can show my Jcarousel products in category of my choice ?
Is there a way that I can show my Jcarousel products in category of my choice ?
@Html.Widget("categorydetails_top", Model.Id)
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@Html.Widget("categorydetails_top", Model.Id)
}
}
@Html.Widget("categorydetails_top", Model.Id)
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@Html.Widget("categorydetails_top", Model.Id)
}
}
@Html.Widget("categorydetails_top", Model.Id)
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@Html.Widget("categorydetails_top", Model.Id)
}
}
@Html.Widget("categorydetails_top", Model.Id)
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@Html.Widget("categorydetails_top", Model.Id)
}
}
@Html.Widget("categorydetails_top", Model.Id)
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@Html.Widget("categorydetails_top", Model.Id)
}
}
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_top", additionalData = Model.Id })
@await Component.InvokeAsync("Widget", new { widgetZone = "NAME_OF_OTHER_WIDGET_ZONE", additionalData = Model.Id })
}
}
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@await Component.InvokeAsync("Widget", new { widgetZone = "NAME_OF_OTHER_WIDGET_ZONE", additionalData = Model.Id })
}
}
@{
var categoryIds = new List<int> { 2, 3, 4 }; // Inside the curly brackets you can list all category IDs, comma separated
if (categoryIds.Contains(Model.Id))
{
@await Component.InvokeAsync("Widget", new { widgetZone = "categorydetails_top", additionalData = Model.Id })
}
}
@{
var secondCategoryIds = new List<int> { 5, 6, 7 }; // Inside the curly brackets you can list all category IDs for the additional widget-zone, comma separated
if (secondCategoryIds.Contains(Model.Id))
{
@await Component.InvokeAsync("Widget", new { widgetZone = "NAME_OF_OTHER_WIDGET_ZONE", additionalData = Model.Id })
}
}