1. WooCommerce Restaurant Ordering
  2. 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;
}
Need professional assistance?
We've partnered with Codeable to provide our customers with expert help if required.
Still need help?
If searching the knowledge base hasn't answered your question, please contact support.

Related Articles