state configuration for cart