What are you trying to accomplish?

Describe the whole goal. It plans the items, prices them against your budget, and prepares a basket you approve.

Without a location, prices come back in each shop's own currency — you will be asked for one before searching.

Nothing is bought until you approve the basket.

Or start from an example