Support

Home Forums Event Espresso Premium Automated price changes based on class numbers

Automated price changes based on class numbers

Posted: September 7, 2018 at 10:05 am

Viewing 2 reply threads


Troy

September 7, 2018 at 10:05 am

Hey Josh – Is there a way you know of to automate price changes based on what percentage of how full the class is? Example –

Base price $50
Class reaches 1/2 full – price increases to $55
Class reaches 3/4 full – price increases to $60

Do you know of any of your independent or internal programmers who have coded this before?

We currently do this process manually which is a hassle since we have 150 active classes. Manually doing price changes is really time consuming, not to mention not performed on weekends or evenings and not as frequent as we wish we could.

I know that you can have discounts with the ‘Promotion’ add-on but looking for something based on popularity/attendance not just dates.


Josh

  • Support Staff

September 7, 2018 at 11:03 am

Hi Troy,

For a fully automated solution you would need to contract with a developer. We now recommend contacting codeable.io for all custom development requests. I’m not aware of anything like what you’ve described being requested or developed before.

One thing you could do is set the prices right from the start to make them all available, but set the limits accordingly.

So as an example, a class with a registration limit of 32 could have 3 ticket options set up:
First 16 registrations (set the Qty limit to 15) = $50
next 8 registrations (set the Qty limit to 8) = $55
last 8 registrations (set the Qty limit to 8 = $60

Then, add a tiny bit of JavaScript to hide the higher-priced options until the prior options are sold out:
https://gist.github.com/joshfeck/b9fc5928507721bb90dd470ebcbe00fe
You can add the above to a functions plugin or (if available) into your WordPress child theme’s functions.php file.


Troy

September 7, 2018 at 12:57 pm

I have used codable.io. Another great ‘for hire’ site is Upwork. Ill seek out a developer to figure this one out. Thanks.

Viewing 2 reply threads

The support post ‘Automated price changes based on class numbers’ 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