Okay
  Public Ticket #3249619
Plugin not working properòy in mini cart
Closed

Comments

  •  28
    Co-Brains started the conversation

    Hi!

    I've installed this plugin, that create a free shipping progress bar, that would be a great addition ti my woocommerce.

    I noticed that it works fine with salient theme, but there is a minor problem that could be pretty critical: if I change the product quantities in the mini cart it does not update in AJAX.

    I texted to plugin's support and they told me that this plugin works with every theme, but not for salient. I think that this feature is pretty critic for my website's user experience, so it would be great if you can help me.

    Is there a way to fix that?

    Thank you :)

  •  1,877
    Judith replied

    Hi there,

    Thanks for keeping in touch.

    I am not seeing any issues with add to cart.

    Please send us a short video to demonstrate the issue so that we can see whether we are missing something.

    Thanks.

  •  8,839
    Tahir replied

    Hey Again,

    Could you allow us to log in to your website backend dashboard so we can check on this for you more?. We are gonna need the username and password of admin user as well as the login url.

    Thanks 


    ThemeNectar Support Team 

  •   Co-Brains replied privately
  •  1,877
    Judith replied

    Hi there,

    Your logins aren't working, please check and resend:

    2558386160.png

    Thanks.

  •  28
    Co-Brains replied

    Hi Judith,

    Now it should works

    Thank you

  •  8,839
    Tahir replied

    Thanks for the login details.

    Escalating this to the developer to check if a quick fix is available.

    Best


    ThemeNectar Support Team 

  •  1,070
    ThemeNectar replied

    Hey Co-Brains,

    Because the quantity buttons in the mini cart use AJAX to update, the free shipping progress plugin would need to refresh its data after each AJAX update. This is not something that could automatically occur, but rather through a hooked trigger from either their side or ours. The first step would be to ask them if they currently have a JS function available to refresh the markup or something that we could trigger from our side.

    It also looks as though they are already aware of potential issues like this from their own option description text, so I'm not sure why they would have mentioned to you that it should work with any theme:

    1472215624.png

    Kind regards 

  •  28
    Co-Brains replied

    Hi!

    I asked the plugin team the JS function you ask, and this was their response:

    "Unfortunately, we do not currently have a JS function available for your request. However, our plugin does hook to the "woocommerce_widget_shopping_cart_before_buttons" action in WooCommerce, which should output the progress bar to the mini-cart and automatically update it when the cart's contents change."

    Is there something we can do with this information?

    Thank you

  •  1,070
    ThemeNectar replied

    Without a JS trigger, we can't add it as a callback so there would be no way to make it work with the AJAX quantity unfortunately. It will however work with the default mini cart widget which doesn't add any quantity buttons, which is what they've coded the plugin to expect e.g. using the "hover dropdown" or "hover off canvas basic" style:

    3856817033.png