MV Sell to shop and buy back?

Hello all,

I'm not really sure how to phrase it better than that which may be why I've had such a hard time searching for it. Basically, I was curious if there was a plugin that would allow you to sell equipment to a shop which would then give you the ability to buy it back from them later if you wanted to. If this exists and is hopefully compatible with this plugin: https://himeworks.com/2016/04/shop-manager-mv/ that would be awesome. I appreciate any help.
I found one but it's paywalled

Conceptually it shouldn't be that difficult to write a function for. You'd have to hijack the function that handles subtracting an item from your inventory when you select "sell" (Scene_Shop.prototype.doSell, line 2048 in rpg_scenes.js) and push that itemID into the array that holds that particular shop's items.
I found one but it's paywalled

Conceptually it shouldn't be that difficult to write a function for. You'd have to hijack the function that handles subtracting an item from your inventory when you select "sell" (Scene_Shop.prototype.doSell, line 2038 in rpg_scenes.js) and push that itemID into the array that holds that particular shop's items.
It's paywalled plus extra for a license on tiers all labeled as sold out. I really appreciate the find though. I think I may have to take your advice and play around with some functions and see if something sticks. Thanks.
You might want to check out:
that has stock tracking, not sure if it has an option for sold items to go into the stock.

I did searches for it with "rpg maker mv shop stock" and "rpg maker mv shop inventory"

There are a few others with limited/tracked stock, but I didn't see anything that explicitly listed your sales go into the shop's stock.
Watching this thread for options and if you discover something that works, please update to let everyone else know who might look.

Right now, my default plan is to event my shops to make them do exactly what I want. But I am stubborn about learning through events so that is my default solution to most things and I have plenty of time to play around.

But I very much like having potential plug-in solutions as well. Thanks for asking about this!
@darthbirdy3 No guarantees it will work with Hime's plugin, but Aesica has a plugin that sounds like what you want. It's her Improved Shop plugin.

She's got quite a few awesome plugins, so you might want to look over her other stuff.
@darthbirdy3 No guarantees it will work with Hime's plugin, but Aesica has a plugin that sounds like what you want. It's her Improved Shop plugin.

She's got quite a few awesome plugins, so you might want to look over her other stuff.
This one definitely looks promising. I'll have to test and see whether "Relisting items" means that only the stock of a specific item will go back up or if the shop will list anything sold to it. I'll play around with it and let you guys know what I find when I have some time. Thanks for all the replies, everyone.

EDIT:
It seems like this works perfectly for what I needed. Thanks a bunch. I was having a hell of a time finding this, so I really appreciate it.

Original thread: https://forums.rpgmakerweb.com/threads/sell-to-shop-and-buy-back.156420/