Skip to content
OpenCart · User manual

Attribute Chain Filter PRO

Version 1.0.0 Product page
Chapter 6

In the shop

What shoppers see when they use a filter module, which values each dropdown offers and how the results page works.

The filter box

The filter box shows one dropdown per level, in the order of the chain, and the search button at the end. Above each dropdown is its placeholder as a small label. In Content Top and Content Bottom the dropdowns sit side by side and wrap to new lines when there is not enough room. In Column Left and Column Right, and on screens up to 768 pixels wide, they are stacked and the button takes the full width.

On OpenCart 1.5 the filter box uses the classic OpenCart box with the heading Attribute Chain Filter PRO, and the dropdowns are stacked.

Choosing values

  1. When the page opens, only the first dropdown can be used. The others are greyed out and the search button is inactive.
  2. When the shopper chooses a value, the next dropdown loads the values that still apply. A small spinner turns inside it while it loads.
  3. The shopper continues down the chain. When the last dropdown has a value, the search button becomes active.
  4. If the shopper changes a value higher up the chain, all the dropdowns below it are cleared and must be chosen again.

Which values are offered

Each dropdown lists the values of its filter group that lead to at least one product. A value is offered only when there is an enabled product, assigned to the current store and already available (its Date Available is not in the future), that has this value and every value chosen in the levels before it.

  • Values without products are not shown, so the shopper never reaches an empty result.
  • The values are sorted alphabetically by name in the shopper's language.
  • With Show counts enabled, the number after each value is the number of those products.

The results page

The search button opens the standard OpenCart search page with the products that have all the chosen values. The selection travels in the address as the cf parameter, a list of filter IDs separated by commas, for example:

index.php?route=product/search&cf=12,45,78
  • The products are shown with your theme's normal product grid or list.
  • Pagination and the number of products per page keep the selection.
  • Shoppers can bookmark or share the address to return to the same results.

Showing the selection again

When a page that contains a filter module is opened with cf in its address, the module selects those values again, level by level, so the shopper sees the current search and can change it. Values that do not fit the chain are ignored from that point on.

Still need help?

Open a support ticket from your account and our team will look at your store with you.