Quantcast
Channel: WordPress.org Forums » All Topics
Viewing all articles
Browse latest Browse all 65051

My Mini Cart is not working since Hummingbird Cache is started

$
0
0

Replies: 0

Any idea why my mini cart is not working on the top right hand side of my homepage and a few other pages?
https://shoporama.com.au/

When I hover on the mini cart it shows nothing but it says 1, 2, or more items in it.
They told me it is cache but I cleared the Hummingbird Cache and tried it with an incognito window but still the same.

Hummingbird says;

“You can use the define(‘DONOTCACHEPAGE’, true); constant to instruct Hummingbird not to cache specific pages or templates.”

So where do I add this to disable it on the Cart, Checkout, and My Account pages?
Where the actual files are and called so I can add the define(‘DONOTCACHEPAGE’, true); to it and anywhere on those pages? If I add this to function.php file how do I actually relate it to the minicart or cart files?

I added it in the Theme Cart Folders Cart.php file and didn’t work.
Also I did this in Hummingbirds

“URL Strings”
“You can tell Hummingbird not to cache specific URLs, or any URLs that contain strings. Add one entry per line.”

wp-.*\.php
index\.php
xmlrpc\.php
sitemap.xml
cart\.php
checkout\.php
myaccount\.php
my-account\.php

And still no luck

Many thanks in advance
Mitchell


Viewing all articles
Browse latest Browse all 65051

Trending Articles