I think the shop bought prefried onion has been taken well past the point where it might reasonably be expected to be used in a base recipe. I might, however, expect to see it as a garnish to a dish or perhaps an ingredint in something like a dupiaza.