Could Your Store's Cache Be Showing Customers Outdated Information?

PrestaShop serves pages through multiple caching layers, from internal caches and Smarty templates to Redis, Varnish, CDNs, and visitor browsers; clicking a single "Clear cache" button in the back office often leaves an outdated copy lingering somewhere along the chain.

Diagnosing stale prices and stock requires walking outward through those layers in the exact order a request travels. By isolating each cache step-by-step and ruling out hidden pricing rules or multi-store conflicts, you pinpoint the exact bottleneck and keep your live storefront accurate.

How Does Stale Cache Actually Reach Your Customer?

An old price on a live product page is one of the most expensive small bugs a PrestaShop store can have: a customer sees £19.99, adds it to basket, and the cart charges £24.99 at checkout.

PrestaShop caches product pages, prices and stock at several layers: the internal cache, Smarty templates, server-side caches (Redis, Memcached or Varnish) and CDN or browser caches. Updating a product does not always purge all of them, so outdated prices or stock can persist until each layer is cleared.

A scenario that plays out regularly: you drop a jacket from £89 to £59 in the back office. The product page on your laptop shows £59, so you move on. A customer on their phone in another city still sees £89 for another hour.

Each layer holds its own copy of the page, and each has its own reason to keep serving it:

  • PrestaShop's Internal Cache stores compiled data and query results so the catalogue loads quickly. It sits closest to the database.
  • Smarty Templates compile your theme files into cached versions. A template change, or a price pulled into a template block, can survive until the compiled files are regenerated.
  • Server-side Caches such as Redis, Memcached or Varnish keep whole rendered pages and objects outside PrestaShop. Modules or hosts often switch these on without much fanfare.
  • CDN & Browser Caches hold copies at the edge and on the customer's device. A returning visitor's browser can serve a page it fetched yesterday.

The layering is deliberate: each cache exists to cut database load and page load times, and turning them all off would make a busy catalogue crawl. The fix is almost never "clear the cache"; it is finding which of the layers is still holding the old value.

That is why a single "Clear cache" click in the PrestaShop dashboard often changes nothing visible. If Varnish or a CDN is sitting in front of your server, you have just emptied a bucket that gets refilled from a stale tap behind it.

The rest of this guide treats it as a diagnostic ladder: start inside PrestaShop, work outward through Smarty, server caches and the CDN, and finish at the browser, testing each layer separately so you know which one was hiding the outdated price or stock status.

Symptoms Of A Stale PrestaShop Cache

Before you start clearing things, confirm you are dealing with a caching problem rather than a broken product record or a module conflict. These are the telltale signs.

  • You save a new price in the back office, and it shows there correctly, but the front office still displays the old figure.
  • Customers complain about being charged a different price to the one they saw on the product page.
  • A product you just set to out of stock still shows as available, so people keep adding it to the cart.
  • Some customers see the new price and others see the old one, depending on device, location or internet connection.
  • The price updates correctly in one browser but not in another, especially on mobile.
  • Changes appear correctly in preview mode but not on the live storefront.
  • Prices update after a few hours, suggesting a time-based expiry rather than a broken save.
  • A discount or specific price you applied does not appear on the product listing, only on the cart page.
  • Clearing your browser cache fixes it temporarily; then the old price returns.

What Causes This Problem?

The table below maps each common cause to what it actually does and how hard it is to fix. Work down the list, starting with the easiest.

Cause Description Difficulty
PrestaShop's Own Cache The built-in cache stores rendered pages and data so the store loads faster. After a price edit, it can still serve the old copy until cleared. Easy
Smarty Template Compilation PrestaShop uses the Smarty templating engine. If compilation is set to "never recompile", template changes never reach the front end. Easy
Server-level Caching Reverse proxies and object caches sitting in front of PHP serve a saved HTML copy of the page. Medium
CDN Caching A content delivery network like Cloudflare stores pages at the edge and keeps serving them to visitors after you update. Medium
Browser Cache The visitor's own browser holds an old version of the page, especially when cache headers are too generous. Easy
Specific Price & catalog rules A catalog price rule or specific price is being applied where you did not expect it, so the visible price differs from the base price. Medium
Multi-store Configuration In a multi-store setup, the price edit was saved to one shop context and not synced to others. Medium
Module or Theme Override A module or theme template override is pulling the price from an outdated source or a separate cached field. Advanced

