Question about inventory widget and calculation.

  • CharlesRuppert
    Asked on July 24, 2015 at 2:34 PM

    I have designed a booking form on your platform which everything works great except the client wants one change. Where I have the hunts set up he only has room for six hunters if they book 2 hunters one guide. But if they book one hunter one guide he only has room for 3. Is there any way either by using the calculations are the inventory plugin itself to reduce the number of 2 hunters one guide down if someone books one one hunter one guide are vise versa. I have talked to coder freinds of mine and it baffled them as well but hoping you guys have a solution and if you do I will be able to bring alot of business your way because I have close to 30 more outfitters that want sites but the reservation is the hardest piece to fit. There is a ton of software out there for booking but hard to find good software dedicated to outfitters.

     

     

    Also I have conditions setup on the form that dont seem to be working correctly when you click on the week it is suppose to open the pricing for that week but when I get it to work it works for awhile than suddenly stops working.
  • BJoanna
    Replied on July 24, 2015 at 3:34 PM

    If I understood it, if a booking is made for 1 guide and 2 hunters (3 people) the only available room is with 6 beds.

    And if it is 1 guide and 1 hunter (2 people) then only it will be offered rooms with 3 beds.

    Is that what you want to achieve? If not please provide us more details about your request.

    Looking forward to your reply.

    I have moved your other question to separate thread and we will provide you and answer there shortly. 

    http://www.jotform.com/answers/619071 

  • CharlesRuppert
    Replied on July 24, 2015 at 5:19 PM

    No they have plenty of room for more people to stay. But if someone books a one person one guide hunt than it would reduce the amount available of the 2 person one guide hunt to 4. So basically there is a total room for 6 hunters if they all go 2 people one guide but if it is one person one guide there is only room for 3.

  • Mike
    Replied on July 24, 2015 at 6:58 PM

    To clarify this, do you mean that there are only 6 slots available per hunting trip (May 15 - May 20 on the below screenshot)?

    Question about inventory widget and calculation Screenshot 20

    For example, 4 hunters + 2 guides, 3 hunters + 3 guides or 2 hunters + 1 guide + 3 observers?

  • CharlesRuppert
    Replied on July 24, 2015 at 7:08 PM

    So if we take the first week there are 6 slots available for 2 hunters on guide.

    But if they want just one hunter one guide ther are only 3 slots available.

    So if he books 2 hunters for the two hunter and one guide

    Than book 1 hunter and one guide there is only:

    2 hunters one guide available or one hunter one guide

  • Boris
    Replied on July 24, 2015 at 9:54 PM

    So if I understand you correctly, the available slots should be tied to the number of available guides, and there are 3 guides in total for any given date.

    If this is the case, I would actually recommend that you please use the Inventory widget to store just the guides available, rather than the entire "packages" of hunters+guides that your users are purchasing. By storing just the guides available in the Inventory, you would only need one Inventory widget per date.

    Then, you can use Conditional Logic to output the number of guides that they have booked to another field, so that it can be used to further present them options to select between two hunters per guide, or one hunter per guide. (You can hide this field, but I have left it visible so that it can be seen in action.)

    Question about inventory widget and calculation Screenshot 40

    I have simply added three more radio button fields underneath, where your customers can select if the wish to book two hunters per guide, or one hunter per guide. These radio buttons are shown conditionally, depending on the number of guides selected.

    Question about inventory widget and calculation Screenshot 51

    Question about inventory widget and calculation Screenshot 62

    You can assign Calculation values to these radio option by following our guide on How-to-Assign-Calculation-Value.

    I have set up a demo form here: http://www.jotformpro.com/form/52048143106950 (you can clone it to take a closer look)

    All that would be left on the demo form is to set up the calculation field to calculate all the selected fields in the Guide numbers, and pass that calculated value to the Payment Tool.

    I hope this helps. Please let us know if you need further assistance.