move product filter to left side column

This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.
12 years ago
i think i've stuffed up something and my product filter is now at the bottom of the display page rather than at the top as demo version. Could anyone please show how to move the 'product filter' to the left side column.
One more thing where can i change the text "Filter your results
Filter by attributes" to something i want.

Thanks in advance
12 years ago
I am using 2.40 version
12 years ago
Anyone please help!
12 years ago
Do you have a live site we can check the issue on ? If not, can you provide a screenshot of the problem. Thanks
11 years ago
coldrock wrote:
i think i've stuffed up something and my product filter is now at the bottom of the display page rather than at the top as demo version. Could anyone please show how to move the 'product filter' to the left side column.
One more thing where can i change the text "Filter your results
Filter by attributes" to something i want.

Thanks in advance


for the code chages, read this:
https://www.nopcommerce.com/boards/t/2705/category-page-product-filters.aspx?p=5

To change the text in Admin go to:
1. Configuration > Languages
2. Click on "View string resources"
3. Click funnel icon in the Resource Name column
4. Select "Starts With" and enter "filtering." and that will show your your filtering related text
10 years ago
Hi all
I tried this in 3.1 and seems pretty complicate to do it. At the end I did a very simple but 'artificial' solution that looks fine:

I added the underline lines in as following:

\nopCommerce_3.10_Source\Presentation\Nop.Web\Views\Shared\_Root.cshtml:
@Html.Widget("body_start_html_tag_after")
@Html.Partial("_Notifications")
@Html.Action("AdminHeaderLinks", "Common")
@RenderSection("MyScripts", required: false)
<div class="master-wrapper-page">

\nopCommerce_3.10_Source\Presentation\Nop.Web\Views\Shared\_ColumnsTwo.cshtml:
@{
    Layout = "~/Views/Shared/_Root.cshtml";
}
@section MyScripts {
    <script type="text/javascript">        
        jQuery(document).ready(function () {
            $('.product-filters.product-spec-filter').insertAfter('.block.block-category-navigation');
        });
    </script>
}



What do  you think ?
9 years ago
tonics wrote:
Hi all
I tried this in 3.1 and seems pretty complicate to do it. At the end I did a very simple but 'artificial' solution that looks fine:

I added the underline lines in as following:

\nopCommerce_3.10_Source\Presentation\Nop.Web\Views\Shared\_Root.cshtml:
@Html.Widget("body_start_html_tag_after")
@Html.Partial("_Notifications")
@Html.Action("AdminHeaderLinks", "Common")
@RenderSection("MyScripts", required: false)
<div class="master-wrapper-page">

\nopCommerce_3.10_Source\Presentation\Nop.Web\Views\Shared\_ColumnsTwo.cshtml:
@{
    Layout = "~/Views/Shared/_Root.cshtml";
}
@section MyScripts {
    <script type="text/javascript">        
        jQuery(document).ready(function () {
            $('.product-filters.product-spec-filter').insertAfter('.block.block-category-navigation');
        });
    </script>
}



What do  you think ?



Well, It's work. Good ideas!
This topic was automatically closed 365 days after the last reply. New replies are no longer allowed.