Quick Fixes To Try First

These steps resolve most stale-price cases. Go through them in order before doing anything more invasive.

  1. Open the product page in a private or incognito window. If the new price appears, the problem is browser cache, not your server.
  2. Clear PrestaShop's own cache from the back office: go to Advanced Parameters, then Performance and click Clear cache.
  3. Check the Smarty settings in the same Performance tab. In production, template compilation should force recompilation when files change, and caching should be enabled.
  4. Purge your server or CDN cache. If you use Cloudflare, use the purge option in its dashboard; if you use a hosting panel cache, clear it there.
  5. Re-check the product page in the incognito window again. If the price is now correct there but wrong in your normal browser, hard-refresh that browser.
  6. Verify the product's base price, specific prices and catalog rules in Catalog then Products so you know the correct figure you are looking for.
  7. If the store has multiple shops, confirm the price was saved to every relevant shop context.
  8. As a last resort, temporarily disable "Never recompile" and reload the front office once before switching it back.

Troubleshooting 1: PrestaShop's Own Cache is Serving An Old Page

PrestaShop has a built-in caching system controlled from the Performance page. It stores rendered output so pages load faster, but when you edit a product, it does not always invalidate every affected page immediately. This is the single most common reason a price looks wrong on the front end while being correct in the back office.

To confirm this is the culprit, clear only PrestaShop's cache and reload the front office before touching anything else. If the price corrects itself, you have found the layer.

Here is how to identify and fix it:

  • Go to Advanced Parameters, then Performance in the back office.
  • Confirm the cache is enabled and note whether a caching system such as Memcached or APC is in use.
  • Click Clear cache and wait for the confirmation message.
  • Reload the product page in a private window and check the price and stock status.

If clearing the cache fixes the price but the problem returns later, your caching is working as designed, and something else (usually the CDN) is re-caching the old page. Move on to the server and CDN layers.

First Fix: Clearing PrestaShop's Own Cache

Before you touch Smarty, your server or your browser, clear the cache PrestaShop controls directly. This is the layer most likely to hold an outdated price after you save a change in the Back Office, because PrestaShop caches compiled templates and configuration rather than re-reading them on every page load.

Log into the Back Office and go to Advanced Parameters, then Performance. Look for the Clear cache button on that screen. In many PrestaShop versions, it sits near the top, and clicking it flushes the shop's compiled templates and cached configuration in one move. The exact label and placement vary between versions, so scan the whole page. After clicking, reload a product with the wrong price in a private window to confirm it has refreshed.

If the Clear cache button is missing or greyed out, the template cache is probably disabled, or your file permissions stop PrestaShop from writing to the cache folders. In that case, you clear it by hand.

  1. Connect to your server over FTP or SSH and open the PrestaShop root directory (the folder that contains config and modules).
  2. Open var/cache and you will see folders such as dev and prod.
  3. Delete the contents of these folders, not the folders themselves. On production, remove the prod folder's contents; the dev folder only matters if you are running a development copy.
  4. Set the folder permissions so the web server user can write to var/cache again; otherwise, PrestaShop cannot rebuild the cache and will throw errors.
  5. Reload the storefront and check the affected product. PrestaShop regenerates the missing cache files automatically on the next request.

Deleting these folders by hand is safe, but only delete inside var/cache. Removing anything from config or modules can break the shop. If your host runs the site across multiple servers, clear the cache on each one, as a single node can keep serving an old template after you have cleaned another.

If the price is still wrong after a manual cache wipe, the stale value is not in PrestaShop's own cache, so move down the ladder to the template and server layers.

Smarty Template Cache: Why The Price Still Looks Old

