Skip to main content

Availability Filter Block

The Availability Filter block (also labeled Filter Products by Availability) lets customers pick a date range and reload the product list to show only appointable products with open slots in that window.

Before you begin

How it works

Customer picks Start Date (and optional End Date), clicks Filter, and the product loop refreshes. The plugin checks global, product, and staff availability plus existing bookings.

Best placement

Shop page, category archives, or landing pages with a product grid — above the product list.

You are ready when

  1. ✅ Block appears on a page with appointable products in the loop
  2. ✅ Filtering returns expected products for a known open date

Add the block

  1. Open the page in the block editor
  2. Click + → search Filter Products by Availability or Availability Filter
  3. Insert above or beside the product grid

Availability Filter Block

Configure the block

SettingPurpose
TitleInline heading (default: "Filter Products by Availability")
Show end dateEnable or hide end date field
Date limitsMin/max selectable dates
Button textLabel on the filter button

Date format follows WordPress → Settings → General.

How filtering works

  1. Customer selects dates and clicks Filter
  2. Product query reloads with availability constraints
  3. Each product is checked against:
    • Global and product availability rules
    • Staff availability (when staff-assigned)
    • Existing appointments and capacity
tip

Pair with WooCommerce sorting on shop pages for easier discovery. On classic themes, use the Availability Filter widget instead.

Troubleshooting

IssueCheck
No products foundAvailability rules for the date range; products actually bookable on those days
Slow resultsIndexing on large catalogs
Date picker brokenJavaScript conflicts