這個外掛並未在最新的 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 !
2020 年 3 月 31 日
This plugin just works, and it works well 🙂
閱讀全部 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.