PrestaShop renders every product page through Smarty, its template engine. Smarty compiles each .tpl file into PHP and stores the result in the cache so the shop does not recompile on every visit. When you change a template, or when a currency change alters how a price is formatted, the compiled copy can keep serving the old output.

This layer sits underneath PrestaShop's own cache. Clearing the shop cache from the back office does not always flush the compiled Smarty files, which is why a price can survive a clear and still look wrong.

The setting lives in Advanced Parameters, then Performance, under the Smarty section. Template compilation offers three options:

  • Never Recompile is the fastest option for a live shop. PrestaShop reuses the compiled template until you clear it manually, so any template edit stays invisible.
  • Recompile When Files Change is a middle ground. Smarty checks the source file's timestamp and rebuilds only when it has actually been edited, so a live price-formatting fix appears without a manual flush.
  • Force Compilation rebuilds on every page load. This is a diagnostic setting, not a live one, because it slows the shop down while it is active.

After a theme edit, a currency symbol change or any work on price-formatting templates, switch to Recompile when files change and load the affected product page once. Then set it back to Never recompile so the live shop stays fast.

If you are triaging a single stale price and cannot touch performance settings on a busy store, clear the Smarty cache on its own (the same Performance panel has a dedicated button) and reload. The ladder only works if you change one setting, test, and change it back.

Redis, Memcached & Varnish: The Caches PrestaShop Won't Clear For You

If you have emptied PrestaShop's own cache and still see the wrong price, the culprit is probably a layer between your database and the customer, and PrestaShop has no button for it. Object caches like Redis and Memcached store compiled query results, while a full-page cache such as Varnish stores the finished HTML. Both keep serving the old figure until they are flushed on their own terms.

These layers persist prices for a simple reason: they never learned the price changed. Clearing the PrestaShop cache tells PrestaShop to rebuild its files, but it does not reach into Redis or send a purge instruction to Varnish.

Flush The Object Cache (Redis or Memcached)

Redis and Memcached hold the output of database queries. When a product price is updated, a stale query result can keep answering requests long after the shop has saved the new value. Check whether your hosting panel or your config/settings.inc.php file references a Redis or Memcached server for caching, then flush it directly.

  • For Redis, connect over SSH and run redis-cli FLUSHALL to empty every database on that server, or FLUSHDB for the current one only.
  • For Memcached, run echo 'flush_all' | nc localhost 11211 to invalidate all stored items.
  • On managed hosting, look for a "Clear object cache" or "Purge cache" control in the panel before reaching for the command line.

Flushing Redis or Memcached is safe on a live shop. The worst that happens is a short burst of slower page loads while the cache warms back up.

Purge Varnish with A Ban Command

Varnish caches whole pages, so a product page can be served from memory with its old price baked in. The fix is a ban, which tells Varnish to stop serving matching objects. You can ban everything withvarnishadm ban req.url "~" "/", or target a single product URL by matching its path. Some PrestaShop hosting stacks ship a Varnish module that sends the ban automatically; if yours does not, check your provider's documentation for the exact command.

One detail catches people out: Varnish often sits in front of a CDN, so purging Varnish alone still leaves the CDN serving a cached copy. Clear the closer layer first, then work outwards.

Clear caches in the order the request travels: PrestaShop, then the object cache, then Varnish, then the CDN.

If your shop leans heavily on third-party modules to shape prices, discounts or stock labels, remember that each module's own configuration can affect what gets cached. The PrestaShop modules from FME Modules are built by an official PrestaShop Partner, and FME's documentation is a sensible place to confirm how a given module interacts with caching before you assume the cache is at fault.

Is Your CDN Or Browser Still Serving The Old Page?

Once PrestaShop's caches and the object cache layer are cleared, the old price can still survive outside your server entirely. Two places do this most often: the CDN in front of your shop, and the browser on the customer's machine. Both keep their own copy of the page, and neither knows you edited a product.

