• I am searching for how to remove the “view your shop basket” button from my category pages. Since I have this on a local test-setup, I can’t share a link.
    This question is not about the “add to cart” button, but on the button that shows how many articles there are in a basket, and links to the cart page.

    The “add to cart” buttons I have hidden by a plugin, but ultimately we want to use woocommerce as a catalog without selling options.

    Thanks!

Viewing 2 replies - 1 through 2 (of 2 total)
  • Hello,
    ?
    ?Please add this extra CSS code in Customizer -> General Settings -> Additional CSS :

    p.woocommerce-info {
    display:none!important;
    }

    p.return-to-shop {
    display:none!important;
    }

    Thread Starter WP_Con

    (@wp_con)

    That did not work.
    I added that to the end of the CSS code that was already there.

    If I comment this line:

    add_action(‘woocommerce_before_shop_loop’, ‘mesmerize_woocommerce_cart_button’, 5);

    in wp-content/themes/mesmerize/inc/woocommerce/woocommerce.php
    The button is gone, but of course I need to repeat that after each update.
    I was hoping for a more permanent solution.
    Thanks!

    • This reply was modified 3 years, 10 months ago by WP_Con.
Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Remove Basket content from category pages’ is closed to new replies.