Questions tagged [tribe-event-tickets]

8 questions
3
votes
1 answer

How can I access order items in the hook woocommerce_new_order?

woocommerce_new_order fires before order items are assigned to the order, thus making $order->get_items(); return an empty array. Is there any way to get the items using that hook? The order is created using wc_new_order so using…
1
vote
0 answers

PHP WordPress Filter Function Not Modifying Email Contents for The Events Calendar email tickets

The Events Calendar (Event Tickets Plus Plugin) sends tickets to your customers once a WooCommerce order has been completed. I want to conditionally exclude certain tickets from the email being sent (I want some tickets to be collected at the venue…
1
vote
0 answers

(NodeJS) WordPress API, updating Events Calendar event (tribe event) removes featured image from post

I'm using the Wordpress API to update tribe events. The updates are successfully sent (and the change is made) but as a side-effect, any time I do it, the featured image is removed from the post... wpapi package setup: Because The Events Calendar…
0
votes
1 answer

WP - get the ticket list from tribe event calendar tickets

I use the event calendar plugin with its tickets extension. I want to get a list of the emitted tickets. like: array( 0 => ticket 1, 1 => ticket 2 ) I looked for a solution in the doc https://docs.theeventscalendar.com/ but impossible to find…
0
votes
0 answers

Add category filter in the event calendar wordpress plugin

I am just trying to add category filter in tribe events (the event calendar) WP plugin but I could not find any filter/action through which I can add this category filter. Please help me if you have any idea about this. I tried this filter but no…
0
votes
1 answer

In WooCommerce how can I make it so users can only buy 1 product per order and make it so on a specific product they can only buy it once per user?

I'm building a ticketing website for events. I'm using WooCommerce and The Events Calendar plugin. I've already made it so that users must be logged in to buy a ticket (product). Then I found this code snippet that would limit it so that only 1…
0
votes
1 answer

Targetting specific category in wordpress events calendar

I am working with the Wordpress Events Calendar & Event Tickets plugin. I have created a category page for online events (the category is called 'online') and need to target the ticket so that it only allows one ticket to be purchased at a time. I…
John Paul
  • 87
  • 1
  • 8
0
votes
0 answers

Tribe Event Tickets tribe_is_event() always false

I am trying to determine if any items in a Woocommerce shopping cart are events or not. The tribe_is_event() function doesn't seem to be working as expected, as it always returns false. I'm thinking I'm misunderstanding it's usage. In the…
Gurnzbot
  • 3,742
  • 7
  • 36
  • 55