Your account expired support, please renew to get your support.

HomePage Forums Themes Support Bookory – Book Store WooCommerce Theme Shopping cart lost all functions after update Elementor Pro

Viewing 4 posts - 1 through 4 (of 4 total)
  • Author
    Posts
  • #33301
    mstrhans
    Support Expired

    I know there are already other tickets. In those tickets you solved the issue. Is it possible to get the files that are concerning this? Ive locked filed editing on the live site. Its the off-canvas cart, the one pop ups on the right side. The cart is empty. No buttons, no products. Could you please help me to fix it?

    #33329

    Hello,

    I can’t login to the admin dashboard. Please add this custom code to the file functions.php ( child-theme):

    if(class_exists('WooCommerce')) {
        add_filter( 'woocommerce_add_to_cart_fragments',  'elementor_pro_cart_count_fragments' , 1, 9999 );
    
        function elementor_pro_cart_count_fragments($fragments) {
    
            ob_start();
            woocommerce_mini_cart();
            $mini_cart = ob_get_clean();
            $fragments['div.widget_shopping_cart'] = '<div class="widget woocommerce widget_shopping_cart"><div class="widget_shopping_cart_content">' . $mini_cart . '</div></div>';
    
            return $fragments;
        }
    }
    #33351
    mstrhans
    Support Expired

    This works! super thank you!

    #33373

    You are welcome!

    Let me know if you need to help./

Viewing 4 posts - 1 through 4 (of 4 total)

You must be logged in to reply to this topic.