Support

Home Forums Event Espresso Premium Variable Pricing attendee limits

Variable Pricing attendee limits

Posted: October 17, 2013 at 10:07 am


Gary Peterson

October 17, 2013 at 10:07 am

I am trying to create a multi-priced event structure for our client where the 1st person pays full price, and additional attendees pay a reduced amount.

How can I set up the multi-level pricing so only 1 registrant is available in the drop-down menu for number of registrants at the full price, but multiple people can register at the discounted rate.

Here’s a link to my test event:
https://mantec.org/event-registration/?regevent_action=register&event_id=46

I have a JPG I can send to support my comment.


Josh

  • Support Staff

October 17, 2013 at 10:55 am

Hi Gary,

One way to do this would be to write some custom jQuery to change the value in the *first quantity select box* to make it 1.

You can try something along the lines of this:

jQuery(document).ready(function(){
    jQuery('.price_id').first().find('option').remove().end().append('<option selected="selected" value="1">1</option>').val(1);
    jQuery('.price_id').last().find('option:last').remove();
    jQuery('#event_espresso_refresh_total').trigger('click');
});

The other option you can look into is using the Volume Discounts add-on. It will let you discount the entire cart when it meets a specific threshold (in this case two or more registrations will kick in the discount). It’s different in that the discount would apply to all the tickets, so the discount amount would need to be factored accordingly.


Gary Peterson

October 17, 2013 at 11:21 am

Josh,

Is the Volume Discount add-on a separate download? I don’t see it in the add-ons page.


Dean

October 18, 2013 at 12:24 am

Hi Gary,

Volume Discounts is still in pre release, so you will need to sign up to the channel to get access to it, please see here – https://eventespresso.com/wiki/pre-release-channel-guide/

Alos here is the volume discount docs https://eventespresso.com/wiki/volume-discount-add-on/


Gary Peterson

October 24, 2013 at 4:04 am

Josh,

Where do it place the jQuery you mention above?


Dean

October 24, 2013 at 6:10 am

Hi,

The easiest place would be in the template file, so shopping_cart.php, in between script tags. Be careful not to add it to a place where there is PHP. The bottom of the file is usually ok, but make sure if there is PHP that there is a closing PHP tag – example http://d.pr/i/sSBH

<script>
jQuery(document).ready(function(){
    jQuery('.price_id').first().find('option').remove().end().append('<option selected="selected" value="1">1</option>').val(1);
    jQuery('.price_id').last().find('option:last').remove();
    jQuery('#event_espresso_refresh_total').trigger('click');
});
</script>

You could also create a small plugin to add the javascript, or add the javascript to a .js file and call that from the template.


Gary Peterson

October 24, 2013 at 10:02 am

That worked. Thanks guys!

I have another question though. On this same site, we have times when one attendee to an event may be invited to attend for free (because they are receiving an award for instance), but they may register with multiple attendees. Is it possible to have a coupon/discount that would apply to one individual attendee out of a group?


Josh

  • Support Staff

October 24, 2013 at 3:00 pm

Hi Gary,

Not at this time. They would have to register an individual to use a free promo code. It’s a good idea though. I’ve registered your suggestion and we will keep it in mind for future features and updates!


Gary Peterson

October 25, 2013 at 6:53 am

Thanks Josh. Here’s another thought I had to approach this situation.
Is it possible to create an event that isn’t public. In other words, for the free attendee that is going to be invited we create a special event for these free folks that does not display on the site, but we can email them a link so they can register?
A private event that we could send a URL link to the attendee.


Sidney Harrell

October 25, 2013 at 4:01 pm

We don’t have a private event status built in, but you can do it with categories. Create a category called “public” and attach that category to all your events except the private one. For the public listing of events on your site use the [EVENT_LIST category_identifier=your_category_identifier] shortcode (use the category identifier for your “public” category. Do the same for your calendar shortcode.

The support post ‘Variable Pricing attendee limits’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso