changing load cart to use the total rows method