Try 14 days free
Skip to content

InstantFilter docs

Setup guides, admin reference and shortcodes — checked against the current plugin UI.

Quick start

InstantFilter runs directly inside WooCommerce. You configure filters under WP Admin → InstantFilter, index your catalog, and drop a shortcode or native Bricks element onto your shop or landing page.

New in v1.4.0: Interactive Onboarding Wizard! As soon as you activate your license, a guided wizard walks you through the 5 essential setup steps: loading products → adding filters → indexing → selecting a card template → placing the archive. Below is a detailed walkthrough of each stage.

The InstantFilter onboarding wizard welcome modal showing the 5 setup steps
The wizard opens automatically after license activation and can be restarted later from Settings.

1. Start your trial and install

  1. Download the free 14-day trial (no credit card required) or choose a plan on our pricing page.
  2. Download the plugin zip from your confirmation email.
  3. In WordPress: Plugins → Add New → Upload Plugin, then activate InstantFilter.
  4. Navigate to InstantFilter → License and paste your license key. The remaining tabs stay locked until your key validates.

2. Reload Products

Click Reload Products in the admin header (or inside step 1 of the wizard). This populates the wp_if_items table with your WooCommerce catalog. After this initial run, InstantFilter keeps the items table synchronized automatically whenever you save, edit, or delete products — you only need to reload manually after large bulk imports or if you notice discrepancies between WooCommerce and your indexed item count.

3. Add filters

Navigate to the Filters tab and click Add Filter. The modal covers source, reference, label, and display type:

  • Source — where filter data originates (taxonomies, attributes, custom meta fields, ACF, or the Filter repeater to generate filters for all attributes automatically).
  • Reference — the specific taxonomy or attribute key (e.g. pa_color, product_cat).
  • Filter Name — the storefront label shoppers see in the sidebar.
  • Display Type — checkbox, color swatch, range slider, dropdown, radio, rating, toggle, etc.

Save and repeat for each filter you want in the sidebar. See Filters for the complete field reference.

4. Update Filters & choose a card layout

Click Update Filters in the admin header. InstantFilter indexes every enabled filter against your catalog and builds the JSON export files (with Auto Build Exports enabled by default) for high-performance client-side filtering.

Under InstantFilter → Layouts, click Card templates to select a ready-made layout preset (Classic, Catalog, Showcase, or Lifestyle) for your universal archive. With a Pro or Agency license, you can customize these templates with the visual StyleBuilder.

Status pill: The badge next to the action buttons provides clear guidance on next steps — whether you need to load products, add filters, or update filters. Once it reads “X filters active”, your storefront is ready.

The status pill next to Reload Products and Update Filters in the InstantFilter admin header
The status pill appears on every tab next to the action buttons.

5. Place a shortcode or Bricks element

Add the archive to any page, category template, or page builder block:

[instant_archive]

Building with Bricks Builder? Drag the native IF — Sidebar + Grid element directly into your layout or WooCommerce archive template — no shortcodes required. See our Bricks Builder documentation.

This renders the complete store experience: filter sidebar, responsive product grid, toolbar with sorting, and pagination. Initial page loads are server-rendered for SEO; once hydrated, filter selections resolve instantly in the browser.

Does your theme (such as Flatsome) give a shortcode no place on category or tag pages? Skip the shortcode and choose InstantFilter in the Customizer or under Settings → Shop & Archive Pages. InstantFilter then draws the product list on the shop, search results and every category, tag and brand page.

Explore Filters for detailed field configurations, Listings for curated collections, Card loops for standalone product grids, Layouts & StyleBuilder for card styling, and Bricks Builder for native builder integration.

How indexing works

InstantFilter decouples which products exist from how shoppers can filter them and what the browser downloads. The architecture relies on three dedicated layers, each paired with an admin action:

Step Admin action What it does
1. Items Reload Products Synchronizes published WooCommerce products (and variation explode rules) into wp_if_items.
2. Filters Update Filters Indexes every active filter definition into dedicated filter tables to prepare facets, options, and counts.
3. Export Automatic (or “Build Export” in debug) Generates codebook.json.gz and shard payloads for instant in-browser filtering after hydration.

Delta sync — automatic updates without manual rebuilds

Once you run Reload Products for the first time, InstantFilter maintains the items table automatically through core WordPress hooks. Creating, updating, trashing, or restoring a product immediately triggers a targeted delta update that touches only the affected rows — avoiding heavy full catalog rebuilds.

You only need to click Reload Products manually when:

  • You perform a bulk import outside standard WordPress lifecycle hooks (CSV imports, WP All Import, external REST API syncs).
  • You notice a discrepancy between WooCommerce catalog numbers and the InstantFilter Items count.
  • You adjust variation explode rules and want to verify the entire card index.

For standard store management, delta synchronization ensures your index remains up to date automatically.

Prices and stock updated outside WooCommerce

If an import tool, ERP connector, or pricing plugin writes price or stock straight into product meta without saving the product itself, InstantFilter still picks it up in the background: a recurring task checks roughly a thousand products a minute and writes at most fifty rows per run (regular price, sale price, the price range, the on-sale flag, and stock status). Once the writes stop, that product's card data is rebuilt.

A full Reload Products is not needed for this. Title, terms, and filter counts stay as they are; only price and stock catch up.

Multilingual stores (WPML & Polylang)

On a store running WPML or Polylang, the index holds only products in the site's default language by default, so InstantFilter filters on one domain without mixing translations. Products in other languages leave the index at the next full Reload Products.

Need every language indexed at once — for example when language is chosen through a query parameter rather than separate translated products? Use the instantfilter_index_language filter and return 'all':

add_filter( 'instantfilter_index_language', function ( $detected ) {
    return 'all';
} );

After adding this filter, run Reload Products again so the index picks up the change.

Indexing in the background

Load Products and Update Filters run their batches from the browser tab you have open. Stay on that page until the run finishes. That is the default, because a background run can stall when nothing wakes the server.

The Index in the background setting, switched off, with the warning that WP-Cron must run regularly

Under InstantFilter → Settings, switch on Index in the background when you want the server to start every next batch. You can then leave the page or close the browser. The progress bar only reads the status. If a run stops, a message with a Continue button picks it up where it left off. Starting Load Products or Update Filters again replaces a run that is still busy. A run that is already busy when you switch the setting off still finishes.

  • Cron: turn this on only when WP-Cron runs regularly. A server cron that calls wp-cron.php every minute is the reliable choice, and a shop with many visitors also keeps the queue moving. Without either, a run can stall halfway until someone visits, and a half-built export can be left behind. If that happens, switch the setting off.
  • Without Action Scheduler: the checkbox is unavailable. Action Scheduler comes with WooCommerce. The browser then runs the batches, so stay on the page.

The filter if_background_index overrides the checkbox: return true to force the background, or false to keep the browser in charge.

After a plugin update

When an update changes what the index contains, the shop needs a new index. With Index in the background off, a notice asks you to press Load Products and then Update Filters, and to keep the page open while that run goes. With the setting on, the shop brings the index up to date by itself. You see a small status line under the header, and a short message when it is done.

  • Large shops: with more than 10,000 products the automatic run does not start by itself, even when background indexing is on. A notice with Start now appears, so you choose the moment. That run then continues in the background.
  • The notice goes away once a full run has finished, also when you started it yourself with Load Products and Update Filters.

Two filters change this behaviour:

// Change the product limit for the automatic start (0 = no limit):
add_filter( 'if_auto_index_after_update_limit', function () {
    return 25000;
} );

// Never start automatically; the Start now notice shows instead:
add_filter( 'if_auto_index_after_update', '__return_false' );

Admin status indicator

The status pill adjacent to the header buttons reflects your current index state:

  • No products loaded — initial setup; click “Reload Products”.
  • X of Y filters active — filter definitions have changed; click “Update Filters”.
  • X filters active — index is up to date and ready for the storefront.
  • No filters created — add at least one filter on the Filters tab.

When to run Update Filters

  • After adding, modifying, disabling, or reordering filters.
  • After generating filters via the Filter repeater (which scans the catalog for attributes).
  • After modifying variation explode rules to ensure facet counts align with card splits.

