• I’ve noticed that when refreshing the widget after an AJAX add to cart button trigger, the widget title is not generated at all.
    Sample sidebar registration array to test this out:

    array(
            'name' => __('Domy?lny', 'callisto'),
            'id'   => 'default_sidebar',
            'description' => __('Domy?lny panel boczny', 'callisto'),
            'class' => '',
            'before_widget' => '<div id="%1$s" class="sidebar-item clearfix %2$s">',
            'after_widget'  => '</div>',
            'before_title'  => '<div class="main-title clearfix"><p class="custom-font-1">',
            'after_title'   => '</p></div>'
        )

    The widget title (if set in WP admin panel) will not be displayed after making the AJAX refresh.

    https://www.ads-software.com/plugins/woocommerce-dropdown-cart/

Viewing 2 replies - 1 through 2 (of 2 total)
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘AJAX refresh removes the widget title’ is closed to new replies.