When I visit my site while logged in as admin, everything works just fine. But when I visit the site as a guest (not logged in) things start to break. Mainly the woocommerce cart fragments (or AJAX) calls. It happens in two parts:
1. On the checkout page, instead of listing the products with final costs and payment options, it instead loads a copy of the site itself! see for yourself: http://www.naturesPerfect.us
2. Same as before, when a guest, if I am on the “Buy” page (usually “shop”) and I click the “Add to Cart” button it does not update the cart widget in the sidebar.
This is an AJAX issue I think, but I don’t even know where to begin to look. I’ve already tried disabling all my plugins, and even disabled woocommerce itself and reenabled it. The problem stayed persistent, and consistent.
I think the problem lies within these two files under woocommerce: checkout.js and woocommerce-ajax.php. I’ve been able to identify the problem being with “woocommerce_update_order_review” but I’m not sure what exactly. It works when the Admin is logged in but breaks otherwise. Anybody understand what is going on?