Dette innstikket er ikkje testa med dei tre siste utgåvene av WordPress. Det kan henda det ikkje blir vedlikehalde lenger, og kan ha problem med nyare versjonar av WordPress.

Non-Purchasable WooCommerce Products

Skildring

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.

Skjermbilete

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

Installasjon

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.

Vanlege spm.

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.

Omtalar

27. juni 2023
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.
24. april 2022
One of my customers was still able to order through the product quick view…
28. november 2021
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.
26. mars 2021
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 !
Les alle 10 omtalar

Bidragsytarar og utviklarar

“Non-Purchasable WooCommerce Products” is open source software. The following people have contributed to this plugin.

Contributors

Endringslogg

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.