In James Joyce's short story "Araby," the boy does not end up buying anything at the bazaar. He goes to the bazaar with the intent to bring something back for a friend, but the bazaar is not what he expects and he leaves empty-handed.
The little boy is not able to attend the bazaar until later in the evening. When he arrives, he realizes that the bazaar is much different at night. After experiencing the dark and unexpectedly different atmosphere, he realizes it is too late to bring his friend anything and leaves the bazaar with a much different perception.