Add to Cart functionality not working

I had precisely the equivalent concern and it’s a caching concern. If you happen to use a caching program guarantee that cart and checkout are excluded, do not depend on woocommerce to exclude.

If this fails, which it did for me, strive including this code (with out the descriptors):

Disabling Browser Cache in HTML
With this code positioned in-the prime of the top part you possibly can flip off customer facet caching.

<meta http-equiv=”cache-control” content material=”max-age=0″ />
<meta http-equiv=”cache-control” content material=”no-cache” />
<meta http-equiv=”expires” content material=”0″ />
<meta http-equiv=”expires” content material=”Tue, 01 Jan 1980 1:00:00 GMT” />
<meta http-equiv=”pragma” content material=”no-cache” />

Disabling Server Facet Cache in PHP
This little two liner code goes to the uppermost a part of a PHP file.

<?php
header(“Cache-Control: no-cache, must-revalidate”); // HTTP/1.1
header(“Expires: Sat, 26 Jul 1997 05:00:00 GMT”); // Date in-the previous
?>

This labored for although maybe it should not of.

edit: the ^&%^%$$ server appears to be having points in the intervening time

it points have been brought on by a caching resolution that my internet hosting supplier makes use of. As soon as the exception guidelines have been added all got nicely 🙂

Check Also

How to start a conversation with a girl

How to start a conversation with a girl

How to start a conversation with a girl How to start a conversation with a …

error: Avoid content theft! This Content is protected by copyright law!!