But I am a little bit comfuse about "the booking order is completed". Do you mean buy ticket or buy the producet linked to the event or aomething else?
do you know how can I set the order for buying tickets to auto approve, so the event ticket will be set to "completed" right away after purchase (which I don't need to set it to "completed" manually)
I also wonder can all these functions be implemented on purchasing the woocommerce product that contained in the event(woocommerce product added to the event).
Hi, we have a personal calendar assigned to each user once they complete registration.
The users would have access to another calendar which shows all events that are being offered.
Once the user purchases the ticket to the event, I would like the event to show up on his/her personal calendar. How do I go about implementing this?
Hi,
Unfortunately events can reside only in one calendar at a time.
As an alternative I could suggest you to duplicate the event to the user's personal calendar once the booking order is completed.
This can be achieved with custom hook.
I've attached the required code.
The code should be placed in your theme or child-theme functions.php file.
Stachethemes Developer
Thanks for your replying
But I am a little bit comfuse about "the booking order is completed". Do you mean buy ticket or buy the producet linked to the event or aomething else?
When the order containing the event ticket is set as "completed" from your WooCommerce -> Orders menu.
Stachethemes Developer
Thanks for answering
do you know how can I set the order for buying tickets to auto approve, so the event ticket will be set to "completed" right away after purchase (which I don't need to set it to "completed" manually)
Yes, it's possible with custom filter.
Place the code in your theme or child-theme functions.php file:
Stachethemes Developer
Hi,
Thanks sop much for your answering, help a lot
I also wonder can all these functions be implemented on purchasing the woocommerce product that contained in the event(woocommerce product added to the event).
Hi,
Just want to know how is going so far, didn't get reply for a while.
Thanks