Free attendee based on # of Registrants

  • Garrett Fried
  • Topic Author
  • Offline
  • New Member
  • New Member
More
11 years 7 months ago #48095 by Garrett Fried
Free attendee based on # of Registrants was created by Garrett Fried
I need to implement an event (asap) where within a group registration, for every 10 paid individuals, there is an ADDITIONAL comp individual. Essentially, every 11th person would not be charged.

I toyed with setting this up as a group discount feature, but there are a number of limitations and reasons why I cannot pursue that, unless someone can think why it will ideally work.

I've devised the following formula and, assuming it is even accurate, need to try and implement it some sort of way. In this approach (where there is only a single price for registration), this would maybe be setup as an individual-registration-only format and a custom field can be setup with a fee formula to achieve this.

a = number of individuals attending (whether paid or comp)
x = defined cost for the event
y = the total calculated group cost (with comps)

If a/10 < 1; y=ax

For a>=10;
n:=[(a-a*mod10)/10];
y=ax-nx

If this formula is incorrect or if you know a better way and can outline how to implement this, I'd be very thankful.

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

More
11 years 7 months ago #48107 by Tuan Pham Ngoc
Replied by Tuan Pham Ngoc on topic Free attendee based on # of Registrants
Hi Garrett

Unfortunately, there is no way to setup it to calculate the event registration price like that. With this very specific requirement from you, I am afraid of you will need to build a custom component. From what I see, none of the available extension for Joomla can handle this requirement (and the requirement from your other forum post).

Regards,

Tuan

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

Moderators: Tuan Pham Ngoc