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.

Tour Booking

  1. geekyumang
    Member

    Here's what I'm trying to achieve.

    Package is a product which includes a certain number of night stay in each city. I want the user to be able to select which hotel he wishes to stay in (different hotel, different prices)

    I want to calculate the price of each product based on the price of the selected hotel.

    Total Price = Package Selected Price + City1 Hotel * No of nights in City1 + City2 Hotel * No of nights in City2

    https://www.evernote.com/shard/s117/sh/38dbd5b5-7961-4ea6-80cd-b6c9147b6578/34f4c62409291db09e7b8bb41a92ef57

    Please help on how this is achievable.

    Posted 12 years ago on Saturday December 8, 2012 | Permalink
  2. David Peralty

    You should be able to use Product Fields to do what you want, including a Calculation type Product field to do the math you posted above.

    Posted 12 years ago on Friday December 14, 2012 | Permalink
  3. geekyumang
    Member

    Here's the case in more detail:

    Package1 - 1night in city1 and 2 nights in city2
    Package2 - 3night in city1 and 1 nights in city2
    Package1 - 4night in city1 and 4 nights in city2
    Package1 - 5night in city1 and 2 nights in city2

    Since each product has 2 variables in itself it is not possible to go by direct calculation as you suggested above. What can be done in this case?

    Posted 12 years ago on Friday December 14, 2012 | Permalink
  4. David Peralty

    Unless you can come up with some way to make the math simple, there isn't any way currently that Gravity Forms can do this. I guess what I'm asking is... how do you currently break down the pricing for this?

    Posted 12 years ago on Friday December 14, 2012 | Permalink