• When you first load a page and your cart is empty, nothing at all is displayed in the sidebar. Once something is added, cart contents & buttons are displayed. However, if the basket is then emptied & the page refreshed, nothing at all is generated in the sidebar again?

    The page I need help with: [log in to see the link]

Viewing 3 replies - 1 through 3 (of 3 total)
  • Plugin Author xootix

    (@xootix)

    Works fine on product and shop page.
    Isn’t working on your homepage.
    woocommerce/assets/js/frontend/cart-fragments.min.js
    script needs to be loaded , in order for the plugin to work.

    Thread Starter matstillo

    (@matstillo)

    OK, great stuff, that makes sense. I had dequeued some WooCommerce scripts on non-shop pages to see things up a little. It’s all coming back to me now! ??

    I’ve only re-queued cart-fragments.min.js. Is that definitely the only one I will need for all to work correctly?

    Also, I’m using wp-fastest-cache for caching. Its currently not caching the following pages: cart, checkout & my account. Are there any other considerations for caching with your plugin?

    Many thanks for the help,

    Mat

    Plugin Author xootix

    (@xootix)

    Yes ,cart-fragments.min.js is the only script required.
    Nope, no extra cache settings needed , Wp fastest cache should work fine with the plugin.

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Nothing generated in sidebar for initial empty cart’ is closed to new replies.