PLEASE NOTE: These forums are no longer utilized and are provided as an archive for informational purposes only. All support issues will be handled via email using our support ticket system. For more detailed information on this change, please see this blog post.

How to calculate pricing fields with multiple quantities eg hotelrooms+nights?

  1. sammet
    Member

    Hi All!
    I am using GF for hotel pre-reservations (without availablity).

    If the customer has for example 3 hotels to choose from and each hotel has single and double rooms, what is the best way to structure the form?

    I have made a drop down menu with hotel 1, hotel 2, hotel 3 and then added in total 6 pricing fields with the costs per night at each hotel for single and double. All with conditional logic so when a customer choose for example hotel 1 the two pricing fields for that hotel's single and double room are showing up. The idea is here tht the customer choose how many of each type of rooms they want to reserv.

    A total field is added thereafter showing the total price of number of rooms. But this way only show the price for one night.

    What I am wondering now is how to make the form to calculate the number of nights? What kind of field I use? I have tried to add option filed and number field but the total is not changing.

    Happy for any information and tips on how to make this work. Should I have another approach then the one i have started with?

    Thanks for help!
    Best regards
    Sammet

    Posted 13 years ago on Thursday September 1, 2011 | Permalink
  2. Did you disable the quantity field for your product fields (the single and double room prices)? Couldn't the visitor just select the number of nights by selecting a quantity?

    Posted 13 years ago on Thursday September 1, 2011 | Permalink