Home Plugins hide cart functions
Hide Cart Functions logo

Hide Cart Functions

by artiosmedia on WordPress.org

Hide the product's price, add-to-cart button, quantity, and options on any product and order. Inject an optional message.

(7)
The Hide Cart Functions Rules Table

The Hide Cart Functions Rules Table

Several plugins offer the ability to edit the shopping cart functions on the page, including hiding the price, “Add to Cart” button, quantity selector, and product options dropdown, but not all in one plugin. Additionally, none of the available plugins or snippets allow a custom message to appear in any format, including embedded graphics, nor do they allow any combination of hidden shopping cart elements on the same WooCommerce website.

At least not until now! Hide Cart Functions simply gives a WooCommerce website complete control over each user side shop’s function while at the same time allowing a user to create several rules to apply to various categories or products within the same system.

Take your shopping page edits one step further; a user can also enter IDs or classes to hide custom elements. This additional provision enables users to customize third-party plugin functions beyond WooCommerce options or adjust those provided by themes with WooCommerce templates. This extra level of customization may yield unexpected results; therefore, use it at your own discretion, accompanied by thorough testing. We cannot resolve any conflicts resulting from the use of this field.

As of version 1.0.4, a requested setting has been added to each rule that allows you to apply the rule to Guest Users only or Logged-In users only but doesn’t allow both at once, which would cause a conflict. Leave both unchecked to apply to all users.

As of version 1.0.5, search and select for products with a 3-letter minimum was added to ease the selection of products for which the rule applies. This addition works in conjunction with the Product ID field, allowing you to use one, both, or neither at the same time.

How to Find a Product ID: Open your WordPress dashboard and click on Pages > All Pages. Then, select the page for which you need to find the ID. Once the page has opened, you need to look at the URL in your web browser’s address bar. Here, you will find the page ID number displayed within the page URL, immediately behind ?post=.

Plugin Limitation: As a disclaimer to this plugin’s capabilities, it is not possible to create a rule to customize the cart functions for any individual Variable Post ID found within a variable product post. The plugin can only modify the functions of a Product ID or Category ID due to the limits inherent in WooCommerce itself, not because of the lack of the plugin.

The plugin supports languages including English, Spanish, Portuguese, French, and Russian.

Technical Details for Release 1.2.9

Load time: 0.343 s; Memory usage: 3.54 MiB
PHP up to tested version: 8.3.20
MySQL up to tested version: 8.4.5
MariaDB up to tested version: 12.0
cURL up to tested version: 8.14.0, OpenSSL/3.5.0
PHP 7.4, 8.0, 8.1, 8.2, and 8.3 compliant. Not tested on 8.4 yet.

Using in Multisite Installation

  1. Extract the zip file contents in the wp-content/mu-plugins/ directory of your WordPress installation. (This is not created by default. You must create it in the wp-content folder.) The ‘mu’ does not stand for multi-user as it did for WPMU, it stands for ‘must-use’ as any code placed in that folder will run without needing to be activated.
  2. Follow the plugin setting panel in the WordPress settings menu.
Active installations3K+
Weekly downloads
232-34.83%
Version1.2.9
Last updated5/31/2025
WordPress version4.6
Tested up to6.8.1
PHP version7.4.33
Tags
Hide add to carthide categoryhide optionhide pricehide quantity
Hide Cart Functions | Plugin0