From the Super Mario Wiki
Retrieved from "http://www.mariowiki.com/index.php?title=Item_Bag&oldid=1876882"
The player can acquire this item by purchasing it from an ordinary Item Shop within the two respective games. It costs thirty Coins. When purchased; the player automatically opens the Item Bag, revealing three random items. It can contain common items or even rare items normally not available for purchase from Item Shops. In addition, the bag can contain a pair of the same items or all three different items.
If the player has one or two items held in the player's inventory, the player can only acquire one or two new items depending how many are already in the inventory. The remaining item or items in the bag remain inside and then the bag is discarded.
Names in other languages