Properly read cart item class from setting.