1. Home
  2. Knowledge Base
  3. WooCommerce Restaurant Ordering
  4. Advanced

How to hide the 'Cart' button from the WooCommerce 'Cart' widget

WooCommerce Restaurant Ordering CTA

On the WooCommerce Restaurant Ordering plugin demo site, you may notice that the 'Cart' widget in the right hand column has no 'View cart' link. This is the standard 'Cart' widget that comes with WooCommerce itself, but we've added some custom CSS to hide the 'View cart' button because we feel this is more appropriate for restaurants.

You can do the same on your own site by adding the following to your theme, child theme or the 'Additional CSS' section in Appearance → Customize.

.widget .woocommerce-mini-cart__buttons a:not(.checkout) {
display: none;
}
We've partnered with Codeable to provide our customers with expert help if required.

Related Articles

If searching the knowledge base hasn't answered your question, please contact support.