StockDisplayFormat
in package
Enum class for the possible values of the 'woocommerce_stock_format' option.
Tags
Table of Contents
- ALWAYS_SHOW = ''
- Always show the quantity remaining in stock (e.g. "12 in stock").
- LOW_AMOUNT = 'low_amount'
- Only show the quantity remaining in stock when it is low (e.g. "Only 2 left in stock").
- NEVER = 'no_amount'
- Never show the quantity remaining in stock.
Constants
ALWAYS_SHOW
Always show the quantity remaining in stock (e.g. "12 in stock").
public
string
ALWAYS_SHOW
= ''
LOW_AMOUNT
Only show the quantity remaining in stock when it is low (e.g. "Only 2 left in stock").
public
string
LOW_AMOUNT
= 'low_amount'
NEVER
Never show the quantity remaining in stock.
public
string
NEVER
= 'no_amount'
