plugin-icon

Prevent Purchase for WooCommerce

作者 Andrew Munro·
Prevents a product from being purchased
評價
5/5
版本
1.1.0
活躍安裝總數
60
最近更新:
Nov 2, 2025

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.

免費使用Business方案
目前已測試版本
WordPress 6.8.3
此外掛程式已可供下載,並可用於你 系統。