该插件尚未通过WordPress的最新3个主要版本进行测试。 当与较新版本的WordPress一起使用时,可能不再受到维护或支持,并且可能会存在兼容性问题。

Non-Purchasable WooCommerce Products

描述

Set certain WooCommerce products to be non-purchasable (display-only), with a custom message and button text.

Features

  • Set is_purchasable status of products.
  • Works with all product types, including variable products.
  • Customise the button text and message on product pages.
  • Disable the message output altogether if desired.

屏幕截图

  • Set a product to "Non-Purchasable" in the Product Data box.
  • Set custom text for the archive page button or single product page message.
  • A product archive page with two products set to "Non-Purchasable".
  • A Non-Purchasable product's page with a customisable message.

安装

Via FTP

  1. Upload non-purchasable-woocommerce-products to the /wp-content/plugins/ directory.
  2. Activate Non-Purchasable WooCommerce Products through the ‘Plugins’ menu in WordPress.
  3. That’s it! The default settings are applied automatically, and you can make further changes in the options page at WooCommerce > Settings > Products > Non-Purchasable Products if you wish.

Via WordPress Admin

  1. Go to Plugins > Add New.
  2. Search for Non-Purchasable WooCommerce Products and click Install.
  3. Click Activate once installation is complete.
  4. That’s it! The default settings are applied automatically, and you can make further changes in the options page at WooCommerce > Settings > Products > Non-Purchasable Products if you wish.

常见问题

Do I need to configure this plugin or change any settings?

No. The default settings are applied automatically once the plugin is activated, but you can change settings and the messages output through the options page (WooCommerce > Settings > Products > Non-Purchasable Products) if you wish.

评价

2022年4月24日
One of my customers was still able to order through the product quick view...
2021年11月28日
A simple checkbox on the product page, and a global message (in which you can include HTML) to show in place of the buy button on products for which you have checked the box. You can choose to have the message displayed in a colored box or as normal text. This is exactly what I wanted with no added complexity. If I had one wish, it would be for the "is purchasable" attribute to be bulk editable. When I take my art to a show, I would like to toggle the purchaseableness all the pieces I'm taking in a single action instead of editing each one.
2021年3月26日
I was looking for a simple solution to offer a catalog of products that cannot be sold online. By chance I found this plugin. And everything works as I wanted. Thank you !
2019年6月12日
Please consider adding an option "mark product as out of stock" in the options, so when you tick "non-purchasable" it also marks the product as out of stock too (prevents people with the product already in their cart from purchasing it) - yes, you can do it with another couple of clicks in the product page, but might save some time!
阅读所有8条评价

贡献者及开发者

“Non-Purchasable WooCommerce Products” 是开源软件。 以下人员对此插件做出了贡献。

贡献者

更新日志

1.4

  • Refactor.
  • Bug fixes.
  • Admin product table column removed.
  • Icon added to admin product table.
  • Tested with latest version of WooCommerce.

1.3

  • Added option to display raw HTML output instead of default WooCommerce message wrapper.
  • Added unique class name to front-end message wrapper.

1.2

  • Moved the in-product checkbox to it’s own tab due to issues with variable/grouped products.
  • Added a link to the settings in the product data tab section.
  • Tested with WordPress 4.9.8.

1.1

  • Added “Purchasable?” column to the “Products” admin screen.
  • Added option on the settings page to hide “Purchasable?” admin column.
  • Fixed a couple of typos (again).
  • Tested with WordPress 4.9.7.

1.0.2

  • Increased filter priority to avoid potential plugin conflicts.

1.0.1

  • Fixed minor typos.

1.0

  • Initial release.