MV Plugin that tracks gold spent at a shop?

Hey, I'm wanting to make a system where the players will be rewarded for spending gold at a shop, i.e. funding the shop. I have found a plugin that tracks the universal gold spent, but is there a plugin that can just track an individual shop?
When your shop is buy-only you could use Variables to determine the difference between the player's gold before and after visiting the shop.
Figured it out actually, don't worry.

EDIT: didnt see that reply when I posted this, sorry. But yeah I did that, subtracted the gold after visiting by the gold before visiting, then added the total to a 3rd variable. Shop is buy only so shouldn't have any issues with this
I have a function in progress to track gold in spent, saved in different variable.
the same way for items, sold and bought 🙂

it's experimental, so it's not fully tested yet.
And just in case you have any shops that can buy and sell, there are plugins for this; I Googled "rpg maker mv plugin gold spent shop" and this came up:

I know I've also seen threads with something by caethyril, so you could try browsing her MV plugin thread if anyone needs an alternative.

Original thread: https://forums.rpgmakerweb.com/threads/plugin-that-tracks-gold-spent-at-a-shop.171914/