Displaying Accurate Price Ranges for Variable Products in WooCommerce + Algolia

If your WooCommerce store is showing incorrect or incomplete pricing for variable products—especially when integrated with Algolia search—you’re not alone. Many stores face issues where category pages display only the minimum price, leaving customers confused about the true cost range. Here’s how to fix it.

What's the Issue?

Variable products are supposed to display a price range (e.g., $9.99 – $49.99) on category pages. But sometimes, especially with Algolia-powered search, only the lowest price appears. This happens when the min_price and max_price values aren’t being synced properly between WooCommerce and Algolia.

Other symptoms might include:

  • Missing or incorrect sale prices
  • Price formatting errors (like $108.5 instead of $108.50)
  • Products showing $0.00 due to stale or invalid data

How to Fix It

1. Update Your Algolia Index

Make sure min_price and max_price fields are being pushed to Algolia during product indexing. If they’re missing, category pages won’t be able to display the range.

Use bulk update methods like wp_update_post() or admin batch edits to trigger a full sync.

2. Fix the Price Template Logic

Edit your WooCommerce theme or builder templates so that:

  • The full price range displays when min and max values differ
  • Sale prices are shown clearly with correct formatting
  • Single-price products don’t show ranges unnecessarily
  • Decimal formatting stays consistent at two places

3. Improve Sale Price Sync

WooCommerce sometimes fails to notify Algolia when scheduled sales go live. Include sale_start_date and sale_end_date in the product index and modify your frontend logic to account for these dates instead of relying on default sale status.

4. Handle the Edge Cases

Look out for older product entries or database irregularities. Add logic to handl

  • Missing price values
  • Outdated variations
  • Incorrect formatting caused by import or plugin issues

Clear all cache layers once the fixes are implemented to ensure changes appear live.

What You'll Achieve


After fixing the indexing and display logic:

  • Your category pages will accurately reflect price ranges and sales
  • Customers won’t get confused by misleading pricing
  • Algolia and WooCommerce will stay properly synced—automatically


Need help cleaning up your price logic or syncing search with WooCommerce?

Let Integriti Studio troubleshoot and optimize it for you.

Let’s fix it

Other Resources Post

Clean WordPress dashboard by CPTs

Streamline your WordPress dashboard by removing unused custom post types and fields—improve performance, reduce confusion, and make content management faster and more efficient.

Fixing ACF Popup & Layout Issues

Struggling with broken popups or messy layouts on ACF-powered pages? We fix layout bugs and script conflicts fast—so your WordPress site looks sharp and works flawlessly across all devices.

Migrate WordPress—retain SEO.

Migrating your WordPress site doesn’t have to risk SEO—done right, it preserves rankings, traffic, and user experience while boosting performance, security, and reliability through
smart tools, and best practices.

View All Resources Post

Powered by Creativity,
Fueled by Caffeine.

Get Started