Most of my events are actually free. How can I disable all payment options including not showing the ticket price (not even $ 0.00), skip the payment steps,etc?
Also, I need to disable the quantity since our policy strictly allow only one ticket for each person.
This is possible in Event Espresso 4 with some tutorials that we have on our EE4 documentation site.
If the registration is free, then EE4 will ask for the type of ticket (if there are multiple) and then the attendee/registrant information. If the registration has a mix of free and paid tickets, then it will collect the information above in addition to ask for payment.
If the price is zero (free), then this filter will change the pricing to show free:
function convert_zero_to_free( $amount, $return_raw ) {
// we don't want to mess with requests for unformated values because those may get used in calculations
if ( ! $return_raw ) {
$amount = $amount == 0 ? __( 'free', 'event_espresso' ) : $amount;
}
return $amount;
}
add_filter( 'FHEE__EEH_Template__format_currency__amount', 'convert_zero_to_free', 10, 2 );
The quantity available can also be set to 1 by using the minimum and maximum option for a ticket:
The support post ‘Disable any payment 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.
Considering Event Espresso for a new project? Tell us more through our contact page.