Blog Sections Open

Adding Price Sorting to autoFilter Product Listings

A filter interface becomes much more useful once users can change the sort order without losing the filter they already set.

Filtering and sorting are separate concerns, but users expect them to work together. If autoFilter narrows the result set, the next step is usually to let the visitor reorder that filtered set by price or name.

What the implementation should preserve

  • the current filter state
  • the chosen sort direction
  • a predictable request format for both filtering and sorting

The cleanest approach is to treat sort order as part of the same request state as the filters, not as a separate unrelated widget.

Newer post

Applying Markups and Rounding Rules to Shopkeeper Prices Automatically

How to update Shopkeeper prices with markup rules and rounded output without editing every product manually.

Older post

Building a Product Rating Layer on Top of JotX Reviews

How to extend JotX so customer reviews can also provide structured product ratings.