Okay
  Public Ticket #3637205
Substract 1 extra person
Closed

Comments

  • Michel Verschaeren started the conversation

    Hi,

    I'm making a booking page where parents can book me for a birthdayparty to entertain their children (and the friends of the children).

    I would like to know how many children there will be, so I can calculate the price. I found the option: 'Bring other people'. And I would like to use this option. I will change the translation to: 'How many children will be there?'. This way, the parent can make a booking and tell me there will be (for example) 10 children. Everything works, except the tool will count 11 people (1+10) because its counting the parent (normaly a customer) who is booking the service. So before the price is calculated, I would like to subtract 1 person from the total number of persons. 

    Can you help me or explain how I could manage this? Maybe by editing some code? All suggestions are welcome!

  •  1,564
    Marko replied

    Hello there,

    Thank you for reaching out to us.

    Unfortunately, currently, this feature is not built-in in Amelia. There is not way to achieve this at this time. Amelia is designed in that way and to be able to change this you will to rewrite the entire code how Amelia is designed to calculate the persons and the price and how it will show on the booking page and what will be calculated and shown. So for now this is not possible to achieve. You can translate the label for example to say How many children will be there excluding the birthday boy/girl or something similar.

    In light of this, we encourage you to kindly consider submitting this valuable suggestion as a feature request through the following link: https://features.wpamelia.com/. The prioritization of feature development is greatly influenced by the number of customer requests received. By participating and expressing your support, you contribute significantly to the potential expedited implementation of this feature.

    Should you have any further inquiries, we kindly request that you open separate tickets for each question and we will gladly help you there.

    We wish you all the best and hope you have a wonderful day ahead. 



    Kind Regards, 

    Marko Davidovic
    [email protected]

    Rate my support

    wpDataTables: FAQ | Facebook | Twitter | InstagramFront-end and back-end demo | Docs

    Amelia: FAQ | Facebook | Twitter | InstagramAmelia demo sites | Docs | Discord Community

    You can try wpDataTables add-ons before purchasing on these sandbox sites:

    Powerful Filters | Gravity Forms Integration for wpDataTables | Formidable Forms Integration for wpDataTables | Master-Detail Tables