Home › Forums › Ticket Products › Event Tickets Plus › Integration with Groups for Woocommerce plugin
- This topic has 5 replies, 4 voices, and was last updated 9 years, 5 months ago by
Stefano.
-
AuthorPosts
-
November 11, 2016 at 3:44 am #1190819
Stefano
ParticipantHello,
I’m using Groups for Woocommerce to add group memberships to specific products for a certain amount of time, in particular Events and Event Tickets using the plugin The Events Calendar Pro together with the Event Tickets Plus extension.
Using these plugins together, on the Event product page a ticket form appears below the product description where you choose how many tickets to purchase. Groups for Woocommerce adds the time duration of group membership selected on the ticket product page under the Groups tab to the ticket form, as in the screenshot attached (this is set when using “edit ticket in Woocommerce” option.
I need to remove this information from the ticket form. In the screenshot it would be the text in Italian “per 5 giorni” or “for 5 days” which is the duration for the group membership assigned to the event/ticket.
Can you help?
thanks
November 13, 2016 at 8:40 am #1191605Cliff
MemberStefano, thanks for the details.
We state in our Compatibility with WooCommerce Extensions article that we don’t monitor and test all of WooCommerce’s extensions with our plugins and therefore don’t claim any specific compatibility or integrations.
However, since it’s displaying in the Price area, which comes from Event Tickets Plus’ get_price_html() method (which get’s the WooCommerce product’s price HTML) in the Tribe__Tickets_Plus__Commerce__WooCommerce__Main class in this file: /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Main.php
That method gets either ET+’s get_regular_price_html() or WooCommerce’s get_price_html() method (different from ET+’s method of the same name) for either WC_Product_Simple or WC_Product.
Then all that is filterable via tribe_events_wootickets_ticket_price_html.
Since I doubt Groups for WooCommerce hooks into any of ET+, I’d guess WooCommerce’s own get_price_html() is in play here.
You might ask WooCommerce’s support for a code snippet to resolve this. The above information should help you, your developer, or Woo’s support. I hope it does help get you to a solution.
Please let me know how things turn out.
November 13, 2016 at 9:58 am #1191624Stefano
ParticipantCliff, thank you so much. You guys at TEC have been extremely helpfull so far and I love the plugins.
I’ll get to it, and let you know how it goes.
Cheers!
Stefano
November 13, 2016 at 7:08 pm #1191687Cliff
MemberYou’re very welcome. We’re all glad to help!
December 5, 2016 at 8:35 am #1201577Support Droid
KeymasterHey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.
Thanks so much!
The Events Calendar Support Team -
AuthorPosts
- The topic ‘Integration with Groups for Woocommerce plugin’ is closed to new replies.