Start with Cloudflare if you use it. Sign in, select the domain, open Caching, then Configuration and choose Purge Everything. Cloudflare also caches HTML at the edge on some plans, so a single-URL purge may not be enough if the product page shell itself is cached. If your host uses a different CDN (Fastly, Bunny, Akamai), find the equivalent "purge all" control in its dashboard.

Next, check the headers your server sends. Open your browser's developer tools, go to the Network tab, reload the product page, and read the Cache-Control response header. A long max-age on HTML means browsers and proxies will keep serving the old copy for hours or days. Static assets like images and CSS should be cached for a long time; product HTML generally should not.

To rule out the visitor's own browser, open the page in a private or incognito window. Then try a hard refresh (Ctrl+F5 on Windows, Cmd+Shift+R on Mac). If the price is correct in incognito but wrong in your normal window, the cache was local all along, not on your server.

Why Did My PrestaShop Stock or Price Not Update After Clearing Cache?

Sometimes the cache was never the culprit. You have cleared every layer, purged the CDN, and the old figure is still on the product page. In those cases, the value itself is wrong in the database, not just in a stored copy of the page. Cache clears copy the live value, so if the live value is stale, it stays stale everywhere.

These are the settings most often mistaken for caching, especially on catalogues with combinations or several shops.

  • Combinations & Stock: A product with sizes or colours can show an out-of-date quantity if the combination you edited is not the one on the page. PrestaShop tracks stock per combination when you enable advanced stock management, so the parent product can look correct while the size a customer picks is empty.
  • Catalog Price Rules: A rule that applied yesterday can override the base price. Disabled rules and rules with a past end date can still show in the back office, so check the rule list before blaming the cache.
  • Specific Prices: A price saved on the product's Specific Prices tab takes priority over the base price. An expired entry left in place keeps serving the old figure until you remove it.
  • Multi-store Context: Each shop in a multi-store group can carry its own price and stock. Edit the price in the wrong shop, and the customer's shop keeps the old one.
  • Quantity Thresholds: PrestaShop hides or flags stock using the out-of-stock threshold and the "allow ordering" setting. Stock can be present while the page still reads as unavailable.

To tell a data problem from a cache problem, open the product on the front office in a private browser window and compare it with the value in the back office. If they match the wrong number, you are editing the wrong field or scope. If they differ, a cache layer is still holding an old copy.

A page that keeps showing a stale price after a full purge is usually serving a different record, not a cached one.

Step-By-step Diagnosis Process

When the quick fixes do not settle it, work through this sequence rather than jumping between layers. Each step narrows the field, and you stop as soon as the price corrects itself, which tells you exactly which layer was at fault.

  1. Confirm the correct price in the back office: open the product in Catalog, then Products, and note the base price, any specific prices and any catalog rules that apply.
  2. Open the front-end product page in a private or incognito window. If the correct price shows here, the problem is the customer's browser or an intermediate proxy, not your server.
  3. Clear PrestaShop's cache from Advanced Parameters, then reload the private window and recheck.
  4. Clear the Smarty template cache from the same panel, or switch compilation to recompile when files change; reload and recheck.
  5. Flush the object cache (Redis or Memcached) if your host uses one, then recheck.
  6. Purge Varnish and any CDN, then recheck from a different network or device.
  7. If the price is still wrong after all of that, treat it as a data or configuration problem and review the causes in the table above.

Write down which step fixed it. Over time that note becomes your own short version of this checklist, tuned to your hosting and module stack.

Advanced Troubleshooting

When the standard layers are clean, and the price is still wrong, switch on the tools that show you what PrestaShop and the server are actually doing. These techniques are for confirmed cases where the simple checks have not worked.

  • Enable Debug Mode. In PrestaShop's configuration, you can turn on debug mode so errors are shown instead of hidden. This surfaces template and module problems that would otherwise fail silently.
  • Read the PrestaShop Error Log. PrestaShop writes logs you can review for errors raised while a product page renders. A repeating exception is a strong sign a module or override is at fault.
  • Check the Server Logs. Your hosting panel or server has access and error logs. Look for PHP fatal errors and for requests returning a cached response when they should not.
  • Inspect the Browser Console. Open developer tools and check the console and network tabs for failed requests, old cached assets or an error that stops the price from updating.
  • Test for a Module or Theme Conflict. On a staging copy, switch to the default theme and disable non-essential modules one at a time, reloading the product page after each change.
  • Look For Custom Code and Overrides. Theme template overrides and custom price hooks can pull from their own cached value. Review any override that touches price or stock.

