• Resolved sunnyschafieh

    (@sunnyschafieh)


    Hi,

    How do I remove the cart icon and the cart page completely?
    What css do I need? I am using storefront theme

    Thanks

Viewing 2 replies - 1 through 2 (of 2 total)
  • Plugin Support Aashik P – a11n

    (@aashik)

    Hi there!

    This must be done in two parts:
    1. Hide the cart icon
    2. Disable Cart functionality

    1. To hide the cart icon

    With Storefront Powerpack, you can remove the cart from header: https://cld.wthms.co/mX0uMs

    The end result would be: https://cld.wthms.co/C2kv83

    It also comes with a wide range of customization options: https://docs.woocommerce.com/document/storefront-powerpack/

    If you only want to disable cart icon via CSS, you use the following CSS snippet:

    /* Hide header - cart */
    
    .site-header-cart {
        display: none;
    }

    Please navigate to **Dashboard > Appearance > Customize > Additional CSS**, add the above snippet and then click on Publish button to save changes.

    Note that this will only remove the cart icon, but not the page, or the process itself.

    2. Disable Cart functionality

    Once that’s done, we can either disable cart via custom coding: https://www.cloudways.com/blog/skip-cart-page-go-straight-to-checkout-page-woocommerce/

    Or you can disable the cart function by making use of any third party extension that will help you redirect your customers directly to the checkout page. You can find plugins by searching for WooCommerce Add to Cart Redirect in your favorite search engine.

    Moderator Hari Shanker R

    (@harishanker)

    Hi @sunnyschafieh

    I just wanted to follow-up with you on this thread; hope you were able to remove the cart icon using the instructions we provided for you.

    I’m marking this thread as Resolved as we have not heard back from you in a while. If the problem persists though, feel free to reopen this, we would be happy to look into this for you.

    All the best!

Viewing 2 replies - 1 through 2 (of 2 total)
  • The topic ‘Removing Cart’ is closed to new replies.