Constants

PHP constants used throughout Shopp

SHOPP_ADDON_ERR

Used for Shopp module errors, such as bad addon descriptors, version requirements.

SHOPP_ADMIN_DIR

Admin interface directory stub.

SHOPP_ADMIN_ERR

Used for Shopp admin errors.

SHOPP_ADMIN_PATH

Full filesystem path to shopp/core/ui/

SHOPP_ADMIN_URI

Shopp plugin url to shopp/core/ui/

SHOPP_ALL_ERR

Used for logging all errors in Shopp.

SHOPP_AUTH_ERR

Used for login and credential errors.

SHOPP_COMM_ERR

Used for communication, connectivity errors.

SHOPP_DBPREFIX

Configurable prefix to shopp tables. Default ‘shopp_’

SHOPP_DBSCHEMA

Full filesystem path to the ‘shopp/core/model/schema.sql’ DB schema file.

SHOPP_DB_ERR

Used for logging Shopp database errors.

SHOPP_DEBUG_ERR

Used for logging debug level message.

SHOPP_DIR

Base directory name of Shopp plugin.

SHOPP_DISABLE_SHORTWORD_SEARCH

Configurable flag to disable short word search filter.

SHOPP_EDITOR_MEDIA_BTNS

Configurable flag to show or hide the media buttons.

SHOPP_ERR

Used for general errors visible to the shopper.

SHOPP_FLOW_PATH

Full filesystem path to shopp/core/flow/ directory, which contains flow controller class definitions.

SHOPP_GATEWAYS

Full filesystem path to shopp/gateways/ directory, which holds gateways add-on modules for Shopp.

SHOPP_GATEWAY_TIMEOUT

Configurable timeout in seconds for gateways. Default 10.

SHOPP_GATEWAY_USERAGENT

Configurable useragent for Shopp server to server connections.

SHOPP_ICONS_URI

Shopp plugin url to shopp/core/ui/icons/

SHOPP_IMAGES_PATH

Configurable filesystem path to Shopp images.

SHOPP_LOG_PATH

Configurable filesystem path to Shopp log directory.

SHOPP_MODEL_PATH

Full filesystem path to shopp/core/model/ directory, which contains Shopp object model class definitions.

SHOPP_NAMESPACE_TAXONOMIES

Configurable flag to include storefront slug in Shopp taxonomy slugs. Default true.

SHOPP_NOSSL

Configurable flag to disable SSL across the storefront. Default false. (Unsupported)

SHOPP_NOTFOUND_IMAGE

Configurable filesystem path to broken product image file. Default not set.

SHOPP_PATH

Full filesystem path to Shopp plugin directory.

SHOPP_PHP_ERR

Used for logging PHP errors in Shopp.

SHOPP_PLUGINFILE

Base Shopp plugin directory and filename.

SHOPP_PLUGINURI

Shopp plugin url.

SHOPP_PREPAYMENT_DOWNLOADS

Configurable flag to allow download on order before payment is complete. Default: false

SHOPP_PRODUCTS_PATH

Configurable filesystem path to Shopp product files.

SHOPP_REVISION

Revision string of Shopp.php

SHOPP_SEARCH_LOGIC

Configurable search logic.

SHOPP_SECURE_KEY

Configurable hash value for creating Shopp security cookie.

SHOPP_SESSION_TIMEOUT

Configurable session timeout value in seconds. Default: 7200

SHOPP_SHIPPING

Full filesystem path to shopp/shipping/ directory, which holds shipping add-on modules for Shopp.

SHOPP_SHIPPING_TIMEOUT

Configurable network connection timeout for shipping modules in seconds. Default: 10

SHOPP_STOCK_ERR

Used for inventory warnings, low stock, and out of stock.

SHOPP_STORAGE

Full filesystem path to shopp/storage/ directory, which holds storage add-on modules for Shopp.

SHOPP_TEMP_PATH

Configurable filesystem path to the temporary file storage directory.

SHOPP_THEME_APIS

Full filesystem path to shopp/api/theme/ directory, which holds the Theme API class definitions.

SHOPP_TRXN_ERR

Used for transactions errors, triggered by third-party services, such as payment processors.

SHOPP_TXNLOCK_TIMEOUT

Configurable concurrency database lock timeout in seconds, used for purchase creation. Default: 10

SHOPP_UNSUPPORTED

Configurable flag to prevent Shopp from loading. Shopp is not loaded if set to true. Default unset.

SHOPP_VERSION

Current version of of the running Shopp plugin.

SHOPP_WPADMIN_URL

Value of admin_url() at the time Shopp plugin is included.

WP_PROXY_HOST

Configurable proxy host. Used to proxy gateway and shipping module connections.

WP_PROXY_PASSWORD

Configurable proxy password. Used to proxy gateway and shipping module connections.

WP_PROXY_PORT

Configurable proxy port. Used to proxy gateway and shipping module connections.

WP_PROXY_USERNAME

Configurable proxy username. Used to proxy gateway and shipping module connections.

© Ingenesis Limited. Shopp™ is a registered trademark of Ingenesis Limited.

Skip to toolbar