The Update Filters button pulses after you add a filter, switch one on, or change it in a way the index uses, until an update finishes without errors. Changing only the label, the order or how a filter is displayed does not start the pulse, and neither does switching a filter off or deleting it.

Export files regenerate automatically whenever Auto Build Exports is active (recommended). The manual “Build Export” button is only displayed when WordPress debug mode (WP_DEBUG) is enabled.

Filter repeater: Generating filters for all attributes scans your entire product catalog. For larger stores, check the Filter repeater batch size in Settings and expect the initial generation pass to take a few moments.

Server-side rendering (SSR) vs. client-side speed

Shoppers receive complete, semantic HTML on their first page visit (SSR), ensuring search engine crawlers and screen readers access full product content instantly. Compressed exports download concurrently in the background; once hydrated, user clicks resolve completely in memory without hitting your database or PHP workers. Items, filters, and exports should all be compiled before auditing performance on staging.

Per-archive exports & compact card payloads

To deliver peak performance across expansive enterprise catalogs, InstantFilter splits export payloads intelligently:

  • Per-archive exports: Rather than downloading the entire store catalog on every archive, InstantFilter can compile smaller, dedicated export shards for category, tag, and attribute pages (configurable in Settings). A shopper browsing /product-category/running-shoes/ downloads only products within that specific category.
  • Dedicated card shards (cards.json.gz): Extended product card data (such as custom meta attributes and wishlist states) loads via compressed gzip shards instead of heavy inline HTML script tags, keeping your initial DOM exceptionally clean.
  • Search archives (?s=): When visitors search, InstantFilter creates an optimized subset file on the first query that is subsequently cached and served instantly for identical searches.

License

Navigate to InstantFilter → License (admin.php?page=if-admin&tab=license).

Activate your key

  1. Paste the license key from your purchase confirmation or trial activation email.
  2. Click “Activate”. The plugin validates against InstantStack servers and unlocks Filters, Variations, Listings, Card loops, Layouts, and Settings.
  3. Until a valid key is activated, all other tabs remain locked and inaccessible.

Trial workflow

You can request a 14-day trial directly from our website with zero payment details required. Trial licenses (prefixed with TRIAL-...) are verified and managed directly via our own InstantFilter licensing infrastructure. Paid commercial licenses are fulfilled and managed through Lemon Squeezy.

What your tier controls

Feature / Limit Basic Pro Agency
Websites1550
Products indexed2,50025,000Unlimited
Card Template Library (4 presets)YesYesYes
StyleBuilder (visual card designer)YesYesYes
Bricks Builder integrationYesYesYes

Limits reflect our Founders pricing tiers. If you exceed the catalog limit, indexing buttons indicate “Limit reached” until you upgrade.

Deactivating or moving licenses

Click “Deactivate License” on the License tab before moving to a new domain or staging environment, then re-activate on your new site. For billing, upgrades, or refund details, see our FAQ.

Filters (Filter Definitions)

InstantFilter → Filters is where you define which facets appear in your shop sidebar. Each row represents a distinct filter. Active filters are compiled into your index when you click Update Filters.

Filter Definitions table

  • Active — toggle switch to include or exclude a filter from indexing and frontend rendering.
  • Filter Name — the public label shoppers see in the sidebar.
  • Source — the data origin (General (WooCommerce), Taxonomy, Global/Custom Attributes, Meta Field, ACF Field, Filter repeater, etc.).
  • Type — facet display type (checkbox, range slider, color swatch, dropdown, radio, rating, toggle, etc.).
  • Actions — edit, delete, or copy the standalone shortcode [instant_filter prop="…"].

Drag rows vertically to adjust sidebar filter order. Attributes generated via the Filter repeater appear neatly nested under their repeater parent.

Filter repeater (Automatic attribute filters)

Instead of manually configuring dozens of individual attribute filters, use the Filter repeater to discover and create them in bulk:

  • Filter repeater – global attributes — scans your catalog and automatically provisions a child filter for every global WooCommerce attribute (pa_*).
  • Filter repeater – custom attributes — accomplishes the same for custom product attributes configured directly on products.

When you save a Filter repeater definition, InstantFilter generates all child filters automatically. Run Update Filters once generation completes. Use Exclude Attributes (one attribute key per line) to skip technical or internal attributes you prefer not to display.

Storefront presentation: each discovered attribute renders as its own filter block in your sidebar, respecting your drag-and-drop order.

Add Filter dialog — field reference

Click Add Filter to open the modal. Core fields include:

The Add Filter dialog with source, reference, filter name and display type
Field Purpose
Source General (WooCommerce) (price/stock/SKU), Taxonomy, Global/Custom Attributes, Meta Field, ACF Field, or Filter repeater options.
Reference Specific taxonomy or key: e.g. product_cat, pa_color, _price. Searchable dropdown.
Filter Name Storefront sidebar heading (e.g. Color, Brand, Price).
Exclude Attributes Filter repeater only — attribute slugs to skip, entered one per line.
Display Type Frontend presentation: checkbox, range slider, color swatch, dropdown, radio, number, rating, or toggle. Repeater parents default to checkbox children.
Show Child Terms For hierarchical taxonomies (such as categories): display sub-terms indented in a tree structure.
Depth Maximum nesting levels to render (1 = direct children only, 2 = grandchildren included, etc.).
Values Show every value, only the ones you pick, or hide the ones you pick. See Choose which values a filter shows.
Color Mapping For color swatches — map term values to hex codes, gradients, or image URLs.
Show Accordion After Collapse extensive option lists behind a “More…” button after N items (0 = show all).
Sort Order Alphabetical, by product count (most popular terms first), or WordPress drag-and-drop order from WooCommerce attribute settings.
Advanced → Variation Display Mode On attribute filters: parent card vs unique explode vs explode all variations.
Advanced → Multiple Values Handling Aggregate calculation when products carry multiple values (min, max, sum, count, any).

Choose which values a filter shows

By default a filter lists every value it finds in your catalog. The Values field in the Add Filter and Edit Filter dialog changes that. It works for categories, attributes, meta fields and extra fields.

The Edit Filter dialog with Values set to Hide these values, two categories picked as chips and the Also hide child terms option ticked
  • All values (default) — every value appears in the filter.
  • Only these values — only the values you pick appear. Everything else stays out of the filter.
  • Hide these values — every value appears except the ones you pick. Handy for internal or seasonal categories such as “Uncategorized”.

Search for a value and pick it; each choice becomes a chip, and the × on a chip removes it. For a hierarchy, a checkbox under the chips (Also include child terms or Also hide child terms) applies your choice to the child terms as well. A renamed category stays linked, so you do not have to pick it again.

Paste a list

Paste a list with one value per line into the search field and each line becomes a chip.

  • For a category or attribute, a line is kept only when its name matches exactly one term. Other lines are listed as Not found, so you can correct them.
  • A comma stays part of the value; it does not split the line.
  • A single line without a line break still searches as usual.

Update filters after changing values: the shop applies your choice the next time you click Update Filters.

Hierarchy & exclusions (Category tree structure)

For hierarchical taxonomies (such as WooCommerce product categories), providing clear structure is vital for smooth navigation. InstantFilter provides advanced hierarchical controls and term isolation:

  • Visual tree indentation: Enabling “Show Child Terms” renders child categories indented beneath their parent. Parent terms are emphasized in bold, accompanied by subtle vertical branch indicators. Indentation width is customizable via the CSS variable --if-category-indent (defaults to 20px).
  • Configurable nesting depth: Specify exact nesting limits. A depth of 1 displays immediate subcategories only, whereas higher values reveal deeper branches. Flat taxonomies (like tags or brands) automatically hide this option.
  • Contextual archive isolation: When a customer navigates to a specific category page (e.g. /product-category/clothing/), InstantFilter automatically isolates the filter to display only subcategories of Clothing. The current category itself, ancestor categories, and sibling categories remain hidden to preserve relevant, clutter-free browsing. If the current category has no subcategories that this filter can show, the category filter stays and lists the category values of the products on that page instead — for example brands that are stored as categories.
  • Group protection under limits: The global “Max Values Per Filter” setting counts only top-level items in nested trees, preventing sub-branches from being awkwardly severed mid-list.
  • Hiding unwanted terms: Need to hide internal or seasonal categories (like “Sale Banners”, “Archived”, or “Uncategorized”)? Set Values to Hide these values, pick them, and optionally tick “Also hide child terms”. See Choose which values a filter shows. After you click Update Filters, hidden terms are completely removed from both HTML and export payloads.

