search and checkout now works correctly