cart functions update 2.4