Storefront presentation: Every saved filter definition becomes a cohesive facet in your sidebar (or a standalone widget via [instant_filter]). All facet types — including color swatches, range sliders, and dropdowns — share the same uniform accordion pattern. Quantities and counts update dynamically to reflect the active catalog context.

See Variations for catalog-wide explosion rules and Settings for global sidebar thresholds.

Variations

Variable products are WooCommerce’s standard mechanism for offering a single parent item in multiple variations — sizes, colors, finishes. By default, stores render the parent product as a single card with a broad price range. Exploding a variation attribute splits that single card into distinct individual cards, one for each variation. This turns “Nike Air Force 1” from one generic card into three distinct cards for black, white, and blue.

Visual comparison

One variable product with three color variations. The top row illustrates standard parent product rendering; the bottom row demonstrates the same product with color exploded:

Display modes

Mode Storefront behavior
Parent (default) A single card per variable product showing a price range. Filters match attribute values assigned to the parent.
Explode unique Variations carrying an explicit, unique thumbnail become separate cards; variations without dedicated images are omitted.
Explode inherit Every variation renders as an independent card. Variations missing unique imagery inherit the parent image so nothing is omitted.

Configuration points

You can configure variation explosion in two places — both synchronize to the same centralized rule registry:

  1. Filters → Add/Edit Filter → Advanced Settings. When a filter source is an attribute (such as pa_color), the modal offers a Variation Display Mode control. Use this when you want an attribute to serve as both a sidebar facet and an explosion rule.
  2. Variations tab → Add attribute. Use this when you want to explode variations by an attribute without exposing it as an interactive sidebar facet. For example: explode products by color while omitting color from the filter sidebar.

Attributes governed by a filter definition display a Via filter badge on the Variations tab and remain synchronized whenever you adjust the filter. Standalone entries are managed directly on the Variations tab.

Sub-parents during partial explosion

Footwear typically features both color and size attributes. If you explode on color but leave size grouped, InstantFilter creates one card per color — a sub-parent that encapsulates all available sizes for that color:

  • Red — sizes 7, 8, 9
  • Blue — sizes 7, 8, 9
  • etc.

These sub-parents are not separate WooCommerce post records. They exist within InstantFilter’s compiled index to allow the grid to present one cohesive card per exploded attribute. In WooCommerce, the underlying variations remain the specific size and color combinations:

  • Red, size 7
  • Red, size 8
  • Red, size 9

Each carries its own variation record in WooCommerce — including individual image fields. The sub-parent card draws its image dynamically from child variations. The image displayed corresponds to the imagery configured on those variation rows.

Best practice in WooCommerce: Assign images to every variation row, prioritizing photography that highlights the exploded attribute. For color explosion + grouped sizes, every red variation should feature a photo of the red shoe, regardless of size:

  • Red, size 7 → red shoe photo
  • Red, size 8 → red shoe photo
  • Red, size 9 → red shoe photo

Repeat consistently for blue, green, and other colors. If variation rows under the same color use differing imagery, the sub-parent displays whichever image the indexer encounters first — keep imagery consistent across matching variants.

After modifying explode rules, click Update Filters so that option counts and card layouts re-align. Running “Reload Products” is only required if item totals deviate or following a major product import.

Smart variation pricing & automatic sale badges

InstantFilter inspects variation pricing automatically to ensure clarity for shoppers:

  • Explicit pricing for matching variants: If all sizes or options of a product share the same regular and sale prices, the card clearly displays both the original strikethrough price and the discounted price (e.g. $89.95 $69.95). Only when variation prices genuinely differ from one another does the card show “From $…”.
  • Automatic sale badge: The sale badge appears on a product card automatically whenever at least one active variation is on sale.
  • Consistent term archives: Exploded variations are indexed directly under their specific attribute terms. A red sneaker variant immediately displays on the red color archive page, while the unexploded parent remains hidden as long as variation explosion is active.
  • Only buyable variations list a card: A variable product's card is only listed under a size or colour when a variation with that value can still be bought — in an archive of that size or colour and in the filters. A sold-out size no longer lists the card. The shop applies this the next time the index runs.

Storefront presentation: Product grids render parent cards, sub-parents, or individual variation cards based on your configuration; filter facets accurately reflect exploded items rather than parent-level totals.

If you add the Swatches block to the card, a sub-parent only shows the attributes you did not explode (for example size, if you explode on colour). A card that is already one exact variation shows no swatches.

Listings

A listing is a curated product collection paired with its own shortcode and (optionally) a distinct filter configuration. Use listings when a single general shop page is insufficient — promotional landing pages, dedicated brand shops, in-stock inventories, or B2B product subsets.

Universal Archive (system listing, ID -1)

Every install includes a built-in system listing that dynamically mirrors WooCommerce archive contexts. Place its shortcode on any standard WooCommerce archive template and it detects its environment automatically:

  • On your main shop page — all indexed products and the full set of filters.
  • On a category archive — products scoped to that category, with facets and counts adapted to context.
  • On a tag archive — scoped strictly to items carrying that tag.

Shortcode: [instant_archive]

Important: The Universal Archive only auto-detects context on native WooCommerce archive pages (shop, category, tag). On custom WordPress pages, landing pages, or page builder layouts lacking archive globals, it defaults to showing all catalog products. Create a custom listing for these scenarios.

Custom listings

Click Add Listing on the Listings tab. The modal interface provides the following controls:

The Add Listing dialog with name, slug, Product Query and sort options

Configure:

  • Name — internal admin label.
  • Slug — URL-safe identifier for shortcodes and code references.
  • Product Query — combine zero or more filtering conditions:
    • Meta Query rules (post meta key + comparison operator + value).
    • Taxonomy Query rules (taxonomy + term IDs/slugs).
    • Post IDs (comma-separated) for explicit manual curation.
    Use Preview to inspect matching product counts before saving.
  • Sort products — default sort order per listing (date, price, price-desc, sale, and popularity when enabled). Shoppers can override this via the storefront dropdown or ?orderby= parameters. See Sorting.
  • Status — Active or Inactive.
  • Context-sensitive — when enabled, the listing narrows down further based on the archive context of the hosting page (category or tag). Leave disabled if the listing should display an identical product set everywhere. A category or tag archive with this enabled keeps its own term after a filter click; the filter narrows within that term, it does not replace it with the whole shop.

Shortcode for listing ID 42:

[instant_archive listing_id="42"]

The shorthand aliases listing="42" and id="42" are also supported.

Example: in-stock only collection

Display only products currently in stock — eliminating backorder or “notify me” rows from the layout.

  1. Click “Add Listing” → Name: In Stock Only.
  2. Under Meta Query, add a condition: key _stock_status, compare =, value instock.
  3. Click Preview to verify matching product numbers.
  4. Save and embed the shortcode on your “Available Now” landing page:
[instant_archive listing_id="42"]

Variation explosion rules remain fully applicable, allowing partially stocked variable products to present only in-stock variants as individual cards.

Workflow

  1. Configure the filters you want displayed on the Filters tab.
  2. Create a listing and define your query criteria.
  3. Run Update Filters if you added or adjusted filter definitions.
  4. Embed the shortcode on any WordPress page or page builder block.

Listing caps depend on your license level — see License.

Card loops

A card loop renders a standalone product grid that reuses your layout card designs without a filter sidebar and without client-side JavaScript hydration. The loop outputs pure, fast server-side HTML (SSR). It is ideal for homepage featured showcases, promotional campaigns, bestsellers, related products on single product pages, or curated category spotlights.

Maximum performance: Because there is no client-side filter engine to mount, card loops render instantly with initial page delivery. Product card styles (images, titles, badges, pricing, buttons) are inherited automatically from your layout schema via card.css.

Where to find it

In WordPress, navigate to InstantFilter → Card loops. Here you will find an overview of all configured loops alongside their associated layout, query source, and shortcode with a one-click copy button.

