Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114

Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Remove payment option for specific event | Event Espresso - Staging Server

Support

Home Forums Event Espresso Premium Remove payment option for specific event

Remove payment option for specific event

Posted: December 17, 2013 at 3:17 pm

Viewing 3 reply threads


Chris

December 17, 2013 at 3:17 pm

I have a client that would like the invoice option for every event but one. Is there a way I can do this. I looked to see if there were any specific css classes put on divs for each event but didn’t see that. I could have just hidden it for that event. Any help is appreciated.


Sidney Harrell

  • Support Staff

December 17, 2013 at 4:05 pm

In the top of gateways/invoice/invoice_vars.php, right after line 5, you can add the following line:

extract($payment_data);
if ($event_id == 5) return $payment_data;


Chris

December 18, 2013 at 12:25 pm

Thnaks,
Can I add this in a place that won’t get overwritten in an update?


Jonathan Wilson

  • Support Staff

December 18, 2013 at 1:47 pm

Hi Chris,

You can copy the invoice gateway directory to wp-content/uploads/espresso/gateways to prevent the files from being overwritten.

Viewing 3 reply threads

The support post ‘Remove payment option for specific event’ 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 - Staging Server