Hide Cart Functions

Description

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. Even better, this is not a crippled trial plugin but a fully working version!

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, Logged-In users only, or both users 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 inherit of WooCommerce itself, not for lack of the plugin.

The plugin’s languages include: English, Spanish and French.

Technical Details for Release 1.0.4

Load time: 0.687 s; Memory usage: 36.38 MiB
PHP up to tested version: 8.1.11
MySQL up to tested version: 8.0.31
cURL up to tested version: 7.86.0, OpenSSL/3.0.7
PHP 5.6, 7.3, 7.4, 8.0, and 8.1 compliant.

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 like 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 plugin setting panel in WordPress settings menu.

Screenshots

  • The Hide Cart Functions Rules Table
  • Top Part of Hide Cart Functions User Selected Settings
  • Bottom Part of Hide Cart Functions User Selected Settings
  • Example of One Setting Selection Active while Three are Deactivated

Installation

  1. Upload the plugin files to the ‘/wp-content/plugins/hide-cart-functions’ directory, or install the plugin through the WordPress plugins screen directly.
  2. Activate the plugin through the ‘Plugins’ screen in WordPress.
  3. Follow plugin setting panel in WordPress settings menu.

FAQ

Is this plugin frequently updated to WordPress compliance?

Yes, attention is given on a staged installation with many other plugins via debug mode.

Is the plugin as simple to use as it looks?

Yes. No other plugin exists that allows the management of the shopping cart so simply.

Has there ever any compatibility issues?

To date, none have ever been reported.

Is the code in the plugin proven stable?

Please click the following link to check the current stability of this plugin:
https://plugintests.com/plugins/hide-cart-functions/latest

Reviews

November 14, 2022
Fantastic Plugin – works well with the Free Product Sample for WooCommerce plugin to hide price and add to cart button but keep the request a sample button! Had a request for additional features and they accommodated it!
November 2, 2022 1 reply
I like the add on. Wish it were more flexible but the current version is working just fine.
March 25, 2022
We did use the "Remove Add to Cart WooCommerce" plugin but it was not supported well and had too many bugs. This plugin not only met our shopping cart needs but did so without issues and with more capabilities! Thanks!
Read all 3 reviews

Contributors & Developers

“Hide Cart Functions” is open source software. The following people have contributed to this plugin.

Contributors

Translate “Hide Cart Functions” into your language.

Interested in development?

Browse the code, check out the SVN repository, or subscribe to the development log by RSS.

Changelog

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
– 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