Food, Merch, and Experience
Navigating to the Order Flow
Currently modal and push navigation to various order flows is supported. Both VenueNextCore
and VenueNextOrderUI
must be imported for this functionality.
One or more ProductType
must be passed into the order flow to display menus.
By default, lists of productType .food have a title of Food & Beverage, .merchandise has a title of Merchandise, .experience has a title Marketplace, and a combination has a title of All Menus. Set title
in the appropriate place in each flow to override this.
Presenting Order Flow Modally
import VenueNextCore
import VenueNextOrderUI
navigationController?.present(VNOrderNavigation.rvcNavigationController(productTypes: [.food], title: "Custom Title", dismissDelegate: self), animated: true, completion: nil)
Pushing Order Flow
import VenueNextCore
import VenueNextOrderUI
navigationController?.pushVNRvCList(for: [.food], title: "Custom Title", animated: true)
Navigating to a Specific Menu
Currently modal and push navigation to a menu is supported. To to navigate to a specific menu, you must be able to provide a menu UUID and a product type. For experience items, an event UUID can also be provided to pick a particular event. Both VenueNextCore
and VenueNextOrderUI
must be imported for this functionality.
Presenting a menu modally
import VenueNextCore
import VenueNextOrderUI
navigationController?.present(VNOrderNavigation.menuNavigationController(menuUUID: uuid, eventUUID: nil, productType: .food, dismissDelegate: self), animated: true, completion: nil)
Pushing a menu onto an existing Navigation Controller
import VenueNextCore
import VenueNextOrderUI
navigationController?.pushVNMenu(for: uuid, eventUUID: eventID, productType: .experience, animated: true)