
Super Speedy Ajax Prices
Super Speedy Ajax Prices lets you cache your WooCommerce product and shop pages fully — while still showing accurate, personalised prices to every visitor. It replaces price output with lightweight placeholders on the cached page, then batch-fetches correct real-time prices via a single AJAX request after load. Full page caching. Accurate prices. No compromise.
Full page caching is one of the most effective ways to speed up a WooCommerce store — but WooCommerce prices are dynamic. Role-based pricing, geo-located tax rates, sale prices, and tiered discounts all mean the price shown to one visitor may be wrong for another. Cache the page, and you risk serving the wrong price.
Super Speedy Ajax Prices solves that. It replaces WooCommerce price output with lightweight placeholders at the point the cached page is served, then fires a single batch AJAX request after page load to fetch the correct real-time price for every product on the page. Your cache stays intact. Every visitor sees the right price.
How It Works
When a page is served from cache, the plugin’s woocommerce_get_price_html filter wraps each product price in a placeholder element. A lightweight JavaScript file collects all the placeholder product IDs on the page and sends them in a single AJAX request to WordPress. The AJAX handler calls WooCommerce’s standard price logic — including geolocation, tax calculation, sale prices, and any custom pricing rules — and returns the correct HTML for each product. The placeholders are swapped out seamlessly.
The result: your shop, category, and product archive pages are fully cacheable, your server load drops dramatically, and every visitor — whether they’re in Germany paying VAT, or the US paying nothing, or a wholesale customer on a role-based price — sees the correct price.
Key Features
- Full page caching compatibility — Cache your WooCommerce shop, category, and product archive pages without serving wrong prices. Prices load via AJAX after the cached page is delivered.
- Single batch AJAX request — All product IDs on the page are collected and fetched in one request, not one request per product. Minimal overhead, maximum efficiency.
- WooCommerce geolocation support — Leverages WooCommerce’s built-in geolocation so customers in different countries see prices with the correct local tax applied.
- VAT-exempt location fix — Optional setting to correct prices for customers in locations with no applicable tax rates. When your store enters prices inclusive of tax, visitors from non-taxed countries (e.g. US, UK for EU stores) will see the correct ex-VAT price rather than the base-country inclusive price.
- Simple and variable product support — Works with both simple and variable products, including variation price ranges.
- Compatible with sale prices and dynamic pricing rules — The AJAX handler calls WooCommerce’s standard price functions, so sale prices, role-based pricing, and third-party discount rules all apply correctly.
- Disable for logged-in users — Optionally turn off AJAX pricing for logged-in users, since most caching plugins already bypass the cache for them.
- Disable when cart has items — Optionally turn off AJAX pricing once a visitor has added items to their cart, since most caching plugins already bypass the cache at that point.
- Configurable loading text — Set the placeholder text shown while prices are loading (default: “Loading…”).
The Caching Problem It Solves
WooCommerce recommends excluding shop and product pages from full page caching because prices are user-specific. But excluding those pages from cache means every product page request hits PHP and the database — exactly the pages that get the most traffic on a WooCommerce store.
Super Speedy Ajax Prices removes that constraint. Cache everything. Serve pages instantly from static HTML. Then inject the correct personalised prices via a single fast AJAX call. You get the performance benefits of full page caching without the accuracy trade-off.
Recommended Caching Configuration
- Enable full page caching on shop and product archive pages
- Exclude cart, checkout, and account pages from caching (as normal)
- Do not exclude product or shop pages — this plugin makes them safe to cache
- Do not cache AJAX requests — ensure your caching plugin leaves
admin-ajax.phpuncached
Works With
- WP Rocket, LiteSpeed Cache, W3 Total Cache, WP Super Cache, NitroPack, and all major WordPress caching plugins
- WooCommerce role-based pricing plugins
- WooCommerce geolocation and country-based tax rules
- WooCommerce sale prices and dynamic discount rules
- Simple and variable products
Requirements
- WordPress 5.0+
- WooCommerce (active)
- PHP 7.0+

There are no reviews yet.