Viewing 7 replies - 1 through 7 (of 7 total)
  • If layouts and alignments are off then probably the css needs some tweaks, not the other things you are considering.

    Try this in your custom css for the issue mentioned:

    .woocommerce a.added_to_cart,
    .woocommerce-page a.added_to_cart
    {display:block}

    You may have to delete cached pages after making css changes.

    Feel free to come back with other layout issues, if there are not too many 🙂

    Thread Starter Bowo

    (@qriouslad)

    Thanks lorro!

    I added it to my theme’s style.css… as for my original problem, it seems there is a clash between WooCommerce and Varnish caching (Pantheon, WPEngine, etc.). More at: https://github.com/woothemes/woocommerce/issues/3513

    However, not technical enough to figure that one out. Anyone has a clue of what I can do on my end to fix it?.. Or, is this something the developers at WooCommerce needs to fix?

    Bowo

    Thread Starter Bowo

    (@qriouslad)

    p.s. Solutions at http://docs.woothemes.com/document/configuring-caching-plugins/ can’t be implemented in my case, according to Pantheon’s support, “At the moment, the Varnish VCL changes cannot be applied, because they will be applied platform-wide, which will open up a whole new can of worms.”

    Thread Starter Bowo

    (@qriouslad)

    A workaround from Chris Lema:
    http://chrislema.com/woocommerce-tips/

    This will allow you to bypass the cached cart/checkout page and go straight to the checkout page of a product. Will work if you visit link directly in browser, but won’t work if you use the link as affiliate link in a WooCommerce product page (“Buy Now” button takes you to cached/empty cart page).

    So, hide WooCommerce “Add to cart” buttons, and create a new button linking to the checkout page URL for the product.
    http://testurl.com/checkout/?add-to-cart=ID

    Pantheon’s support guy says they’ll work on a “good quality fix” but has no timeline as to when that will happen and be implemented.

    Conclusion?… Stay away from Pantheon for doing WooCommerce sites until they have a fix in place. WPEngine has a workaround if you’re looking for managed WP hosting: http://wpengine.com/support/wpengine-ecommerce/ Bluehost’s WP hosting also seems to have optional caching: http://www.bluehost.com/managed-wordpress-hosting / https://my.bluehost.com/cgi/help/591 that you can turn off.

    http://www.immersionresearch.com is also having the same issue where the cart stays empty after customers add products. When logged in as Admin, however, the cart populates corectly. The server is Apache/Nginx/Varnish. We’ve tried disabling AJAX on the “add to cart” option, but it did not help. According to a phpinfo() sessions are correctly pointed to the /tmp directory. What else could be the issue? Do we have to update something in the nginx.conf file for this to work properly?

    Figured it out. Varnish had to be told to pass WooCommerce specific cookies through the cache.

    Having the exact same issue with Pantheon hosting. Is there anyway of getting WooCommerce to work with it?

    Figured it out. Varnish had to be told to pass WooCommerce specific cookies through the cache.

    Did this eventually work? How would you go about doing it?

Viewing 7 replies - 1 through 7 (of 7 total)
  • The topic ‘Your cart is currently empty.’ is closed to new replies.