這個外掛並未在最新的 3 個 WordPress 主要版本上進行測試。開發者可能不再對這個外掛進行維護或提供技術支援,並可能會與更新版本的 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.

評價

2023年6月27日
I wish there was an easy way to mark it as non-purchasable without having to go into the edit product screen. I have a ton of products I want to use this on and it’s a pain to have to singling edit every one of them.
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 !
閱讀全部10個評價

貢獻者及開發者

“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.