• Resolved mcdeth

    (@mcdeth)


    Hi, I’m aware that it’s more theme issue than plugin, but maybe you can give some hints. Other than hiding empty cart, I was thinking to redirect to /cart/ on clicking empty cart – is there any hook or class you’re aware of that can be used when cart is empty only?

Viewing 6 replies - 1 through 6 (of 6 total)
  • Plugin Author Optimocha

    (@optimocha)

    Hey @mcdeth,

    Weird, most themes let visitors to the /cart/ page when they click on an empty card. Can you send the URL of your website and the name of the theme you’re using?

    Thread Starter mcdeth

    (@mcdeth)

    Thanks for quick reply. Website is fig2and2pear (com) – without numbers 2 ;). Theme is ecomm. Make sure to scroll down a bit to let all scripts load. It has to be woo-fly-cart plugin, with this js blocked it’s all good.

    • This reply was modified 5 months ago by mcdeth.
    • This reply was modified 5 months ago by mcdeth.
    Plugin Author Optimocha

    (@optimocha)

    @mcdeth says it’s under construction.

    Thread Starter mcdeth

    (@mcdeth)

    sorry for late response, i block traffic from asia, which country are you from? the plugin i use is https://www.ads-software.com/plugins/woo-fly-cart/ it’s hardcoded in theme.

    <div class="header-content-inner"><div id="page-open-popup-search" class="page-open-popup-search header-icon icon-set-02"><div class="icon">
    <svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="https://www.w3.org/2000/svg">
    <path d="" fill="black"></path>
    </svg></div></div><div class="mini-cart">
    <a href="/en/cart/" class="mini-cart__button style-icon-set-02"><div class="header-icon"><div class="icon"><svg width="22" height="22" viewBox="0 0 22 22" fill="none" xmlns="https://www.w3.org/2000/svg">
    <path d="" fill="black"></path>
    </svg>
    <span class="header-icon-badge mini-cart-badge">0</span></div></div> </a></div>
    <a href="#" class="header-icon header-login-link style-text-01 open-popup-login">
    <span class="button-text">Log in</span>
    </a></div>
    Plugin Author Optimocha

    (@optimocha)

    @mcdeth I’m in Türkiye. Connecting to the site via VPN opens but this time, I get blocked by Cloudflare for my AJAX requests (e.g. opening the side-cart).

    Although I can see that you’re also using LiteSpeed cache. Do the issues go away when you deactivate LiteSpeed?

    Thread Starter mcdeth

    (@mcdeth)

    No, the issue doesn’t go with lscache disabled, only if disable cart fragments is disabled or cart is not empty. in other shop (different theme) it does show empty cart with same plugins

Viewing 6 replies - 1 through 6 (of 6 total)
  • You must be logged in to reply to this topic.