Create the option for purchased items to either buying or selling. Alternatively, two buttons on each item (add to inventory) and (add to cart) and you can have a little checkout section.
Additionally, current "Shop" naming convention and helper text implies that gold will be decremented although it is not.
Weird, I didn't have a github account.