planting your store bought onions ends is like printing money.
I practice a really simple organic / natural / permaculture gardening that you can simply call foundup gardening. The idea is to use stuff you buy to eat and regrow. Onion, chives and garlic etc are easy to regrow. Here is a video on onions