Do advanced testing on a staging copy wherever you can, so a change that breaks rendering does not reach live customers. If a single module turns out to be responsible for the stale price, its configuration and documentation are the place to look before you remove it.

When Cache is Not The Culprit: Other Reasons Customers See Outdated Prices

Sometimes you clear every layer, and the old figure survives. That is your signal to step off the cache ladder and look at how PrestaShop itself decides which price to show. The catalogue will happily display a price that looks stale but is exactly what the rules told it to show.

Three of the usual suspects live inside PrestaShop's own configuration. Check these before digging through server logs:

  • Catalogue Price Rules With Date Ranges sit under Catalogue > Discounts. If a rule is scheduled for a future start date, or expired yesterday, the price snaps back without warning. Open each rule and read the From and To dates on the Conditions tab.
  • Customer Group Pricing means a logged-in wholesale customer and a guest browsing on a phone can see two different prices. Reproduce the issue while logged in as the affected customer, not as yourself.
  • Multi-store Shared Catalogues catch people out. A price edited in one shop's context can be overridden for another shop, so the figure in your admin may not be the figure on that storefront.

Finally, think about anything that writes prices automatically. A supplier feed pushed in by a cron job, or a CSV import scheduled through PrestaShop's Advanced Parameters > Import screen, can overwrite a manual edit minutes after you save it. Compare the product's date_upd value against the time you made your change to see if something else is writing over you.

If the price reverts on a schedule rather than staying fixed, you have a data problem, not a cache problem.

Stop It Happening Again: A Cache-clear Checklist After Every Price Change

Once you have found the layer that was holding the old price, the next goal is to stop repeating the hunt. A fixed, ordered routine after every catalogue update takes a few minutes and removes the guesswork. Run it top to bottom, because clearing a lower layer first usually does nothing while an upper layer still serves the stale copy.

  1. Save the price or stock change in the product, combination or specific price, then confirm it shows correctly in the back office preview.
  2. Clear the PrestaShop cache: Advanced Parameters, then Performance, then Clear cache.
  3. In the same Performance screen, temporarily set Template compilation to Force compilation and Cache to Noreload the front-end page, then set both back to their normal values.
  4. If you run Redis or Memcached, flush the relevant cache from your hosting panel or via your server tools so the object cache picks up the new value.
  5. Purge Varnish and any CDN (Cloudflare, Fastly, Bunny) using its own purge option or full cache purge.
  6. Open the product page in a private or incognito window and check the price, stock badge and cart total.

If everything looks right in incognito but a colleague or customer still sees the old figure, the remaining suspect is their browser or an intermediate proxy, which is why the private window test belongs last. Put this checklist in your release notes, and the same six steps will handle almost every future price update.

How To Prevent This Problem

Prevention is a habit as much as a setting. These practices reduce the chance of a stale price reaching a customer and make it faster to trace when one does.

  • Keep a fixed order for cache clearing and follow it after every price, stock or catalogue rule change.
  • Run price-critical changes on a staging copy first, especially when a module or theme override is involved; then apply the same steps live.
  • Check price and stock in a private window as part of your release routine, rather than trusting your normal browser.
  • Review catalog price rules and specific prices on a regular schedule, so expired entries do not linger and override the base price.
  • Keep a note of which caching layers your host enables (Redis, Memcached, Varnish, CDN) so new staff know what to flush and in what order.
  • Review any module that shapes prices or stock before installing it, and check its documentation for how it interacts with caching.
  • Keep PrestaShop and your modules up to date, since cache-handling bugs are a common thing that updates address.

