fixing price setting based on type