- This topic has 2 replies, 2 voices, and was last updated 6 years ago by .
Viewing 3 posts - 1 through 3 (of 3 total)
Viewing 3 posts - 1 through 3 (of 3 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Two categories with a fixed number of participants and one price scale
Hello, there,
I have a problem I’ve been looking for a solution to for days. The following scenario is the initial situation.
A guesthouse has houses with 2 different categories (standards). In each category there are staggered prices for different age groups. But each category has a fixed number of places available.
So far this form ran under Joomla and there I could solve it well.
Now I want to do the same with EME under WordPress.
So far a user could register e.g. his family. The number of persons to be registered was queried. Then the corresponding number of “subforms” was generated for each family member. There you could choose the house category and the price category (depending on age), the name etc.
I could not rebuild this with EME so far. My approach was now to query the number for the individual categories in advance and then generate the corresponding number of subforms. That works quite well so far. But I’d rather have it as described above. Is there a way to query the category first in the “subforms” for the individual participants and then the price category (depending on age)?
Thank you
Translated with http://www.DeepL.com/Translator
That might sound a little confusing. But maybe it’s better to understand when you see the form. But it is in German and under Joomla. https://singwochen.de/buchen/15-klingender-jahreswechsel-2018/group-registration.html
While EME can provide subforms (using dynamic data), it is only 1 level deep. If you want some fields based on info per field, you’ll need your own jquery for that.
But even the subform can contain fields that influence the total price 🙂