WordPress.org

Support

Support » Plugins and Hacks » WooCommerce » [Resolved] Remove Cart Icon from Menu Bar

[Resolved] 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”

    hello.
    im successfully remove this..

    STEP.1
    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();

    FINISH

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