Ready to get started?Download WordPress


WooCommerce - excelling eCommerce
Increase Cart Quantities in AJAX (1 post)

  1. journeymanweb
    Posted 8 months ago #

    I have a mini cart view in my webpage's header.
    I found 2 methods to achieve this, still deciding which one to use;

    • a Cart Widget hack (just having a div with class .widget_shopping_cart_content gets a mini cart automatically on-load)
    • or a Cart Shortcode hack ('add_to_cart_fragments' filter which just echoes do_action('[woocommerce_cart]')

    What's the simplest way to change cart items' quantity on the fly with ajax, and it should trigger the woocommerce fragments to update (so my mini cart view updates) ?


You must log in to post.

About this Plugin

About this Topic

  • RSS feed for this topic
  • Started 8 months ago by journeymanweb
  • This topic is not resolved
  • WordPress version: 3.7.1