ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

hi guys i want to create an app and with in it i want a function that calculate. Distance to the customer: and a drop down menu with options on distances, i want that person to choose what kind of product he/she wants again with a drop down menu on product names. third one i want the person to choose how many of that products he wants.

at the end with the buttons. i want them to calculate the total price for the products, distance and how many of them he/she. then i want to save the data that was calculated and send them via mail.

can you guys help me out. or give me some ideas on how to it?

Image

Maryna Brodina
Posts: 0
Joined: Thu Apr 05, 2012 7:27 am

First app and difficulties

Hello!

Please clarify what have you tried and what exactly doesn't work?

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

(here is how how i want the drop down menu for distance to the customer gonna be like)
Image

Image

(and here is how the products drop down menu gonna look like)

Image

Image

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

i want to implement this logic's to the app. A calculator that calculates distances and type of product(choose with drop down menu), then how many of the products(choose with drop down menu) the costumer want. then calculate the total price for distances,products and the amount of products.

but i can't find a tutorial video or guide on how to do it.

i watched the video tutorial on how to create an calculator. but it doesn't help me out much.

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

Write a comment...

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

First app and difficulties

Hi Ermias,

Unfortunatly your problem is not clear for us.

So you have two selects. And user can select needed value in these selects. You can store this value or use for calculation. That's how i can see what you have now.

Could you please specify what is not work as you want?

Regards.

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

Hi! Yurri. thank you for your response.
yes that's what i wanted to say.

  1. user able to select a product.

  2. then user selects the distance between him and the company. (The longer the distance, the more the price )

  3. user selects how many of the products he want.

    then i want to store the value and calculate the total price.

    do i need to write java script for this or do something in the database? (i can't write java script)

    when done i want to send it via mail.(if it's posible)

    is there any possible that you guys at appery can help me out on how i can solve or build this?

Yurii Orishchuk
Posts: 0
Joined: Fri Feb 14, 2014 8:20 am

First app and difficulties

Hi Ermias,

Okay, all you described here is able to implement with Appery.io platform.

pre

1. user able to select a product.
2. then user selects the distance between him and the company. (The longer the distance, the more the price )
3. user selects how many of the products he want.

/pre

  1. Use for this goal select or list.

    2.
    2.1.You can use here select(with discrete values) or input.
    2.2. With geolocation service - you can get current user position.
    Details here: http://devcenter.appery.io/tutorials/...
    2.3. Then you can query DB with geospatial request to DB.
    Details here: http://devcenter.appery.io/documentat...

  2. For this goal you can also use select or input. Then this value could be passed to the "query" service "where" parameter.

    And, yes - you can send information via email.
    Here is how to do it: http://devcenter.appery.io/documentat...

    Regards.

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

hi Yurii Orishchuk thank you for the suggestion. but i don't want to set up with the geolocation service.
i have already set up a drop down menu where they person can choose the distance between him and the company.

here you can see the picture.
Image

and here is how i have set up the lable(the distance) and value(the price)
Image

ermias
Posts: 0
Joined: Wed Feb 11, 2015 11:16 pm

First app and difficulties

same goes for the products.

here is the drop down menu
Image

here is the the lable(product names) and value(prices)
Image <a

Return to “Issues”