This tutorial teaches you how to make a very basic shop system for your game with unity’s playerprefs to save and load the data.
You can modify it to include your own custom consumables and stuff.
For more information on how to use the script given below, check out the tutorial first.