Price Fieldtype API

You can create your own CartThrob Price fieldtype by adding a cartthrob_price method to your fieldtype:

/**
 * @param $data The field data
 * @param $item The Cartthrob_item object
 */
public function cartthrob_price($data, $item = NULL)
{
    return $data;
}