BACK TO DIRECTORY

Prevent Purchase for WooCommerce

by Andrew Munro / AffiliateWP

5.0
(1 ratings)

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.

Plugin Details

Active Installs
60
Total Downloads
2,892
Version
1.1.0
Requires WP
3.3
Requires PHP
Tested Up To
6.8.8
Added
2015-03-19
Last Updated
2025-11-02 9:05pm GMT

Ratings

5
1
4
0
3
0
2
0
1
0