Hi Databell96,
I had similar issue while back. I have been using WP Super Cache and works great, give it a go and see how it works:
https://wordpress.org/plugins/wp-super-cache/
You can also try:
https://wordpress.org/plugins/w3-total-cache/
I had W3TC on it but it really messed things up, so I had to get rid of it. I don’t like SuperCache because you have to constantly manually update the cache and it’s frustrating and kind of hidden. Want to use WP Rocket on it but I don’t think she wants to spend the money.
The real issue is all or most of this caching plugins have issues with WC. So I was hoping for another way around this.
Alternative would be to edit your functions file. See WordPress codex page for details:
https://codex.wordpress.org/WordPress_Cookies
Hi databell96,
Caching mechanisms such as W3 and Super Cache is indeed compatible with Woocommerce.
It could it be that the configuration was not set properly. See: http://docs.woothemes.com/document/configuring-caching-plugins/
Please try that again and see if that helps.
Found something, try adding this to your functions file. Remember to backup before making any changes:
add_action( 'wp', 'post_pw_sess_expire' );
function post_pw_sess_expire() {
if ( isset( $_COOKIE['wp-postpass_' . COOKIEHASH] ) )
// Setting a time of 0 in setcookie() forces the cookie to expire with the session
setcookie('wp-postpass_' . COOKIEHASH, '', 0, COOKIEPATH);
}