• Resolved flavialampreia

    (@flavialampreia)


    the cart appears blank, no products are shown. It appears that there is an error in woocommerce, i’d like help.

    The page I need help with: [log in to see the link]

Viewing 1 replies (of 1 total)
  • Hi @flavialampreia ,

    Elementor/Astra theme users are facing issues with missing content in mini cart. An issue has been reported for the same: ?https://github.com/woocommerce/woocommerce/issues/38735

    To fix this, you can try adding the following code to the theme’s functions.php file:

    function enqueue_wc_cart_fragments() { wp_enqueue_script( 'wc-cart-fragments' ); 
    }
    add_action( 'wp_enqueue_scripts', 'enqueue_wc_cart_fragments' );

    You can create a child theme and then add the above snippet of code to the active child theme’s functions.php file and activate the child theme.

    Please make sure you don’t edit the theme files directly as they will be overwritten when the theme is updated. To protect your changes from updates, create a Child Theme in which to keep all your changes.

    I hope this helps!

Viewing 1 replies (of 1 total)
  • The topic ‘CART APPEARS BLANK’ is closed to new replies.