category only homepage

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
11 năm cách đây
is possible that the category is only visible on the homepage and not the home of the categories?
11 năm cách đây
You can change the CategoryTemplate.ProductsInGridOrLines.cshtml layout to "_ColumnsOne".

You can create a new two-column layout for the category page in which you want to delete
"@ Html.Action (" CategoryNavigation "," Catalog ", new {currentCategoryId = currentCategoryId, currentProductId = currentProductId})".

Or you can do the following (in _ColumnsTwo.cshtml):
if (currentCategoryId == 0)
{
@Html.Action("CategoryNavigation", "Catalog", new {currentCategoryId = currentCategoryId, currentProductId = currentProductId})
<div class="clear">
</div>
}
That is, the navigation menu will be displayed on all pages except the page with the categories, since only they currentCategoryId not 0
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.