I get an error saying Assets\shop_logic.cs(53,12): error CS0103: The name ‘PLayerPrefs’ does not exist in the current context. Maybe it is because there a two scripts with playerPrefs but I am not sure.
You have to be really specific when typing…
PLayerPrefs is not equal to PlayerPrefs when writing code.
Just remove the capital L and you are good to go.