Support » Plugin: WooCommerce » Remove Cart Icon from Menu Bar

Viewing 3 replies - 1 through 3 (of 3 total)
  • I fixed this by removing this line from the header.php

    <?php woo_nav_after(); ?>

    Thanks for your response.

    Weird.. I did not find that line within the header.php

    I figured it out though – went into Theme-woocommerce.php and removed the two blocks of code about “add to cart”

    im successfully remove this..

    go to your theme folder > woocommerce-config folder > config.php
    and delete this

    # shopping cart dropdown in the main menu

    function avia_woocommerce_cart_dropdown()
    global $woocommerce;
    $cart_subtotal = $woocommerce->cart->get_cart_subtotal();
    $link = $woocommerce->cart->get_cart_url();

    STEP 2.
    go to header.php and delete this

    if(avia_woocommerce_enabled()) echo avia_woocommerce_cart_dropdown();


Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘Remove Cart Icon from Menu Bar’ is closed to new replies.