Support

Home Forums Pre-Sales Disable any payment option

Disable any payment option

Posted: June 9, 2014 at 1:09 pm


luqman rom

June 9, 2014 at 1:09 pm

Hi,

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.

Thanks


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 1:45 pm

Hi Lugman,

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:

https://eventespresso.com/wp-content/uploads/2014/05/event-editor-minimum-maximum-quantity.png

You’ll need to have an active support license to view the entire tutorials:

https://eventespresso.com/wiki/show-ticket-price-zero-free/

https://eventespresso.com/wiki/setup-default-value-1-ticket-selector/


Lorenzo

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.

Event Espresso