Hello,
I am creating a catering website in which there would be different food items listed with checkbox options for multiple item selection.
Lets say the user chooses a few items and also provides the number of people whom the order is for.
How can we calculate the total based on the number of items chosen : (price for item a + price for item b..) and multiply it by a variable factor depending on the number of people for whom the order is for for e.g (a+b)*.75 if number of people > 200 or (a+b)*1.25 if number of people is <100 and display it on the next page to the viewer as the total estimate.
Thank You
I am creating a catering website in which there would be different food items listed with checkbox options for multiple item selection.
Lets say the user chooses a few items and also provides the number of people whom the order is for.
How can we calculate the total based on the number of items chosen : (price for item a + price for item b..) and multiply it by a variable factor depending on the number of people for whom the order is for for e.g (a+b)*.75 if number of people > 200 or (a+b)*1.25 if number of people is <100 and display it on the next page to the viewer as the total estimate.
Thank You
Comment