• Resolved WP_Con

    (@wp_con)


    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!

    • This topic was modified 3 years, 8 months ago by WP_Con.
Viewing 4 replies - 1 through 4 (of 4 total)
  • Plugin Support Gabriel – a11n

    (@gabrielfuentes)

    Hi there! 👋

    It sounds like that the ““view your shop basket” to be part of your theme’s design. You can confirm that by temporarily switching to Storefront Theme to see if that resolves the issue.

    If it does resolve the issue, then refer to the support docs of your current theme in case there is a setting that controls that behavior, or reaches out to your theme’s developers for a solution.

    Let us know how it goes! 🙂

    Plugin Support abwaita a11n

    (@abwaita)

    Hi @wp_con,

    We’ve not heard back from you in a while, so we were checking whether you were able to find a solution to hiding the “view your basket” text.

    ultimately we want to use woocommerce as a catalog without selling options.

    If this is the ultimate goal, I could suggest also using extensions/plugins that remove eCommerce functionalities altogether like:
    1. https://woocommerce.com/products/catalog-visibility-options/
    2. https://woocommerce.com/products/advanced-catalog-mode-for-woocommerce/

    Thanks.

    Thread Starter WP_Con

    (@wp_con)

    Yes I solved it by going into:
    /inc/woocommerce/index.php

    and comment out this line:

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

    The point is that we always have to check this after a theme update.
    I was looking for a momre permanent method, but is seems the basket is hardcoded into the theme.

    Plugin Support abwaita a11n

    (@abwaita)

    Glad to hear that you were able to solve it – thanks for letting us know!

    I’ll mark this thread as resolved now. If you have any further questions, I recommend creating a new thread.

Viewing 4 replies - 1 through 4 (of 4 total)
  • The topic ‘Remove Cart content from category page’ is closed to new replies.