Posted: 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: I have a JPG I can send to support my comment. |
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. |
|
|
Josh, Is the Volume Discount add-on a separate download? I don’t see it in the add-ons page. |
|
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/ |
|
Josh, Where do it place the jQuery you mention above? |
|
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. |
|
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? |
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! |
|
|
Thanks Josh. Here’s another thought I had to approach this situation. |
|
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.