Requirement: A product card design lives inside a layout (under schema.card_template). Ensure you have created or imported at least one layout under InstantFilter → Layouts before creating a card loop. Without an active layout, the “Add card loop” button remains locked.

Creating & configuring a card loop

Click “Add card loop” to open the configuration modal:

The Add card loop dialog with Product Query, item count, sorting and layout
Field Description
Name Internal label for admin reference (e.g. “Homepage Bestsellers” or “Related Footwear”).
Product Query Determines which products are retrieved (see query sources below).
Item limit Total products displayed (1 to 48, default: 4).
Sort products Ordering: newest first, price (low → high or high → low), title (A-Z / Z-A), popularity, rating, or random.
Layout Select which layout provides the card visual design and block arrangement. Choosing “Use default” inherits your universal layout.
Context-sensitive When enabled, narrows the query to match the current page context (see context behavior below).
Stock status Check “Hide out of stock products” to automatically omit unavailable items.
Exclude products on sale Leaves out products with an active discount price. Works with every source except “On sale” itself — the checkbox has no effect there and is hidden.
Empty state text Notice displayed if no products match the query (default: “No products found.”).

Available query sources (Product Query)

Source in modal Shortcode source Behavior
Newest products newest All published products, ordered by publication date (newest first).
Featured products featured Only products marked as “Featured” (starred) in WooCommerce.
On sale on_sale Products with active discount pricing, including variable products where at least one variation is on sale.
Best selling best_selling Ordered by lifetime WooCommerce sales volume (total_sales).
Top rated top_rated Ordered by highest average customer review ratings.
Product category category Displays a field for category slugs or names (comma-separated). Subcategories are automatically included.
Product tag tag Displays a field for product tag slugs or names (comma-separated).
Manual selection manual Explicit comma-separated post IDs. Preserves exact entry sequence when sorted by “Newest first”.
Custom query custom Advanced query builder: combine Meta Queries, Taxonomy Queries, and Post IDs with live product count previews before saving.
Related products related On a product page: WooCommerce's own related-products list for the current product (the same logic as its standard “Related products” section, and cached per product in the same way). Elsewhere on the site the loop stays empty — this source only makes sense on a product page.

Context sensitivity & related products

When the “Respect WordPress context” option is enabled, the loop intelligently adapts to the viewing environment:

  • On a single product page: Automatically retrieves products from the same categories as the currently viewed item, while excluding the current product itself — perfect for “Related products” or “You may also like” sections.
  • On a category archive: Constrains results strictly to items within that category that also meet the query criteria (e.g. featured products within Sneakers).
  • On standard pages (e.g. homepage): Applies no contextual restrictions; renders the configured query globally.

The Related products source already handles product-page context itself and does not combine with “Respect WordPress context”: that option disappears from the modal once this source is selected.

Shortcode & column controls

The standard shortcode for an admin-saved loop is:

[instant_cards id="3"]

You can override any setting from the saved loop directly via shortcode attributes:

[instant_cards id="3" limit="8" orderby="price" order="ASC" columns="4,2,1"]

Or define an entire loop inline without saving an admin configuration first:

[instant_cards card="layout:default-archive" source="featured" limit="4" columns="4,2,1"]
Attribute Example Description
id id="3" ID of the saved loop from the admin table.
card card="layout:my-slug" Layout slug from which product card styling is inherited.
source source="on_sale" Query source (newest, featured, on_sale, best_selling, top_rated, category, tag, manual, related).
category category="sneakers, boots" Category or tag slugs/names (comma-separated).
ids ids="12,18,44" Explicit list of post IDs for manual curation.
limit limit="6" Total products to display (1 to 48).
orderby orderby="price" Sort metric (date, menu_order, price, title, popularity, rating, rand).
order order="ASC" Sort direction: ASC (ascending) or DESC (descending).
hide_out_of_stock hide_out_of_stock="yes" Omit unavailable products (yes / no).
respect_context respect_context="yes" Respect current page context (yes / no). No effect with source="related".
exclude_sale exclude_sale="yes" Exclude products on sale (yes / no). No effect with source="on_sale".
columns columns="4,2,1" Responsive column distribution: desktop, tablet, mobile.
heading heading="Featured for you" Optional <h2> heading rendered above the product grid.
empty_text empty_text="Nothing found" Custom message displayed when no products match.

Columns & responsive layout

Without an explicit columns attribute, the loop uses smart default breakpoints:

  • Desktop: renders items in a single balanced row up to 6 columns. From the 7th item onward, wraps into subsequent 6-column rows.
  • Tablet (up to 1024px): renders up to 2 columns per row.
  • Mobile (up to 600px): renders 1 full-width card per row.

Using columns="4,2,1" enforces 4 columns on desktop, 2 on tablet, and 1 on mobile. The CSS variable --ifcl-gap governs grid spacing (defaults to 1.5rem). The outer container carries class .ifcl-wrap, the grid carries .ifcl-grid, and individual items use the standard .ifc-card markup.

Layouts & StyleBuilder

InstantFilter decouples product card design completely from your WordPress theme. Rather than overriding rigid WooCommerce loop PHP templates, manage all your card presentations under InstantFilter → Layouts. Choose from ready-made designs via Card templates in the Template Library (included on all tiers), or build bespoke card layouts down to the pixel using the visual StyleBuilder (available on Pro and Agency). To display standalone product grids on marketing pages without sidebar filters, explore Card loops.

Template Library (all tiers)

Under InstantFilter → Layouts (or during the onboarding wizard), click the Card templates button to select from four production-ready presets:

  • Classic (Default) — The proven e-commerce layout: product image, category eyebrow, title, price, and direct add-to-cart button. Ideal for all-round stores.
  • Catalog (Compact) — A condensed presentation engineered for rapid scanning and dense inventories. Perfect for B2B stores, spare parts catalogs, and wholesale.
  • Showcase (Storefront) — An eye-catching design featuring prominent product imagery, high-contrast badges, and refined typography. Great for consumer brands.
  • Lifestyle (Hero Card) — An editorial, spacious card that puts visual storytelling first. Optimal for fashion, footwear, interior design, and lookbooks.
The Template Library showing the Classic and Showcase card presets side by side
Pick a preset, then fine-tune it further in the StyleBuilder.

Binding to the Universal Archive or custom listings

Once you activate a template, you control where it renders:

  • Universal Archive (v1.4.0) — Assign a template as your universal layout. All native WooCommerce archives (main shop, category pages, and product tags) use this template automatically.
  • Per custom listing — In custom listing settings (under InstantFilter → Listings), select a specific layout to deviate from your store default.
  • Via shortcode or Bricks — Override card layouts on a per-page basis with the card="my-layout-slug" attribute:
[instant_archive card="catalog"]
[instant_archive listing_id="42" card="lifestyle"]

StyleBuilder (Pro & Agency)

Need custom fields, unique layout structures, or strict brand alignment? With a Pro or Agency license, launch the visual StyleBuilder (click Edit on an existing layout or choose Add Layout).

1. Adding & structuring blocks

In the visual DOM tree, drag or click elements to build your structure:

The StyleBuilder structure tree with blocks like Image, Title, Price and Add to cart, and the properties panel on the right
Drag a block from the left column into the tree; the properties panel on the right appears once you select a block.
  • Product image — aspect ratio, object fit, and an optional second photo on hover. See Second image on hover.
  • Title & Eyebrow — dynamically bound to product titles, brand taxonomies, or primary categories.
  • Price display — regular prices, sale prices, and price ranges for variable items.
  • Rating — star ratings and review counts.
  • Badges — automatic badges for discounts, new arrivals, or stock alerts.
  • Attributes & Color swatches — display size selectors or interactive color swatches directly on the card. See Swatches.
  • Add to cart button — direct AJAX add-to-cart with loading state transitions. With the Swatches block on the card, the button stays off until every choice is made.

2. Visual Design tab

Style every visual property without touching CSS through intuitive accordion controls:

  • Spacing & size — padding, margins, width, height, and min/max dimensions.
  • Background & color — background fills, typography colors, and accent tints.
  • Border & shadow — per-side border styles, individual corner radius controls, and shadow presets.
  • Typography — font sizing, font weight, line height, and text alignments.
  • Layout & position — flexbox alignment, gap spacing, and absolute positioning (ideal for badges).
  • Interactive states — distinct visual treatments for hover, active, and checked states.
  • Custom CSS & classes — assign custom CSS classes or custom animation utility classes.

