Tsukihime has a plugin to hide shop goods on any condition writable by javascript.
Use that plugin and write as a condition "player has more than xy of the item" - that will work for any non-consumable item or equipment.
If you want the limit for consumable items, you can either make a condition based on a variable value (which is more complex but possible) or you'll need to search for a real shop stock plugin.