Take your website
To the next level
Discover our newly launched customization services and elevate your web projects to new heights.
Delegate tasks, save time, and unlock the power of professional WordPress outsourcing.

Okay
  Public Ticket #2418537
I want to remove add to cart button on WooCommerce store page
Closed

Comments

  • RodrigoFLC started the conversation

    Delete the Add to cart button on the WooCommerce store page on my page, because I just want to have a direct option from the button to the checkout page.


    Add a screandshot 

  •  7,092
    Oliver replied

    Hi,

    Sorry, can't understand where you need to remove it, can you make screenshot? 

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • RodrigoFLC replied

    I want to remove the "Cart" icon on my web page, delete it so that it does not appear on the web in the menu part, but I don't know how to do it.

  •  7,092
    Oliver replied

    HI!

    pls. use following css:

    li.menu-item.menu-item-cart.not-dlmenu {
        display: none !important;
    }

     

    6707465710.png

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • RodrigoFLC replied

    Hello Goodnight.
      The code works only for computer, for mobile devices it does not respond, the option continues to appear.

  •  7,092
    Oliver replied

    Hi,

    CSS:

    .mobile-cart-position-top #site-header .mobile-cart {
        display: none;
    }
    

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver

  • RodrigoFLC replied

    Perfect. Thank you

  •  7,092
    Oliver replied

    You're welcome!

    Please note if you comment on your ticket before we reply, your ticket will be pushed down of the tickets list. 

    Regards, Oliver