WordPress.org

Ready to get started?Download WordPress

Forums

WooCommerce - excelling eCommerce
[resolved] Bug(?) in cart widget (2 posts)

  1. Umbercode
    Member
    Posted 1 year ago #

    I am building woocommerce on 3 sites and on all sites, the cart-widget does not update when adding an item to the cart (AJAX).
    After some investigating I found that the widget should have an id="shopping_cart-2" and a class="widget widget_shopping_cart". However, on my sites the widget gets NO id and a class="widget shopping_cart-2"
    If I add the class widget_shopping_cart manually to the code, it works fine. But that would mean I have to update that code each time there is an update which is not a good thing. So anyone know what might be the underlying cause?

    http://wordpress.org/extend/plugins/woocommerce/

  2. Umbercode
    Member
    Posted 1 year ago #

    Never mind, I found it myself. I am using a parent theme which overrides the class and id names of widgets.

Topic Closed

This topic has been closed to new replies.

About this Plugin

About this Topic

Tags

No tags yet.