MV shop with only 1 purchase at a time.

heya. i want a plugin that only allows 1 purchase at a time in the shop menu not a stock system but more specifically
removing the ability to buy like 3 of the same item with 1 click. now ik that sounds dumb but my game has a inventory limit
so i don't want that feature. i also want the shop menu to automatically close if a specific variable = (insert number)

Original thread: https://forums.rpgmakerweb.com/threads/shop-with-only-1-purchase-at-a-time.145713/