Not for sale

Categories

Component ID

585608

Component name

Not for sale

Component type

module

Maintenance status

Development status

Component security advisory coverage

not-covered

Downloads

3371

Component created

Component changed

Component body

This provides a flag on Ubercart product nodes, to mark them as not being for sale. When you disable a product by flagging it, it doesn't show the 'Add to cart' button or the product attributes form in either normal node display or Views. In other ways, it continues to behave as a normal published node.

You might want this for an organization that sells its own publications, some of which are out of print but whose product nodes should still appear on the site.

This module is independent of stock levels: if you want to mark products as out of stock, you should look at various other modules that tackle this.

Installation

Use the 6.x-1.x branch for Flag 6.x-1.x, and the 6.x-2.x branch for Flag 6.x-2.x.

Install the module as normal, then at admin/store/settings/price-handlers:

  • Rearrange the list of handlers so the Not for sale handler is the first in the list
  • Select Not for sale price handler as the formatter