WooCommerce Code Reference

Enums

Interfaces, Classes and Traits

CatalogVisibility
Enum class for all the catalog visibility values.
CurrencyPosition
Enum class for the possible values of the `woocommerce_currency_pos` option, which determines where the currency symbol appears relative to the price.
DefaultCustomerAddress
Enum class for the possible values of the 'woocommerce_default_customer_address' option.
DimensionUnit
Enum class for the possible values of the 'woocommerce_dimension_unit' option.
FeaturePluginCompatibility
Enum class for feature plugin compatibility.
OrderInternalStatus
Enum class for all the internal order statuses.
OrderItemType
Enum class for all the order item types.
OrderStatus
Enum class for all the order statuses.
PaymentGatewayFeature
Enum class for all the payment gateway feature's values.
ProductStatus
Enum class for all the product statuses.
ProductStockStatus
Enum class for all the product stock statuses.
ProductTaxStatus
Enum class for all the product tax statuses.
ProductType
Enum class for all the product types.
TaxBasedOn
Enum class for the possible values of the `woocommerce_tax_based_on` option, which determines which address is used to calculate tax.
TaxDisplayMode
Enum class for the possible values of the `woocommerce_tax_display_shop` and `woocommerce_tax_display_cart` options, which control whether prices are shown including or excluding tax.
WeightUnit
Enum class for the possible values of the `woocommerce_weight_unit` option, which determines the weight unit used throughout the store.