You do not need a big toolkit to chase a stale price, but a few of these genuinely shorten the hunt. Use them to confirm which layer is holding the old value rather than guessing.

  • PrestaShop Back Office Performance Screen: your first stop for clearing the shop cache and adjusting Smarty compilation.
  • Your Hosting Control Panel: the quickest route to flushing object caches and purging Varnish when your provider offers it.
  • The Cloudflare Dashboard: for purging the CDN edge when you run Cloudflare in front of the shop.
  • Browser Developer Tools: the Network and Console tabs show cache headers and errors on the product page itself.
  • Well-documented PrestaShop Modules: if a module is responsible for how prices or stock display, its documentation explains how it behaves with caching. 
Key takeaways
  • →The most likely causes are PrestaShop's own cache, Smarty compilation, a server or object cache, a CDN or the browser, then price rules and multi-store settings.
  • →The quickest fixes are a private-window check, clearing PrestaShop's cache from the Performance screen and a hard refresh, done in that order.
  • →Always clear caches in the order the request travels: PrestaShop, object cache, Varnish, CDN, browser.
  • →If a price survives a full purge, suspect the data or configuration (rules, combinations, multi-store) rather than another cache.
  • →Prevent repeats with a fixed clearing checklist, staging tests and regular reviews of price rules and specific prices.

Final Verdict

A stale price in PrestaShop is rarely one bug; it is one of several caches doing its job a little too well. Treat it as a ladder; test one layer at a time and stop when the figure corrects itself. That way you fix the actual cause instead of clearing everything and hoping.

If the cache is clean and a module is shaping how prices or stock display, check its configuration and documentation before swapping it out. For stores that rely on PrestaShop modules to handle pricing, discounts or stock labels, the modules from FME Modules are built by an official PrestaShop Partner and are worth reviewing when a module sits in the price path.

Frequently Asked Questions

Why Does My PrestaShop Store Still Show an Old Price After I Update It?+–
Most often a cache layer is serving a saved copy of the page. Clear PrestaShop's own cache from Advanced Parameters, then Performance first, then work outward through Smarty, the object cache, Varnish and the CDN.
How Do I Know If The Problem is Cache or The Product Data Itself?+
Open the product in a private window and compare it with the back office. If the numbers match but are wrong, you are editing the wrong field or shop context. If they differ, a cache layer is still holding an old copy.
Do I Need To Clear Smarty and PrestaShop's Cache Separately?+
Not always, but it helps when diagnosing a single stale price. Clearing the shop cache does not always flush the compiled Smarty files, so clearing them on their own tells you which layer was responsible.
Is it Safe to Flush Redis or Memcached On A Live Shop?+
Yes. The worst that happens is a short burst of slower page loads while the cache warms back up. The store keeps working throughout.
Why Do Some Customers See The New Price and Others Still See The Old One?+
That pattern points to a layer that varies per visitor, such as the browser, an intermediate proxy or a CDN edge node. A private window on a different device or network helps narrow it down.
How Do I Clear the Cloudflare Cache For A Single Product Page?+
Open Caching, then Configuration in the Cloudflare dashboard and use Purge Everything, or purge a single URL if the page shell itself is not cached at the edge. Some plans cache HTML, so a single-URL purge may not be enough.
Could a catalog price rule be overriding my new price?+
Yes. A rule that has started or expired, or a specific price left on the product, can override the base price. Check the rule list and the product's Specific Prices tab before blaming the cache.
Why Did My Stock Status Not Update After I Changed It?+
Stock is tracked per combination when advanced stock management is on, and it can also be hidden by out-of-stock thresholds. Confirm you edited the right combination and that "allow ordering" and threshold settings match what you want.
Will Enabling Debug Mode Slow Down My Live Shop?+
It can, and it shows errors to visitors, so keep it to a staging copy wherever possible. On a live shop, switch it on briefly to capture the error, then turn it off again.
How Can I Stop Stale Prices Happening in Future?+
Follow a fixed cache-clearing checklist after every price change, test in a private window, review price rules and specific prices regularly, and keep PrestaShop and modules updated.