[Support request] MiniCart not working properly with WP Rocket

Home Forums Support MiniCart not working properly with WP Rocket

  • This topic has 3 replies, 3 voices, and was last updated 3 weeks ago by David.
Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #1426368
    Robert

    Hello,

    i have an issue regarding the caching plugin WP Rocket with the GeneratePress MiniCart.
    Everytime i deactivate WP Rocket it’s working fine, once I activate it, the Minicart is not showing up on certain single-pages. It’s like just nothing happened. Even if i try to deactivate additional Rocket-Features like Minification (CSS, HTML, JS) it has no influence on the problem with showing up.

    I think the easiest way to use both, WP Rocket and MiniCart, is to exclude spezific JS and CSS-Files from Caching. Therefore it might be helpful if you could allocate the path for the inbound components of the GP MiniCart, since there was nothing i could find in the general documents.

    Looking forward hearing from you soon,

    Daniel.

    #1426668
    Leo
    Staff
    Customer Support

    Hi there,

    Try excluding these files and see if that works:
    https://www.screencast.com/t/tnkpo0du

    #1427297
    Robert

    Hi Leo,

    thanks for your quick reply.
    It now works on shop page:

    shop-page.PNG

    but not on homepage:
    homepage.PNG

    (And yes: i cleaned Rocket-Cache, op-cache and browser cache).
    I thought it was a question of z-index hierarchy so i tried different settings but that makes no difference.

    Is there a way to make the GP MiniCart appear on startpage?

    Thanks,
    Daniel

    #1427471
    David
    Staff
    Customer Support

    Hi there,

    try adding this CSS:

    .wc-menu-item:not(.has-items) .wc-mini-cart {
        display: initial !important;
    }
Viewing 4 posts - 1 through 4 (of 4 total)
  • You must be logged in to reply to this topic.