SupponShopStock BugFix Bypass Item Categories

I am using this script for a shop trade feature. sold goods become the goods that the shop can sell. and goods have limited stocks.

the script can be found here

The bug is that, for the items that can be purchased to be refreshed, it has to pass thru the item categories. I am looking for some one to by pass the item categories when buying.

Original thread: https://forums.rpgmakerweb.com/threads/supponshopstock-bugfix-bypass-item-categories.120357/