Support

Home Forums Event Espresso Premium Woocommerce integration

Woocommerce integration

Posted: June 15, 2021 at 11:10 am


skillstat

June 15, 2021 at 11:10 am

Hi, is there any way to integrate Woocommerce with Event Espresso so that Woocommerce controls the final checkout process and payment processing? Our website sells books and we are going to start selling memberships using the Memberium plugin. We also want to ability to apply things such as discounts and use all the functionality that Woocommerce offers. If there is no integration between Woocommerce and Event Espresso can you tell us roughly the best way to start developing one? We have a coding team.


skillstat

June 15, 2021 at 11:16 am

Update, I found this response from a similar question from the EE support staff named Josh:

Thread: https://eventespresso.com/topic/woocommerce-integration-4/
************************
Hi there,

I thought about this, and I think you’d use a Woocommerce action hook and add a function callback that adds a registration to EE4. This when the action hook in Woocommerce is fired, your custom code will run because it’s attached to that hook.

Then, to interact with Event Espresso’s data, you can use the model system. There’s an example in this documentation:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/G–Model-System/model-querying.md#inserting

There’s also general information about Event Espresso’s action and filter hooks in this document:

https://github.com/eventespresso/event-espresso-core/blob/master/docs/A–Best-Practices/ee-actions-and-filters.md

************

Does anyone have anymore info to give our development team?


Tony

  • Support Staff

June 16, 2021 at 5:36 am

Hi there,

I’m more than happy to answer any questions you may have, but I’m not sure what additional information you would like here?

Integrating Event Espresso into WooCommerce is going to be fairly involved and will depend on the specifics of how you want it to work. The method Josh is describing is using hooks within Woo to generate registrations using our model system, meaning you would make a purchase within Woo as you do now and then
a registration(s) is generated within EE for that purchase based on the details you pass over to the models.

That’s not going to be a full integration that allows you to select tickets within EE and then process those through Woo (that’s a large and complex project in itself) so it really depends on what you are trying to do as to what info I can give you.

From your opening post:

Our website sells books and we are going to start selling memberships using the Memberium plugin. We also want to ability to apply things such as discounts and use all the functionality that Woocommerce offers.

It sounds like you are trying to use EE to add tickets and then use Woo as the checkout process, they are 2 totally separate entities so an integration like this is not going to be straightforward.


skillstat

June 16, 2021 at 10:37 pm

Thanks Tony! What we are trying to do is combine Memberium membership plugin checkout, woocommerce, and Event Espresso checkout into 1 harmonized checkout and cart system. When you write “That’s not going to be a full integration that allows you to select tickets within EE and then process those through Woo” Does that mean we couldn’t use this method to offer addons such as in this screenshot (of our site’s event espresso events page)? https://www.dropbox.com/s/vk9jnw7wkx5q6sb/Screen%20Shot%202021-06-16%20at%209.36.51%20PM.png?dl=0


skillstat

June 17, 2021 at 10:34 am

(posting again to trigger notification of emails)


Tony

  • Support Staff

June 18, 2021 at 4:03 am

Does that mean we couldn’t use this method to offer addons such as in this screenshot (of our site’s event espresso events page)?

Apologies, but I’m not really sure I understand your question.

The screenshot you’ve shown is of the EE ticket selector which shows various ticket types (which I understand you are using as add-ons) but you’re asking if you can integrate Event Espresso into Woo’s check out and I’m not sure how the tickets/add-ons relate to the question.

What it sounds like you are trying to do is use EE for your events, add them into EE’s checkout and then somehow transfer that over to Woo (or add EE tickets directly into Woos checkout) and continue through the purchase there with all of the features available through Woo.

If so, it’s going to take a significant amount of custom development, as they are 2 totally separate systems. It’s not going to be a simple case of adding a hook into Woo’s checkout to create registrations (which is what Josh’s comment is referring to).

EE’s checkout does a lot more than just allow users to pay for example and if you wanted to manage registration outside of that system you technically could, but you’d need your own checkout system to do it. I know right now it sounds like Woo checkout would be the answer to that but then everything that our Single Page CheckOut (SPCO for short) code does, you would need to do manually via custom code.


skillstat

June 30, 2021 at 11:00 am

Tony yes, we want the EE tickets/addons to appear within Woocommerce as woocommerce products so that we can use woocommerce functionality plugins such as for offering “buy 1 get another at 50% off” or upselling customers with memberium memberships when they go to checkout.


skillstat

June 30, 2021 at 11:03 am

In other words, we want to keep using EE as it is great for events, but leverage all the great addons that Woocommerce offers.


Tony

  • Support Staff

July 2, 2021 at 3:29 am

Ok, it’s a nice idea but just in case you aren’t aware, that’s going to be a very large project in and of itself.

The idea behind the method Josh was referring to won’t work with that kind of set-up as it’s basically a way to create a registration based on a purchase within Woo. You’re looking for full integration, meaning adding tickets from Event Espresso into Woo and then managing them from there and as they are 2 separate systems it is a lot more complicated than it sounds.

I’m not really sure what more info I can give you for this as for the type of integration you are looking for your developers are going to need a very deep understanding of both Event Espresso and Woocommerce. Any info I provide on the hooks available within either pretty much be the tip of the iceberg.

If they do have any specific questions I’m more than happy to answer what I can but in terms of the integration, you are looking for they’ll need a much better understanding of the system than I can walk through on the forums.

The support post ‘Woocommerce integration’ 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