Order History
The Order History feature is the standalone page where users see the recipes they have ordered in the past.
Time to read:
5 minutes
Time for base implementation:
1 hour
Time for full customization:
2 hours
Prerequisites
Packages
To have the Mealz functioning properly, you must install our package MealziOSSDK.
Here are the instructions
Initialize Miam
Also, you must initialize mealz in your AppDelegate.
Here are the instructions
Ingredients
OrderHistory
The OrderHistory Page shows the orders that a particular user has already purchased with Mealz recipes.
This page can be standalone but is automatically included in the MySpace section of the catalog.
Additionally, if the user lands on this page without any previous orders, they can navigate to the Catalog Feature.

OrderDetails
The OrderDetails Page shows the recipes in a particular order.
This page is included with the OrderHistory feature.

ItemSelector
The ItemSelector Page shows other products that the user can replace their current product for.
When the user selects the product they are selecting, they should be navigated back to where they launched from.

RecipeDetails
The RecipeDetails Page shows the information, ingredients, & steps for the recipe.
Optionally, the user can add the item to their basket from the footer.
If the user adds the recipe to their basket, they are navigated to their Miam MyMeals or Basket.
Otherwise, they can just navigate back to the Page they launched from.

SponsorDetails
The SponsorDetails Page shows information about the product or company that is sponsoring a certain recipe.
The content comes from the Sponsor, so only the background, loader, & empty are customizable.
The user just navigates back to the Page they launched from.

Customization
If you would like to customize your components, such as the Background, Loader, or RecipeCard, you can read our documentation here.