Woocommerce Dropdown Cart Widget.
[resolved] Drop Down Cart price and quatity updating upon 'Add to Cart' (8 posts)

  1. merchantweb
    Posted 2 years ago #

    When I click add to cart from a product list, the dropdown widget does not update, however, when I am on the product detail page, the widget does update. How can I get the dropdown cart widget to update upon click of the button when adding to cart from a product list page?


  2. joshuaiz
    Posted 2 years ago #

    Having this same issue.

    Also, if you add an additional product that is already in the cart (i.e. increase the quantity) the widget also does not update the number of items.

    Can we have these issues fixed?


  3. viktor-photo
    Posted 2 years ago #

    Hi there!
    Having the same problem! Cart doesn't get updated.

  4. joshuaiz
    Posted 2 years ago #

    I wouldn't normally post this but since the developer is unresponsive I ended up going with this that works much better:


    It's $11 but worth it to avoid all the headache with this non-functioning dropdown cart.

    Works on every page + responsive to boot.

  5. byymster
    Posted 2 years ago #

    I make it works(with ajax) with help of ajax-widget-area and some little changes of this plugin and woocommerce. If somebody is still interesting can explain how.

  6. jlink
    Posted 2 years ago #

    @ byymster:

    I have the same problem.
    Could you explain how you got it working?

  7. byymster
    Posted 2 years ago #

    @ jlink:

    I have not perfect but working improvement.
    The first you need to install ajax-widget-area . Configure and make sure that Dropdown Cart Widget works. Then I made several changes in wp-content/plugins/woocommerce/assets/js/frontend/add-to-cart.min.js
    and between [fragments,cart_hash])}); and return!1 insert e.post('http://yourdomainname/wp-admin/admin-ajax.php',{action: "get_ajax_sidebar"}, function(response) {e('#ajaxSidebar').html(response);} )

    P.S. It's works for me. It's just refresh(when "add to cart" clicked) ajax-widjet-area that get new instance of "Dropdown Cart Widget".

  8. vam
    Posted 2 years ago #

    The simple solution - to remove the checkbox "Enable AJAX to add to cart button in the archives". And plugin will work on all 100%. But there will be ajax animation for button add to cart/

Topic Closed

This topic has been closed to new replies.

About this Plugin

  • Woocommerce Dropdown Cart Widget.
  • Frequently Asked Questions
  • Support Threads
  • Reviews

About this Topic