Skip to the main content

Webal Phoca Filter lets visitors narrow your product list. They can pick a category, a price range, a brand, a tag, a label, or a custom choice such as colour. Every choice is a plain link to the shop's own product list, so Phoca Cart finds the products and the list always agrees with your shop.

Use it in a side column or above the products. It works with scripts switched off. Choices add up: a visitor can pick two brands and a price range, and take any one of them away again.

This module is part of Webal Phoca Blocks, which needs Phoca Cart 6 or later.

Tip. A tag is a word you add to products in Phoca Cart, such as Summer. A label is a ribbon on a product, such as New or Sale. A custom parameter is a choice you define yourself, such as Fit with the values Slim and Wide.

How it works

  • A choice is a link. It goes to the product list with that choice added. A choice that is already made is marked with a tick, and its link takes it away.
  • The other choices are kept. Each link carries every choice the visitor has already made.
  • The price range is a small form. Two boxes, price from and price to, and a button. The prices are in the money the visitor is shopping in.
  • Phoca Cart does the filtering. The module only builds the links. It does not count, match or price anything.

Add it to a page

These steps follow the order of the screens in Joomla. Nothing is saved until you press Save.

  1. Log in to the Joomla administrator. In the menu on the left, choose Content, then Site Modules.
  2. Press New. A list of module types opens.
  3. Choose Webal Phoca Filter from the list.
  4. Type a Title for the module.
  5. Open the Choices tab. Switch on the groups you want, such as brands, tags and labels.
  6. Choose a Position in the right-hand column. A position is a named place in your template where a module can go. For a side column in Cassiopeia, sidebar-left and sidebar-right are good choices.
  7. Open the Menu Assignment tab. Choose Only on the pages selected, press None, and tick the shop's menu items, for example the product list and the category list.
  8. Press Save & Close.
  9. Open the product list of your shop. Press a choice. The list shrinks, and the choice shows a tick.

Accessibility. Give each Webal Phoca Filter on a page a different title. The title names the filter for screen readers.

Options

Filter tab

Options on the Filter tab
OptionWhat it doesDefault
TitleAn optional heading above the filter. If you type one, set Show Title to Hide.No title
ArrangementOne group under another, or groups side by side in a row. On a narrow screen the groups always stack.One under another
Word Filter before a rowFor a row only. Puts the word Filter, or a small picture, before the groups.No
Groups that start openEvery group, no group, or only a group where the visitor has made a choice. A visitor can always open and close a group.Every group
Show a Clear all linkTakes away every choice while any choice is made. The category the visitor is looking at stays.On

Choices tab

Options on the Choices tab
OptionWhat it doesDefault
Category choiceNo, the category being viewed (shown as chosen, and it can be taken away), or every category as a tree.No
Keep the category when filteringOn a category page or a product page, a choice takes the visitor to the product list of the same category.Off
Price rangeTwo boxes and a button.On
Brands, Tags, Labels, Attributes, Specifications, Custom parametersSwitch each group on or off. Each has its own order. Where Phoca Cart has the information, you can leave out choices with few products, show how many products each has, and offer only the choices of the category being viewed.Brands, tags, labels and custom parameters on
Colour swatches and picturesAn attribute that has the colour type or the image type, and the colours and pictures of specification values, can be shown as small squares and pictures. The name is always written too.Off
Offer only choices the visitor can useOffers only the choices that have at least one product this visitor may buy.On
Only choices in the page languageFor a site with more than one language.Off
Show only on these components, views and numbersPhoca Cart's own rule for showing a module on some pages only. Leave them empty to show the filter wherever the module is assigned.Empty

The Layout tab and the Animation tab hold the same shared groups as other Webal modules. See the General, Spacing, Width, Colour scheme and Animation groups.

What is different from Phoca Cart's own filter

  • There is no price slider. The two price boxes do the same job and work with a keyboard and a screen reader.
  • There is no box for a CSS style on pictures. The pictures have a fixed size.
  • The numbers beside a choice are the ones Phoca Cart stores. They do not change as the visitor chooses, and they can be out of date until the shop updates them.
  • The links say "nofollow", so search engines do not follow every combination.

For keyboards and screen readers

  • The filter is a navigation landmark. The Title names it. If there is no Title, the module's own title does.
  • Each group is a button-like heading. Enter or Space opens and closes it. The heading says how many choices are made, for example "2 chosen".
  • A chosen item has a tick in a box, so it does not rely on colour. A screen reader hears "selected, activate to remove".
  • Every price box has a label. Every link, heading and button is at least 44 pixels high.

Tip. If the list looks wrong, open the same address in a new tab. The link is a normal address of your shop, and Phoca Cart answers it.

Other ways to reach us

Ask the community