Reputation: 543
I am working with an opencart website. I have a problem when trying to make use of the filter module included in opencart. I get a filter in my category view, but it seems not to do any filtering.
This is my approach: I created a basic color filter in catalog->filters
with red, green and blue.
Secondly i've added red, green and blue to my products as filters in catalog->products
.
Thirdly i've added the same filters to my categories that these products are connected to, catalog->categories
.
Lastly, i've installed the filter module and set it as active and added it to my category-layout.
Is there something I am missing?
I am using opencart 1.5.6.4 with bearstore as theme.
Upvotes: 1
Views: 4278
Reputation: 4221
Normally will need to follow below steps for add Filter Module. So, please check it & follow below steps. May be, You have forgot to any step.
Go to Catalog > Filters and select Insert to create a filter group. Assign a filter group name (e.g. Color) and add filter name values (e.g. Blue, Red, Yellow).
Go to Catalog > Categories and Edit a category. Under the Data tab add the filters you want to be able to apply to that category (e.g. Color > Blue, Color > Red).
Go to Catalog > Products and Edit a product. Under the Links tab add the filters which apply to the product (e.g. Color > Blue). Apply to as many products as applicable.
Go to Extensions > Modules > Filter. If not installed select Install. Click Edit. Click the Add Module button and under Layout select Category and set Status to Enabled. Set whatever position and sort order you would like.
& also, Read this tutorial for more information http://code.tutsplus.com/tutorials/how-to-use-filters-in-opencart--cms-22594
Upvotes: 2