Added support for priority on cart creation