different prices for adults and children

More
11 years 8 months ago #17517 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Re: different prices for adults and children

Xiaotian Tan wrote: No, my event price is set to 1500.


Please set the event price to 0 and Test it again !

Tuan

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #17525 by Butterfly Internet
Replied by Butterfly Internet on topic Re: different prices for adults and children
Hi, it works only if I set the event price to 0.

Does this mean I can't do calculation for the FIELD with event price?

What's the point of the fee formular then?

Please Log in or Create an account to join the conversation.

More
11 years 8 months ago #17526 by Butterfly Internet
Replied by Butterfly Internet on topic Re: different prices for adults and children
Another problem I found is the custom field for event.

I add new textarea parameter, but it somehow strips out my html.

My parameter in fields.xml:
<param name="field_agenda" type="textarea" label="Agenda" rows="10" cols="50" description=""></param>

Html I typed in field_agenda:
<p>9am to 10am: Meeting</p>
<p>9am to 10am: Meeting</p>
<p>9am to 10am: Meeting</p>
After save, it become as follows:
"<p>9am to 10am: Meeting</p>

Please Log in or Create an account to join the conversation.

  • VICTOR PINTO MIGUEL
  • Offline
  • New Member
  • New Member
More
8 years 10 months ago #64075 by VICTOR PINTO MIGUEL
Replied by VICTOR PINTO MIGUEL on topic Re: different prices for adults and children
Hello.
In mobile the cart (amount) change?

Cristina

Please Log in or Create an account to join the conversation.

More
7 years 5 months ago #90534 by Andrew Hicks
Replied by Andrew Hicks on topic Re: different prices for adults and children
Hi Tuan
I am trying to use the fee field feature as a multiple of the event price, rather than setting the event price to zero.
My field is called "number_of_attendees"
So the calculation should be ([NUMBER_OF_ATTENDEES] * [ITEM_AMOUNT])
only this seems to have no effect on the total amount when I test it.
We have fee fields working perfectly for other items.
Is the variable name [ITEM_AMOUNT] correct? This is what is used in the invoice fields as ticket price.
You have kindly made an enhancement for us to use Event Custom Fields as variables in fee field calculations, so one solution to this would be for us to create an additional Event Custom Field (called "price") and always set that as the same value as the event price. Then we could use the formula ([NUMBER_OF_ATTENDEES] * [PRICE])
I know that would work, but it seems clumsy and I wanted to check first if I am simply using the wrong variable name to access the price field value.
Thanks,
Andrew

Please Log in or Create an account to join the conversation.

More
7 years 3 weeks ago #96856 by OTWD
Replied by OTWD on topic different prices for adults and children
I setup a Radio field
"Is this member a child? Yes / No"
If Yes Fee Value = -30
That way you can keep an accurate track of numbers registered and give a child discount.
Tuan it would be good to add to the custom fields "Hide on first Member" option as this would mean the option to select Child Yes / No would only apply to members 2 onwards - in my case the first member should alway be an adult!

Success consists of going from failure to failure without loss of enthusiasm.

Please Log in or Create an account to join the conversation.

More
7 years 2 weeks ago #96905 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic different prices for adults and children
Something we can consider adding support for in the future if there are more customers requesting for it. For now, I want to focus working on other more important features first

Regards,

Taun

Please Log in or Create an account to join the conversation.

More
6 years 5 months ago #105869 by Andrew Hicks
Replied by Andrew Hicks on topic Re: different prices for adults and children
Hi Andy,
I had the same problem. I solved it by creating some extra fields under Individual Registration so the person registering could include more than one attendee - but the additional attendee details would be 'fixed' - ie always the second person would vbe the spouse.
The key is to create a custom field 'Number of Attendees' as a radio button with values of either 1 or 2 and then feed the result of this into a fee field based on the following formula:
(([NUMBER_OF_ATTENDEES]-1) * [PRICE])
this then gets added to the overall price for that registration.
It works beautifully - though the additional attendees appear in separate columns of the output reports we can live with that.
It also means you need a second custom field called Price - so an event admin has to put price into two places.
Hope this makes sense for you.
Regards,
Andrew Hicks

Please Log in or Create an account to join the conversation.

Moderators: Tuan Pham Ngoc