# Source URL: https://dev.epicgames.com/documentation/en-us/fortnite/creating-items-and-offers-in-fortnite
# Local doc: epic-docs/documentation/en-us/fortnite/creating-items-and-offers-in-fortnite.md
# Section: The Storefront UI
OnEvent(Agent:agent):void=
if(Player:= player[Agent]):
spawn{ShowOffersDialog(Player, array{
ExampleOffers.shovel{},
ExampleOffers.cornseedpacket{}
})}
Verse Library
verse
08 The Storefront Ui
Triggers a custom UI dialog presenting selectable items or recipes to a player upon event activation.
extracted-snippets/documentation/en-us/fortnite/creating-items-and-offers-in-fortnite/08-the-storefront-ui.verse