Support » Plugin: WooCommerce » Dynamic Cart Icon in Header

Viewing 5 replies - 1 through 5 (of 5 total)
  • yes. I created a simple plugin to do this. It actually updates the qty via ajax so it’s safe to use with page caching. It uses jquery to append the cart quantity within parentheses next to any link to the cart page.

    Ajax Cart Quantity

    currently, it only updates on page load, so if you’re using ajax add-to-cart, it won’t update immediately, but it wouldn’t take much to add that functionality.

    Brilliant. You’re a genius. Thanks a ton, I’ll give it a try.

    So I’ve got the plugin activated, but how do I go about updating the icon in my header with it?

    there’s nothing to do – no interface at all – it will automatically append the cart quantity to any link to the cart – so if you have a cart linked in your menu, for example, it will display
    CART (0)
    Shortly after the page loads if the plugin is activated.

Viewing 5 replies - 1 through 5 (of 5 total)
  • The topic ‘Dynamic Cart Icon in Header’ is closed to new replies.