Opencart 1.5.5 – Product Filters

Opencart have implemented product filters as of 1.5.5. In my opinion, category level product filters are a much needed feature and something Opencart has been lacking for a while. However, in true Opencart style, to date their documentation/announcement is completely lacking, simply citing “Product Filters” as a new feature – even their demo store still uses Opencart 1.5.4, meaning you won’t even be able to see the amazing new Opencart product filters in action!

Using the New Product Filters in Opencart

What follows is quick introduction to using product filters with Opencart 1.5.5.

1: Start with a fresh install of Opencart 1.5.5.1 (the minor update fixed some bugs) and login to the admin area. From the top menu select “Catalog” > “Filters”:

opencart product filters

2: Next click the “insert” button on the right to add some filters. Product Filters are added in the same way as product options. Below I’ve added a filter group titled “Resolution” and several filter options in that group E.g. 720p , 1080p, 1080i etc.

add product filter in opencart

3: Now link the products filters you’ve just added to the actual product. On the manage product screen choose the “links” tab and look for the “Filters” section:

link filters to products on opencart

4: The “Filter” box is a standard auto complete box. Simply type in part of the filter name. Add as many filters you wish the product to belong to. Save your changes when finished.

new product filters

5: If this is the first time using product filters, go to Extensions > Modules > Filter [Install]. Then click the “Edit” link. Click the “Add Module” button, the following screen will display:

activate-product-filter-in-opencart

6: This screen simply links the product filter module with the category template. So if you wanted to display the filters to on the left hand column of a category listing page you’d mirror the settings in the above screenshot. Layout: Category, Position: content left, Status: enabled. Once complete, click “Save”.

7: Now link the filter to the category page. This is exactly the same as the product. When managing an category, choose the “data” tab and use the auto-complete box to choose which filters you wish to appear for that category. This feature provides control over which filters appear in which category. Remember to save any changes.

8: Once complete go to the category page and note the new filter box:

opencart category filters

In the screenshot, the filters groups are “resolution” and “Screen Size”. Filter options are “1080p”, 1080i etc.

Opencart Product Filters – A Warning

One thing to note is that because AJAX is not used, the page works via GET parameters from the query string. This is of concern for stores with lots of products and filters. Whilst very usable for customers, the current OpenCart product filtering does create lots of duplicated content. Whilst search engines may not be able to view the filter URLs directly, if your customers start to link to the said pages, you may run into issues. To be safe, I’d recommend setting a canonical tag.

Published by

Rob Allport

Web Developer based in Stoke-on-Trent Staffordshire Google+ - Twitter

13 thoughts on “Opencart 1.5.5 – Product Filters”

  1. thanks for the tutorial ,

    want to contact you for some professional work , where is your email id ? No contact us page

  2. I can see how it works for categories, I mean, I can filter products in a category, but… how do I do to see the filter in the home page? I couldn’t solve this! I’d like to make a product filtering in the main page. Any Idea?

  3. actually first thing it should use ajax in filters and secondly it should create automatically i mean if i select color filter , then only those child filters should be visible which have products links to them. when a filer have 0 products, it should not display in the filter list on the category page.

  4. I hope you will forgive me for this a bit off-topic comment. As for me this feature is very weird and super inconvenient. Those of you who tried using it probably found it difficult to understand without some manual. I don’t understand why they couldn’t make it more straightforward. There are a bunch of extensions that use much better approaches. E.g. why not just aggregate the attributes and have them in the filter http://www.opencart.com/index.php?route=extension/extension/info&extension_id=15974

  5. Hello,

    Thanks for the writeup, we were looking to implement this, but were looking in Attributes and Options for this type of thing.
    Too bad it’s not possible to create filters based on options?
    Anyways, even though we have to manually add filters to all our products, this post helped us solve a problem, so again, thanks!

Leave a Reply

Your email address will not be published. Required fields are marked *