updating for v2 cart compatibility