When both payment modules, Tickets Commerce and WooCommerce, are active simultaneously, you have the option to choose between them for each event. However, Tickets Commerce is set as the default ticket provider. This may not always be desirable, especially if WooCommerce is your preferred payment method, and switching between payment modules for each new event becomes cumbersome.

If you have selected WooCommerce as the payment module for your site and want it to be the default for all future events and tickets you create, you can use the following PHP code snippet.

Add the code snippet to the functions.php file of your theme, or use your preferred method for integrating snippets into your WordPress site, such as the free Code Snippets plugin.

By adding this code snippet to your site, WooCommerce will automatically be selected as the default payment module for new events, provided that Event Tickets Plus and WooCommerce are both active.

For Developers