changes for cart events. Purchase event is partially done