How do I disable WooCommerce shopping cart? The quickest and easiest way to disable WooCommerce shopping cart is to switch all products to “External / Affiliate” products – this means no products can be added to cart.
How do I hide the Add to cart icon in WooCommerce?
Hide or Disable the Add to Cart Button
remove_action( ‘woocommerce_after_shop_loop_item‘, ‘woocommerce_template_loop_add_to_cart’); remove_action( ‘woocommerce_single_product_summary’, ‘woocommerce_template_single_add_to_cart’);
How do I remove the cart icon?
Basically, the cart icon will be displayed automatically if WooCommerce plugin is active. If you are not using products/WooCommerce, deactivate it from WP-admin > Plugins. And, the cart icon will be removed automatically.
How do I get rid of the cart icon on WordPress?
From your WordPress Dashboard, navigate to the Appearance > Customize > Header > Header Main Area section. Toggle off the Enable Cart Icon option.
Step 1: Navigate to Appearance -> Menu. Step 2: Click the drop-down arrow next to the menu item you wish to delete. Step 3: Click Remove to delete the menu item. Step 4: When you are finished, click Save Menu.
How do I get rid of the view cart in WordPress?
Here’s how:
- In your WordPress dashboard, go to Appearance and click on Customize.
- Look down for the Additional CSS section and click on it.
- In the box there, paste this at the bottom: a[title=”View cart”] { display: none; }
- Publish your changes.