3. Responsive design cascade (Wide → Mobile)

Styling properties follow a predictable top-down cascade:

Wide (1920px+) acts as the master style. Settings defined here automatically cascade down to Desktop, Tablet, and Mobile. Entering values on smaller breakpoints creates targeted overrides, keeping your styling maintainable across devices.

4. Safe drafts & publishing workflow

All work in the StyleBuilder autosaves to an isolated draft (draft). Shoppers on your live store continue viewing the published design until you click Update / Publish. To discard recent adjustments, click Discard to revert to the live version immediately.

Update filters after binding new fields: When binding a new attribute or custom meta field that wasn’t previously part of your filter data, click Update Filters in the admin header after publishing so the export engine includes the data in the client-side codebook.

Swatches on the product card

The Swatches block (StyleBuilder → Content) shows a variable product's choices — colour, photo or label — on the card. The product page is unchanged. To hide swatches, remove the block from the card.

Each row represents one attribute; clicking a swatch selects the matching variation.
  • Automatic (default) — one row per attribute the variations differ on. Use Exclude to skip attributes.
  • Manual — search and pick the attributes and their order yourself. The field only lists attributes that products actually use as variations, globally or per product — you no longer type attribute keys.
  • Per card type — a normal parent card gets a row per open attribute. A card whose attribute is exploded (see Variations) shows only the remaining attributes. A card that is already one exact variation shows nothing.
  • Add to cart — stays off until every row is chosen, then adds that exact variation. If the combination does not exist or is out of stock, the button stays off. A card without this button opens the product page when a choice is clicked, with that choice already selected (?attribute_pa_kleur=rood, together with the choices already made). Ctrl or Cmd click opens a new tab. With the button on the card, the choice stays on the card so the shopper can add to the cart from the archive. Card link carries the choice (on by default) puts the same selection in the link of the card itself.
  • Price — a click on a choice shows that variation's price. While more than one combination still matches, the card keeps its from-price. Hovering a choice changes the price only when Price follows the hovered choice is on. It is off by default, so existing cards keep their price until the pointer actually clicks.
  • Currency symbol — a card that hides the currency symbol keeps it hidden when the price follows the chosen variation.
  • Looks — set colour and photo at Products → Attributes → (attribute) → terms: Swatch colour, Second colour and Swatch photo. Without your own values InstantFilter uses the theme's colour fields or the colour name, otherwise the name as text.
  • Styles (Design tab) — the row, each choice, hover, the selected choice and the “+N” label. Alignment left, centre or right is in the options.
The Swatches block option Price follows the hovered choice, switched off, in the layout builder

After you publish the layout, InstantFilter re-indexes card data in the background. A full shop re-index is not needed. Swatches appear once that task finishes.

Second image on hover

The Image block has Second image on hover on its Content tab. It is off by default. Turn it on and hovering the photo shows the next image from the product gallery. A product with only one photo stays as it is. The gallery photo is stored with the card data, so it shows up the next time that data is indexed.

The Image block option Second image on hover, switched off, in the layout builder

Role-based pricing (B2B)

If a B2B or role-based pricing plugin sets different prices per customer role, InstantFilter shows that price on the cards, including after filtering. A background task checks each customer role against what WooCommerce returns; when it differs, logged-in customers with that role see WooCommerce's price instead of the index default.

  • Guests and roles without custom pricing load nothing extra — no effect on load time.
  • Works automatically with any plugin that adjusts WooCommerce's own per-role price calculation.
  • Stores running InstantTrade skip this check; InstantTrade already handles role pricing itself.

Filter button & drawer

On narrow screens the filter sidebar gives way to a Filters button that opens the filters in a drawer. In the layout builder you decide from which width that happens and how the button and the drawer look.

The layout builder with the Mobile filter toggle block selected, showing Button and off-canvas from, button label, icon position and alignment, and the filter drawer open in the preview
  • Button and off-canvas from — the width from which the button and the drawer replace the sidebar: Every breakpoint, Desktop and smaller, Tablet and smaller or Mobile only. The same choice appears on the Filter sidebar block and on the Mobile filter toggle block. The pixel widths follow the viewport controls of this layout.
  • Button (Mobile filter toggle block) — the label, an optional custom SVG icon, the icon on either side of the label, and left, center or right alignment. Stretch to full width makes the button fill the row.
  • Drawer (Offcanvas overlay block) — opens from the left or the right edge. The block also sets the drawer width, the backdrop opacity and whether a click on the backdrop closes the drawer. Select it by clicking the dimmed backdrop while the filter panel is shown in the preview.
  • Preview — tick Toon filterpaneel in the preview bar to show the open drawer. In the builder the open drawer covers the button.

On the live shop the open drawer sits above the theme header and darkens the rest of the page behind it. The apply button at the bottom of the drawer fills the footer evenly, with the same space on both sides and a divider above it. Clear All stays in the drawer header.

Need StyleBuilder access? Explore plans on our pricing page.

Hooks & integrations

InstantFilter offers flexible extension points for inserting custom elements into the product grid or individual cards. The first two approaches are code-level hooks for developers, while the wishlist integration is an out-of-the-box block in the StyleBuilder.

Between cards

The instantfilter_between_cards action allows you to inject custom grid cells between product cards. You have full control over the injected content: promotional banners, editorial notices, shortcodes, calls-to-action, or ad units. This hook executes during server-side rendering once per product slot, immediately before the card at that index — including vacant slots on the final page.

do_action( 'instantfilter_between_cards', int $index, int $per_page );
  • $index — the zero-based product slot before which your cell is placed (e.g. 0 injects before the first product, 4 injects before the fifth).
  • $per_page — the configured product count per page. Injected cells do not increment this product quota.

A cell is only injected if your callback explicitly echoes markup. If nothing is output, no blank DOM container is generated. InstantFilter automatically wraps your content in <div class="if-grid-insert">. Output only inner markup, and avoid adding the ifc-card class (reserved exclusively for product cards).

During client-side filtering, sorting, and pagination, the insert remains pinned at its assigned slot without re-rendering. If an active filter produces fewer products than the insert position, InstantFilter hides the cell; it automatically reappears whenever a result set fills the grid up to that slot.

Injecting a single banner before the fifth product (index 4):

add_action( 'instantfilter_between_cards', function ( int $index, int $per_page ): void {
    if ( $index !== 4 ) {
        return;
    }
    echo '<a class="my-insert" href="/spring-sale">Spring Sale — Up to 40% Off</a>';
}, 10, 2 );

Injecting a recurring help banner every 9 products (before positions 9, 18, 27, etc.):

add_action( 'instantfilter_between_cards', function ( int $index, int $per_page ): void {
    if ( $index === 0 || $index % 9 !== 0 ) {
        return;
    }
    echo '<aside class="my-insert"><h3>Need assistance?</h3><p>Contact our specialists.</p></aside>';
}, 10, 2 );

Retrieving dynamic banner data from Advanced Custom Fields (ACF) option pages:

add_action( 'instantfilter_between_cards', function ( int $index, int $per_page ): void {
    if ( $index !== 4 ) {
        return;
    }
    $image = get_field( 'grid_banner_image', 'option' );
    $url   = get_field( 'grid_banner_link', 'option' );
    if ( ! $image || ! $url ) {
        return;
    }
    printf(
        '<a class="my-insert" href="%s"><img src="%s" alt="Promotion"></a>',
        esc_url( $url ),
        esc_url( $image['url'] )
    );
}, 10, 2 );

Balancing grid rows. Because per_page counts products only, a 24-product query plus one injected cell yields 25 total cards. To maintain clean 4-column rows, set per_page="23" so the insert rounds out a neat 24-slot grid. Alternatively, make the insert span the full row width across all breakpoints by applying grid-column: 1 / -1; to .if-grid-insert.

Sidebar hooks

