[WIP]Add Cart Index Function (Incomplete)