Prevent Purchase for WooCommerce Icon

Prevent Purchase for WooCommerce

By Andrew Munro / AffiliateWP

Active Installs

60+

Last Updated

November 2, 2025

First Released

March 19, 2015

Download History (Last one month)


Contributors

This plugin requires WooCommerce. It allows the site owner to prevent a product from being purchased by enabling a checkbox. It also allows you to override the message on a per-product basis. This will be useful for when you want to let customers know a product is only available in-store but still have the product listed on your website.

How does it work?

This is a very simple plugin that hooks into WooCommerce’s woocommerce_is_purchasable filter. When a product is deemed unpurchasable the “add to cart” button on the main product listing is replaced with a “read more” button. When the customer views the single product page they are shown a message that the product is not available for purchase and the add to cart buttons are removed.

  1. Unpack the entire contents of this plugin zip file into your wp-content/plugins/ folder locally
  2. Upload to your site
  3. Navigate to wp-admin/plugins.php on your site (your WP Admin plugin page)
  4. Activate this plugin

OR you can just install it with WordPress by going to Plugins >> Add New >> and type this plugin’s name

Go to a product’s edit/publish screen and enable the “Prevent Purchase” checkbox. Optionally you can enter in a custom message which is shown on the single product page.

1.1.0

  • Plugin renamed to comply with WooCommerce trademark requirements
  • Added nonce verification and security improvements
  • Improved input sanitization and output escaping

1.0

  • Initial release

No FAQ provided.

Changelog

No changelog available.

<br />
<b>Warning</b>:  Undefined array key /home/ylinkin/truewp.net/wp-content/plugins/truewp-plugin-info/truewp-plugin-info.php on line 756
" width="120" height="120">

Available Versions

Version Download Type
1.1.0 Download Stable
Development Download Trunk

Plugin Info

  • Version: 1.1.0
  • Last Updated: November 2, 2025
  • Active Installs: 60+
  • WordPress Version: 3.3 or higher
  • Tested up to: 6.8.5
  • PHP Version: or higher
  • Tags:    
    disable prevent purchase woocommerce

Ratings


5.0 out of 5 stars. (1 reviews)

See all reviews
Scroll to Top