The filter sidebar exposes three dedicated actions for custom content and promotional messaging:

  • instantfilter_sidebar_before_facets — executes directly below the sidebar header, before the first filter.
  • instantfilter_between_facets — executes between individual filter blocks.
  • instantfilter_sidebar_before_apply — executes immediately above the “Show products” button in the mobile off-canvas drawer.

Callbacks that output no markup leave no empty DOM wrappers. For example, add a trust badge above your filter facets:

add_action( 'instantfilter_sidebar_before_facets', function (): void {
    echo '<div class="my-sidebar-badge">Free shipping & 30-day returns</div>';
} );

Or place an interactive support link above the mobile drawer confirmation button:

add_action( 'instantfilter_sidebar_before_apply', function (): void {
    echo '<p class="my-drawer-help">Need help choosing? <a href="/contact">Chat with us</a></p>';
} );

Custom slot

A Custom Slot is a drag-and-drop block within the StyleBuilder. Place it anywhere on your card layout where dynamic third-party markup or shortcodes should render. InstantFilter invokes the instantfilter_card_slot_html filter and renders the returned HTML into that card position.

Always re-index after configuring a custom slot. Slot HTML is captured during catalog indexing and compiled into the export payloads. Without a fresh index, slot markup is absent from the client-side dataset and will disappear once shoppers filter or paginate. After adding or modifying custom slot filters, always click Update Filters in the admin toolbar.

The filter callback receives the slot identifier. The default name is custom_slot_1. If you specify a distinct name in the builder, match it in your callback to render different content across multiple slots on a single card:

add_filter( 'instantfilter_card_slot_html', function ( $html, $slot_name, $product, $node ) {
    if ( 'custom_slot_1' !== $slot_name ) {
        return $html;
    }

    return do_shortcode( '[your_custom_badge_shortcode]' );
}, 10, 4 );

During hook execution, global $product is set to the current WooCommerce product instance. Any shortcodes or functions querying the global product context resolve correctly.

  • $product['id'] references the specific variation ID if the card represents an exploded variation. Wishlist plugins storing this ID will target the exact variation rather than the parent.
  • $product['product_id'] and $product['parent_id'] always point back to the main parent product.

On initial page load, PHP renders the slot via SSR. During subsequent client-side filtering, the pre-compiled HTML is extracted from the export payload and hydrated instantly alongside titles and prices.

Third-party wishlist plugins. If your preferred wishlist plugin is not among the four natively supported integrations below, use a custom slot to render its shortcode or button markup.

Wishlist integration

The StyleBuilder includes a dedicated Wishlist block. In the pre-built library layouts (Classic, Catalog, Showcase, and Lifestyle), the heart icon is positioned in the upper right corner on a clean badge.

InstantFilter automatically detects and connects to installed wishlist plugins in this priority order:

  1. YITH WooCommerce Wishlist
  2. TI WooCommerce Wishlist
  3. WPC Smart Wishlist
  4. WCBoost Wishlist

Within the block settings, you can retain automatic detection or explicitly bind to one of the four supported plugins. If none of these plugins are active, no button is rendered.

Products already saved to a shopper’s wishlist display an active filled heart on initial page load. This state is preserved seamlessly throughout client-side filtering, sorting, and pagination.

For variable products:

  • Cards representing a fully exploded variation save that specific variation ID.
  • Cards representing partial variations (such as color only, where size remains unselected) save the parent product ID, as third-party wishlist plugins do not support incomplete attribute combinations.

ItemList SEO schema

The initial server-rendered HTML (SSR) of shop and category pages automatically embeds a structured JSON-LD ItemList schema for search engine indexers. This schema provides Google and Bing with precise product positions and canonical URLs.

You can fine-tune or disable this schema using two WordPress filters:

// Completely disable the archive ItemList schema:
add_filter( 'instantfilter_archive_itemlist_enabled', '__return_false' );

// Programmatically modify the ItemList schema payload:
add_filter( 'instantfilter_archive_schema', function ( array $schema ): array {
    $schema['name'] = 'Featured Collection';
    return $schema;
} );

Custom order per archive

The instantfilter_archive_order filter gives one category, tag, or attribute archive its own default order, independent of the shop-wide sorting.

apply_filters( 'instantfilter_archive_order', null, string $taxonomy, int $term_id, int[] $product_ids );

Return an array of product IDs in the order you want. Products you don't list follow afterwards, in normal shop order. Returning null (the default) changes nothing.

add_filter( 'instantfilter_archive_order', function ( $order, string $taxonomy, int $term_id, array $product_ids ) {
    if ( 'product_cat' !== $taxonomy || 123 !== $term_id ) {
        return $order;
    }
    return array( 456, 789 ); // these two products first on this category page
}, 10, 4 );

The order is stored in that one archive's export, so the server-rendered first page and in-browser sorting agree. A changed order only shows up once that archive is exported again (automatically with Auto Build Exports, or via Build Export in debug mode).

Fixed card DOM skeleton (Architecture)

