cart functions update 2.2