Hide a product's price, add to cart button, quantity selector, and product options on any product. Also, add a message below or above the short p …
Several plugins provide a means to edit the shopping page cart functions, to hide the price, “Add to Cart” button, quantity selector, and the 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 full 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 extra provision provides a means for users to customize third-party plugin functions that are additional to WooCommerce options or adjust those provided by themes with WooCommerce templates. This additional level of customization may come with unexpected results, therefore use at your own discretion followed by a good deal of testing. We cannot resolve any conflicts resulting in 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 to the rule applies. This addition works in combination with the Product ID field, meaning you can use one or the other or both at once.
How to Find a Product ID: Open your WordPress dashboard and click on Pages > All Pages. Then, select the page that you need to find the ID for. 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 for lack of the plugin.
The plugin supports languages including English, Spanish, Portuguese, French, and Russian.
Load time: 0.527 s; Memory usage: 3.06 MiB
PHP up to tested version: 8.3.4
MySQL up to tested version: 8.0.36
MariaDB up to tested version: 11.3.2
cURL up to tested version: 8.6.0, OpenSSL/3.2.1
PHP 7.4, 8.0, 8.1, and 8.2 compliant.
Yes, attention is given on a staged installation with many other plugins via debug mode.
Yes. No other plugin exists that allows the management of the shopping cart so simply.
There was a hide button issue with WooCommerce 8.2.0 which was fixed in under 24 hours.
Please click the following link to check the current stability of this plugin:
https://plugintests.com/plugins/hide-cart-functions/latest
1.1.4 03/24/24
– Make Custom Message field compatible with WPML
– Assure compliance with WordPress 6.5
– Assure compliance with WooCommerce 8.7.0
1.1.3 10/12/23
– Fixed hide buy button conflict
– Assure compliance with WooCommerce 8.2.0
1.1.2 10/10/23
– Fixed cart button for Divi Theme
– Add Portuguese translation
– Update English, French, Russian, Spanish languages
1.1.1 09/28/23
– Update errors in language files
– Assure compliance with WordPress 6.3.1
– Assure compliance with WooCommerce 8.1.1
1.0.9 08/11/23
– Added compatibility with WooCommerce HPOS
1.0.8 08/09/23
– Fixed JavaScript error and another issue
– Assure compliance with WordPress 6.3.0
– Assure compliance with WooCommerce 8.0.0
1.0.7 08/07/23
– Fixed fatal error on line 162 in hwcf-admin file
– Assure compliance with WordPress 6.2.2
– Assure compliance with WooCommerce 7.9.0
1.0.6 02/08/23
– Remove conflicting install script
– Assure compliance with WooCommerce 7.3.0
1.0.5 12/24/22
– Add Product Selection Search Field
– Fix several settings page formatting errors
– Fix multiple user rule selection conflict
– Update English, French, Russian, Spanish languages
– Assure compliance with WordPress 6.1.1
– Assure compliance with WooCommerce 7.2.2
1.0.4 11/12/22
– Add choice of logged-in user and guest user option
– Fix missing custom message to work properly with rules
– Fix for Hide Custom Element fields thanks to @rruyter
– Update language files and add Russian translation
– Assure compliance with WordPress 6.1
– Assure compliance with WooCommerce 7.1.0
1.0.3 06/16/22
– Remove dash appearing in place of hidden price
1.0.2 05/23/22
– Fixed Hide Custom Element fields conflict
– Assure compliance with WordPress 6.0.2
– Assure compliance with WooCommerce 6.5.1
1.0.1 05/03/22
– Fixed feedback bar timeout function
– Assure compliance with WordPress 5.9.3
– Assure compliance with WooCommerce 6.4.1
1.0.0 03/24/22
– Initial release