TheCartPress API/Custom Fields functions

TheCartPress defines useful PHP functions for use in Themes or in plugins development. Those functions has been defined in the same way WordPress has defined its Template Tags.

This article lists the Custom fields template Tags defined in TheCartPress.

TheCartPress allows to create a set of custom fields. These custom fields are absolutely compatible with WordPress custom fields.
Since version 1.1.0 TheCartPress allows to sale any Post Type. Visit tcp_get_salable_post_types filter.
The custom fields are associated with a Post Type. For example, an eCommerce could sell Cars and motorbike. Each type could get a different template and different custom fields.