Last modified by - 3 years ago
135 Views
1 min read

Order Your Pizza

ThemeBootstrap
Targeted DeviceMedium devices (desktops, 992px and up) users. Collapsed to start, horizontal above breakpoints.
Label PositionTop
Radios and CheckboxesStacked
Element SizeMedium

Shows how to create a basic pizza order by using multiple functions. Notice that the cost changes dynamically based on the options you select.

We set the values of each attribute to be used in calculation in our design. For example, {0}Thin Crust;{0}Hand Tossed;{3}Stuffed Crust set the values for the "Pizza Crust" dropdown.

Of course, when customers submit orders, you may want to set up notifications sending a customized email to you and the customer who made the order.

You can search the functions you are looking for at WP App Studio Available functions page

Formulas used in calculations are below:

Total Cost:

SUM(!#ent_pizza_size#,!#ent_pickup_or_delivery#,!#ent_pizza_crust#,(!#ent_pizza_topping_1#*0.50),(!#ent_pizza_topping_2#*0.50),(!#ent_pizza_topping_3#*1.50))

Note: The attribute tags used in the formulas are based on the names you give to your attributes. So your values may be different.

Order Your Pizza
Was this information helpful?