Hide Add Cart If Already Purchased – WooCommerce

By Md Rashed Hossain

10+ active installationsVersion 1.0.0

This plugin will hide cart button for logged in user who already purchased the product.

Description

This plugin will hide add to cart button for logged in user who already purchased the product.

N.B: If you want more options in this plugin, please contact with us

Minimum Requirements

  • WordPress 5.0 or greater
  • PHP version 7.0 or greater
  • MySQL version 5.0 or greater

We recommend your host supports:

  • PHP version 7.4 or greater
  • MySQL version 5.6 or greater
  • WP Memory limit of 64 MB or greater (128 MB or higher is preferred)

Installation

This section describes how to install the plugin and get it working.

e.g.

  1. Upload hcap.php to the /wp-content/plugins/ directory
  2. Activate the plugin through the ‘Plugins’ menu in WordPress
  3. Place <?php do_action('plugin_name_hook'); ?> in your templates

Changelog

1.0.0

  • Initial relase