Anzahl der Beiträge:
2
Karma:
10
Beigetreten:
26.03.2012
Herkunft:
India
How we can apply the Price and specification filter in left column in 2.40 version? Can anybody help?
Anzahl der Beiträge:
2
Karma:
10
Beigetreten:
26.03.2012
Herkunft:
India
How we can apply the Price and specification filter in left column in 2.40 version? Can anybody help?
Anzahl der Beiträge:
3
Karma:
43
Beigetreten:
22.05.2012
Herkunft:
Vietnam
Edit CategoryTemplate.ProductsInGridOrLines.cshtml file @section left { <---- add new @*filtering*@ @if (Model.PagingFilteringContext.PriceRangeFilter.Enabled || Model.PagingFilteringContext.SpecificationFilter.Enabled) { <div class="product-filters"> <div class="filter-title"> <span>@T("Filtering.FilterResults")</span> </div> <div class="filter-item"> @Html.Partial("_FilterPriceBox", Model.PagingFilteringContext.PriceRangeFilter, new ViewDataDictionary()) </div> <div class="filter-item"> @Html.Partial("_FilterSpecsBox", Model.PagingFilteringContext.SpecificationFilter, new ViewDataDictionary()) </div> </div> } <div class="clear"> </div> } <---- add new Edit _ColumnsThree.cshtml file <div class="master-wrapper-leftside-3"> @if (IsSectionDefined("left")) { @RenderSection("left") } <---- remove else <---- remove { <---- remove @Html.Action("WidgetsByZone", "Widget", new { widgetZone = Nop.Core.Domain.Cms.WidgetZone.BeforeLeftSideColumn }) <div class="clear"> </div> @Html.Action("CategoryNavigation", "Catalog", new { currentCategoryId = currentCategoryId, currentProductId = currentProductId }) <div class="clear"> </div> @Html.Action("PopularProductTags", "Catalog") <div class="clear"> </div> @Html.Action("InfoBlock", "Common") <div class="clear"> </div> @Html.Action("PollBlock", "Poll", new { systemKeyword = "LeftColumnPoll" }) <div class="clear"> </div> @Html.Action("WidgetsByZone", "Widget", new { widgetZone = Nop.Core.Domain.Cms.WidgetZone.AfterLeftSideColumn }) } </div> All done!
Anzahl der Beiträge:
101
Karma:
1021
Beigetreten:
26.02.2012
Herkunft:
United States
Ok, never mind, figured it out. Here was my resolution: <div class="master-wrapper-leftside-3"> @if (IsSectionDefined("left")) { @RenderSection("left") } else <---- remove { <---- remove @Html.Action("WidgetsByZone", "Widget", new { widgetZone = Nop.Core.Domain.Cms.WidgetZone.BeforeLeftSideColumn }) <div class="clear"> </div> @Html.Action("CategoryNavigation", "Catalog", new { currentCategoryId = currentCategoryId, currentProductId = currentProductId }) <div class="clear"> </div> @Html.Action("PopularProductTags", "Catalog") <div class="clear"> </div> @Html.Action("InfoBlock", "Common") <div class="clear"> </div> @Html.Action("PollBlock", "Poll", new { systemKeyword = "LeftColumnPoll" }) <div class="clear"> </div> @Html.Action("WidgetsByZone", "Widget", new { widgetZone = Nop.Core.Domain.Cms.WidgetZone.AfterLeftSideColumn }) } <---- remove </div> Also, the widget can be moved just above the " @if (IsSectionDefined("left"))" line if you don't want it to ne between the filter and the category sections.
Anzahl der Beiträge:
64
Karma:
390
Beigetreten:
27.10.2016
Herkunft:
Canada
Is there an updated process to do this for NopCommerce 3.8?