Support

Home Forums Event Espresso Premium Sliding Scale ticket option

Sliding Scale ticket option

Posted: October 20, 2017 at 4:50 pm

Viewing 4 reply threads


Baynvc1

October 20, 2017 at 4:50 pm

Rather than have a flat price for a ticket, we’d occasionally love the option to use a sliding scale, where the event creator can set a min and max price, and the user can set the amount to anything in between. Is this possible without modifying the core plugin?


Tony

  • Support Staff

October 23, 2017 at 3:39 am

Hi there,

Currently not.

There are hooks available within EE to allow you to modify the code used for the tickets but prices are created within the database and linked to the ticket so the above is not a simple task with the current setup.

If this is vital for your events you could try contacting one of the developers listed here:

https://eventespresso.com/developers/event-espresso-pros/

Those developers are familiar with Event Espresso and may be able to add this functionality for you.


Baynvc1

October 27, 2017 at 1:13 pm

Thanks for the response. Is there a hook available that would enable us to modify the output of the price/prices for an event? I had a look at the documentation but wasn’t sure.


Josh

  • Support Staff

October 27, 2017 at 1:31 pm

These two filters can allow changing how they’re output:

FHEE__EEH_Template__format_currency__amount

FHEE__EEH_Template__format_currency__amount_formatted

See also:

https://github.com/eventespresso/event-espresso-core/blob/master/core/helpers/EEH_Template.helper.php#L457

https://github.com/eventespresso/event-espresso-core/blob/master/core/helpers/EEH_Template.helper.php#L492


Avi

October 29, 2017 at 9:47 am

If you figure this one out, I’d love to hear about it!

Viewing 4 reply threads

The support post ‘Sliding Scale ticket option’ 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