InstantFilter maintains strict separation between DOM structure and dynamic data:

  • PHP generates the skeleton once: Grid markup (#if-products) and every product card (.ifc-card) are written during server-side rendering. All target nodes (images, titles, badges, pricing, custom slots) exist in the initial DOM tree.
  • JavaScript mutates data in place: During client-side filtering, the grid is never demolished or rebuilt via innerHTML. The lightweight JS engine simply binds to existing DOM nodes and updates text, image sources, hyperlinks, and status classes.
  • Zero Cumulative Layout Shift (CLS): Card elements without active data receive the is-if-empty class (display: none), and vacant slots on shorter pages are marked is-if-vacant. The browsing experience remains instantaneous, stable, and completely flicker-free.

Settings

InstantFilter → Settings — global configurations for indexing, export generation, sidebar behavior, and display defaults. Changes configured here apply across all listings unless overridden per shortcode.

Index & export

Setting Description
Auto Build Exports When enabled (default), export files rebuild automatically once indexing completes, ensuring filters function immediately.
Filtering Mode Keep set to Client-side (Export) — ultra-fast client-side filtering via compiled JSON exports and an in-memory inverted index.
Export per archive Opt-in: compiles compact, dedicated export files for category, tag, and attribute archives. Archive pages download only their relevant subset instead of the full store catalog (archives exceeding 10,000 products retain universal exports).
Enable popularity sorting Opt-in: adds a Most popular sorting option based on WooCommerce total_sales data. Off by default. Rebuild the export after enabling. See Popularity sorting.

Performance (batch sizes)

  • Items Batch Size — number of products processed per batch during “Reload Products” (default: 200).
  • Filters batch size — number of products processed per batch during “Update Filters” (default: 50, usually smaller than items).
  • Filter repeater batch size — catalog scan chunk size when generating repeater filters (default: 50).

Lower batch thresholds if your hosting server encounters execution timeouts; increase them on dedicated hosting for faster complete re-indexes.

Sidebar behavior

  • Max expanded filters — number of facets displayed fully open on initial render; additional filters collapse accordion-style (applies across all filter types: checkboxes, radio buttons, color swatches, range sliders, dropdowns, ratings, and toggles; 0 = all collapsed).
  • Max Values Per Filter — number of facet options rendered server-side before the “More…” expansion toggle appears (default: 20; 0 = render all options). For hierarchical taxonomies, only top-level terms count toward this limit to keep sub-groups intact.
  • Max sidebar filters — caps the total number of filters rendered in the sidebar (including repeater filters; default: 25; 0 = unlimited). Prevents excessive DOM nodes and sluggish SSR on shops with large attribute sets.

Shop and archive pages

Some themes (Flatsome is the best-known example) only run a shortcode on the first shop page and draw category and tag pages themselves. A separate page does not help: the context (shop, category, tag, brand) comes from the main query.

The Shop and archive pages setting with the Product list only option and the shortcode field

Under InstantFilter → Settings → Shop & Archive Pages, or in the Customizer under InstantFilter, you choose who draws the product list. Both write the same setting. By default the theme keeps drawing the list.

  • Off / Theme — the theme keeps the product list. Place a shortcode or Bricks element yourself if you want InstantFilter.
  • Product list only (recommended; in the Customizer: InstantFilter) — InstantFilter replaces sorting, the result count, the products and pagination. The theme keeps its title, breadcrumbs, category text and other content. InstantFilter's filters sit next to the list; the theme's shop sidebar is hidden. On Flatsome that also removes the empty column with a widget notice.
  • Whole page — InstantFilter replaces everything between header and footer. Set this on the InstantFilter settings screen only.

This applies to the shop page, product search results and every product category, tag and brand page, including page 2. Block themes stay with the theme (the shortcode belongs in the Product Catalog template). If nothing is indexed yet, the theme's own page is shown. A shortcode you placed on the page yourself wins and does not create a second list.

Because you do not place a shortcode, set attributes in the Shortcode field (visible once you choose InstantFilter), for example [instant_archive per_page="12" show_filter_bar="false"]. Empty means [instant_archive]. Attributes such as category or tag then apply on every page. Pick the layout in the Customizer or via Apply to… → Universal archive on the Layouts screen.

To keep the theme sidebar and place the filters there yourself (for example a text widget with [instant_filters]), turn off Replace the theme's sidebar with InstantFilter's filters.

Pagination as a query parameter

Page links normally use a path, such as /page/2/. A translation proxy that translates the path and leaves the query string alone can then 404 on page 2. Pagination as a query parameter puts the page number in ?paged=2 instead, and stops WordPress from rewriting that parameter back into the path.

The Pagination as a query parameter setting, which puts the page number in ?paged= instead of /page/2/

You find it under InstantFilter → Settings, next to the shop and archive pages. It is off by default. Turn it on for a shop behind a proxy such as Clonable.

Card display labels

  • Variable Product Price Display — configure From $… versus a full price range ($10 – $30) for parent products.
  • Sale Price Display — show original strikethrough price + sale price, or sale price only.
  • Hidden Price Placeholder — fallback text when a product conceals pricing in WooCommerce.
  • Stock status labels — customize public labels for In stock, Out of stock, and On backorder.

Debug tools

Debug mode and Debug log (when present) activate verbose logging and expose the manual “Build Export” button in the admin header. Keep disabled in production environments unless troubleshooting an active issue.

The Exports admin tab is only visible when WordPress WP_DEBUG is active — intended for developer diagnostics rather than routine store configuration.

Sorting

InstantFilter sorts products in the catalog via a dedicated storefront sort dropdown. Shoppers can switch between options including newest, price, sale discount, and — when enabled — Most popular.

Sort by popularity

Most popular orders products by WooCommerce sales volume (total_sales on the parent product). It reflects verified purchases rather than page views or review scores. Product variations inherit the sales tally of their parent product.

Opt-in feature. Popularity sorting is disabled by default. Until enabled, the option does not appear in the dropdown and sales metrics are omitted from export payloads to conserve memory.

Enabling popularity sorting

  1. Navigate to InstantFilter → Settings → the Index & export section.
  2. Check Enable popularity sorting and save changes.
  3. Rebuild export files (handled automatically upon indexing if Auto Build Exports is active, otherwise triggered via the admin export action).

Once enabled, Most popular becomes the global default sort across archives and custom listings, unless overridden by a listing setting, shortcode attribute, or URL query parameter (see hierarchy below).

On large catalogs exceeding 15,000 published products, the settings panel displays a notice regarding memory overhead in the export snapshot. The feature remains fully operational and is not blocked.

Default sort per listing

Under the Listings tab, you can assign an explicit default order per listing using the Sort products setting. The Most popular option is only available when the global feature is toggled on.

Supported sort keys across admin and storefront:

  • date — newest items first
  • price — lowest price first
  • price-desc — highest price first
  • sale — steepest discounts first
  • popularity — highest sales volume first (only when enabled)

Sort precedence (which sort takes priority?)

From highest priority to fallback default:

  1. URL parameter — ?orderby=popularity (also accepts price, price-desc, sale, date, title; legacy WooCommerce syntax: ?orderby=price&order=desc)
  2. Shortcode attribute — orderby="..." or sort="..." on [instant_archive] or [instant_cards]
  3. Listing default — default_sort configured on the listing in admin
  4. Global default — popularity when enabled, otherwise date

Shoppers can change the active sorting using the storefront dropdown at any time. Their selection is automatically mirrored in the browser URL.

Sorting via shortcode & URL

You can set the initial sort order directly on the shortcode using the orderby attribute (or alias sort):

[instant_archive orderby="price"]
[instant_archive listing_id="42" orderby="popularity"]

Listing with a dedicated default sort

In the admin listing modal, set Sort products to Most popular and place:

[instant_archive listing_id="42"]

Every visitor to that page starts sorted by popularity, unless they interact with the dropdown or visit via a parameterized URL.

Landing pages with fixed sort URLs

Link directly to curated campaign pages with an explicit sort order via query strings:

https://yourshop.com/best-sellers/?orderby=popularity
https://yourshop.com/sale/?orderby=sale
https://yourshop.com/shop/?orderby=price-desc

Works seamlessly on any page embedding [instant_archive] (or the Universal Archive) — no dedicated custom listing required.

Sort order of filter values (WooCommerce drag & drop)

Beyond sorting products, you can customize the ordering of facet options within the sidebar. For attribute-based filters, select “WordPress order (drag-and-drop)” under Filters → Sort order in the filter edit modal. InstantFilter will respect the custom term ordering configured directly within WooCommerce (Products → Attributes → Configure terms). This guarantees that sizes (e.g. XS, S, M, L, XL) or custom swatches display in logical progression rather than strictly alphabetical order.

Combining listings and URLs

[instant_archive listing_id="42" per_page="36"]

On /brand/nike/?orderby=date, the URL parameter overrides the listing default. This is ideal for promotional campaigns that need to present fresh arrivals while the standard store listing defaults to bestsellers.

When do sales rankings update?

Sales metrics are not recomputed live on each pageview. They are captured when compiling the export payload. Following peak sales events or promotions, simply rebuild the export to refresh storefront rankings. Full re-indexing is unnecessary for sales updates — a standard export rebuild suffices.

Products with zero recorded sales are assigned a value of 0 and appear at the end of results. In the event of tied sales figures, the newer product takes precedence.

On a search results page a chosen sort wins over InstantFilter's own relevance. On sale first, price and title apply to the results. Relevance is used only when no sort is chosen. The first page from the server and the order after a sort change in the browser match.

A search page that FiboSearch opened (its dgwt_wcas marker in the URL) shows exactly the products FiboSearch found, in FiboSearch's order. That order stays after a filter click and after sorting back to the shop default. FiboSearch Pro uses Pro's own ranking, the same products and order as its dropdown. The free FiboSearch plugin still uses the WordPress search. Typing a different term in InstantFilter's own search box uses InstantFilter's search.

Another search plugin can supply its own ordered product ids through instantfilter_search_product_ids, and can name its own URL marker through instantfilter_external_search_params. The search file is kept per language and expires after an hour; instantfilter_external_search_ttl changes that. No reindex is needed.

Troubleshooting

  • No change after enabling — Did you rebuild the export? Without an export rebuild, sales metrics remain absent and products default to zero sales.
  • Unexpected rankings / all items appear equally popular — Verify total_sales values in WooCommerce (corrupted negative numbers like -1 can disrupt ordering calculations).
  • Most popular missing from dropdown — The global setting is disabled, or exports have not been rebuilt since activating the feature.
  • Shortcode sorting behaves unexpectedly — Review URL query parameters (?orderby=), listing defaults, and global defaults in that priority order.

See also Settings, Listings, and Shortcodes.

Shortcodes

InstantFilter provides five versatile shortcodes. All require an active license and a completed index.

instant_archive

The complete storefront experience: interactive filters, reactive product grid, toolbar, and pagination. This is the most common integration point.

[instant_archive]
[instant_archive listing_id="42"]
[instant_archive card="my-layout" per_page="24" show_filter_bar="false"]

Context-sensitive on native WooCommerce archives. Without an explicit listing_id, this shortcode renders the Universal Archive. On native WooCommerce archives (shop, product categories, tags), it automatically scopes products and facet options to the current page — the exact same shortcode yields different products on /shop/, /product-category/sneakers/, and /product-tag/sale/.

On custom WordPress pages (landing pages, builder layouts, blog posts), native archive globals do not exist. In these cases, the Universal Archive defaults to your full catalog. To target a specific product subset on a custom page, create a custom listing on the Listings tab and provide its ID:

[instant_archive listing_id="42"]
AttributeDefaultDescription
listing / listing_id / id0 (universal)Custom listing ID configured on the Listings tab.
per_page24Number of products rendered per page.
show_sidebartrueToggle visibility of the filter sidebar.
show_filter_bartrueToggle the toolbar above the grid (disabling moves active filter chips into the sidebar automatically).
cardautoCard layout slug from your layouts or StyleBuilder (Pro+).
category / tag—Optional explicit query restriction by taxonomy slug.
orderby / sort—Default sort order (e.g. price, price-desc, date, sale, popularity). A URL parameter (?orderby=) always takes precedence.
debugfalseOutput admin diagnostic comments in HTML.

instant_cards

Renders a standalone product loop (featured, sales, bestsellers, related items) based on your card designs, without a filter sidebar and without client-side JavaScript overhead. Renders as pure server-side HTML. See Card loops for full documentation.

[instant_cards id="3"]
[instant_cards id="3" limit="8" orderby="price" order="ASC" columns="4,2,1"]
[instant_cards card="layout:default-archive" source="featured" limit="4"]
AttributeExampleDescription
idid="3"ID of a saved card loop from the admin table.
cardcard="layout:my-layout"Layout slug from which card styling is inherited.
sourcesource="featured"Query source: newest, featured, on_sale, best_selling, top_rated, category, tag, manual.
categorycategory="sneakers"Category or tag slugs/names (comma-separated).
idsids="14,19,42"Explicit comma-separated post IDs for manual curation.
limitlimit="8"Total items to render (1 to 48).
orderbyorderby="price"Sort field (date, menu_order, price, title, popularity, rating, rand).
orderorder="ASC"Sort direction (ASC or DESC).
hide_out_of_stockhide_out_of_stock="yes"Omit out-of-stock products (yes / no).
respect_contextrespect_context="yes"Context-sensitive: adapts on category or single product pages (yes / no).
columnscolumns="4,2,1"Responsive column distribution: desktop, tablet, mobile.
headingheading="Trending now"Optional <h2> heading rendered above the product grid.
empty_textempty_text="No items found"Custom text shown when no products match.

instant_filter

Renders a single standalone filter widget outside the default sidebar structure.

[instant_filter prop="pa_color"]

Use the filter key (prop) from the Filter Definitions table on the Filters tab (also copyable via row actions in admin).

instant_filters

Renders the complete filter sidebar only — ideal for custom split layouts.

[instant_filters]
[instant_filters group="my-group"]

instant_all

Renders all available filters adapted to current context.

[instant_all]
[instant_all style="interface"]

style: sidebar (default) or interface.

Bricks Builder Integration

InstantFilter provides a comprehensive native Bricks Builder integration. When the Bricks theme is active, InstantFilter detects it automatically and registers four custom elements under the InstantFilter category in the Bricks elements panel.

You never need to copy-paste shortcodes or insert raw HTML blocks: drag elements straight onto your canvas or archive templates with full live preview inside the Bricks builder.

The 4 Bricks Elements

Element Panel Name Description & Use Case
instantfilter-listing IF — Sidebar + Grid The full archive experience. Renders the filter sidebar, mobile filter button & offcanvas drawer, toolbar (result count + sorting dropdown), and reactive product grid with pagination.
Best for: standard shop pages and WooCommerce archive templates.
instantfilter-grid IF — Grid Product grid and pagination only (without filter sidebar).
Best for: custom layouts where filters live in a horizontal bar above products, inside a custom offcanvas drawer, or within a modal dialog.
instantfilter-filters IF — Filter sidebar Filter sidebar only. Renders all active facets or filter buttons for the current context.
Best for: fixed sidebar columns, sticky filter panels, or complex multi-column layouts paired with the IF Grid element.
instantfilter-filter IF — Single filter A single filter widget. Renders an individual filter (e.g., color swatches, a brand dropdown, or a price slider).
Best for: curated landing pages, hero sections with quick-filters, or specialized promotion pages.

Controls in Bricks

When selecting an InstantFilter element in Bricks, configure content options directly in the left settings panel:

  • Listing — Select which product collection to render. Choose Universal for automatic WooCommerce context, or select a custom listing defined in InstantFilter → Listings.
  • Products per page (per_page) — Define how many products display per page (default: 24).
  • Show filter bar (show_filter_bar) — Toggle the toolbar above the grid (disabling moves active filter chips into the sidebar automatically).
  • Card design — Leave set to Auto to inherit your universal template or listing default, or explicitly choose a template from the Template Library or StyleBuilder.
  • Filter group (IF Filter sidebar) — Optional: enter a group slug to render only filters belonging to that group.
  • Filter (IF Single filter) — Pick from a searchable dropdown of all configured filters (e.g., pa_color, pa_size, or price).

Using Bricks WooCommerce Archive Templates

Building your shop or category archives using Bricks Templates (type Product Archive)?

  1. Open your Product Archive template in Bricks Builder.
  2. Add a container and insert the IF — Sidebar + Grid element (or place separate IF — Filter sidebar and IF — Grid elements).
  3. Keep the Listing set to Universal. InstantFilter detects whether the visitor is viewing /shop/, a specific product category, or a product tag, and automatically scopes products, filter counts, and facets accordingly.
  4. Configure template conditions in Bricks (e.g., Entire website WooCommerce product archives).

Live Canvas Preview: InstantFilter hooks into Bricks’ live REST element rendering. Inside the Bricks editor, you see an accurate visual representation of your products and filters, allowing you to fine-tune spacing and container dimensions without constantly switching tabs.

Styling: Bricks vs. InstantFilter

To ensure filtering speeds consistently remain under 5 milliseconds, styling responsibilities are clearly divided:

  • Bricks Style tab: Use standard Bricks controls (Margin, Padding, Background, Container widths) to embed the outer archive container into your overall page layout.
  • InstantFilter Layouts & StyleBuilder: Product card layouts, facet typography, swatches, badges, and mobile drawer styles are managed centrally in InstantFilter. These compile into ultra-fast, pre-hydrated client-side templates.

Troubleshooting

No products in the grid

  • Run Reload Products — status pill should not display “No products loaded”.
  • Confirm WooCommerce products are published and fall within your active license product limit.
  • For custom listings, verify the query returns valid IDs (check the Items column on the Listings tab).

Filters empty or counts show zero

  • Run Update Filters after creating or enabling filters.
  • Ensure the filter Reference matches real catalog data (e.g. attribute terms are assigned to published products).
  • Filter repeater: wait for the catalog scan to finish; ensure relevant attributes are not in the excluded attributes list.

Filters work in admin preview but not on the site

  • Confirm Auto Build Exports is enabled, or rebuild export files manually in debug mode.
  • Purge page caches (WP Rocket, LiteSpeed, Redis, Cloudflare, etc.) after re-indexing.
  • Verify the shortcode is added to the public page — not just tested in the admin listing preview.

Filter clicks reload the page or feel sluggish

  • Open DevTools → Network: after initial page load, filter clicks must not trigger server-side admin-ajax requests. All filtering runs client-side.
  • If exports fail to load, inspect the browser console for 404 or decompression errors on export assets.
  • Ensure caching plugins do not aggressively block or rewrite JSON / gzip files located in /wp-content/uploads/instantfilter/.

Variation cards wrong or missing

  • Re-run Reload Products after changing variation explosion rules.
  • explode_unique intentionally omits variations without a dedicated image — this is expected behavior.
  • Check both the Variations tab and individual filter Advanced Settings for conflicting explosion rules.

License / limit errors

  • Re-activate your license key on the License tab; deactivate it first before migrating to a new domain.
  • “Limit Reached” warnings indicate product, listing, or domain quotas — upgrade via pricing.

Still stuck?

See our FAQ for trial details, billing, and refund terms. For implementation assistance, email tom@instantstack.co with your listing ID, shortcode URL, and a screenshot of your admin status pill.

For custom development, see the Hooks & integrations section for banner injection, sidebar hooks, custom card slots, and wishlist integration.

Ready to make filtering instant?

Download the free 14-day trial of Pro. No credit card required — test immediately.