Hello Everyone,
I am struggling badly with structuring my database and viewing them:
I am working on a Menu Orders that allows me to do multiple categories and subcategories and viewing them by clicking into each categories and subcategory to select the menu item.
I have created:
#1 separate Option Sets for:
i) Coffee, Smoothies, Lemonades
ii) Sweet Pancakes, Fluffy Pancakes,
iii) Beef Burgers, Chicken Burgers
each Option Sets have fields of name (text) and price (number), these are the menu items I want to reach to select, for example Coffee entries I can have:
name: Black Coffee; price: 4
name: Black Coffee REFILL; price: 0
#2 separate Option Sets for Drinks & Shakes; Pancakes, Burgers
each Option Sets have fields of List of their Option Sets from #1, for example:
i) Drinks & Shakes, field of List of Coffee, List of Smoothies, List of Lemonades
ii) Pancakes, field of List of Sweet Pancakes, List of Fluffy Pancakes
iii) Burgers, field of List of Beef Burgers, List of Chicken Burgers
the way I am thinking is each category in this layer I can have multiple Orders, such as I can pick Drinks & Shakes and pick a Black Coffee, and pick Burgers and pick a Beef Burger; or Drinks & Shakes and pick Black Coffee and Lemonade, and nothing with Pancakes and Burgers just the Drinks for this Order
#3 lastly a Data Type Orders with fields of each List from #2
i) field of List of Drinks & Shakes
ii) field of List of Pancakes
iii) field of List of Burgers
the way I am thinking is each Order is a new Order separated from other Orders
when I try to use Repeating Group to show the data by selecting Type of Content is Orders, and Data Source search for Orders; a text field to for example picking Current Order’s cell Drinks & Shakes Display and nothing shows
am I doing it very wrong or too messy or something is just not right?
is it the way I structure the database? but I may have more complex options in the Menu, such as Pancakes, I may want to add a new Option Sets to choose a List of Add Ons such as Adding a new Egg, or adding new Sausages; and for Egg, I may need another Option Set to choose a List of How the Egg is done such as scramble, sunny side up, egg whites only etc
Please if anyone can advice me the right direction, thank you!!!