Home › Forums › Ticket Products › Event Tickets Plus › Sending a tickets email after a shop buy.
- This topic has 24 replies, 2 voices, and was last updated 9 years, 11 months ago by
Cliff.
-
AuthorPosts
-
May 23, 2016 at 11:25 am #1117889
Cowowo S.L
ParticipantThis reply is private.
May 23, 2016 at 3:26 pm #1117983Cliff
MemberThe email gets sent from the code in this file: /wp-content/plugins/event-tickets-plus/src/Tribe/Commerce/WooCommerce/Email.php
However, you said:
When I sell that membership, it sends the empty ticket email and it should not because it is a product, not a ticket.
We haven’t seen similar reports from those using other membership plugins so I’m unsure how best to advise you with this specific plugin.
May 24, 2016 at 4:10 am #1118135Cowowo S.L
Participantok, I will try it.
I’ve seen the variables of the array tickets[].
‘event_id’ => get_post_meta( $post->ID, $wootickets->atendee_event_key, true ),
‘product_id’ => $product->ID,
‘ticket_name’ => $product->post_title,
‘holder_name’ => get_post_meta( $this->object->id, ‘_billing_first_name’, true ) . ‘ ‘ . get_post_meta( $this->object->id, ‘_billing_last_name’, true ),
‘order_id’ => $this->object->id,
‘ticket_id’ => $post->ID,
‘security_code’ => get_post_meta( $post->ID, $wootickets->security_code, true ),How can I add a custom field here (artist)? And the price of the ticket?
Thanks
May 24, 2016 at 10:15 am #1118309Cliff
MemberI discovered this was an issue that was resolved as of Event Tickets Plus 4.1.2, and your system report was only at version 4.1.
Therefore, please make sure all your Modern Tribe plugins (and WordPress core) are at their latest versions:
Once you verify you’re on the latest versions, please test to see if the issue is still happening for you.
If it is, please follow our Testing for Conflicts Guide and see if that helps narrow down the cause of this.
If it doesn’t, would you mind enabling WP_DEBUG and sharing any messages you see while navigating your site’s home page, events page, single-event pages, and any other of your site’s pages relevant to this ticket?
Thanks.
May 24, 2016 at 10:34 am #1118317Cowowo S.L
ParticipantThis reply is private.
May 25, 2016 at 11:21 am #1118819Cliff
MemberLet’s resolve the first issue first, but this snippet may help with your email customization if you are using PRO’s Additional Fields (not ACF):
https://gist.github.com/cliffordp/4912b6e0e5ffc67e312264336f1218b8
May 26, 2016 at 2:53 am #1119065Cowowo S.L
ParticipantThis reply is private.
May 26, 2016 at 11:11 am #1119240Cliff
Member- Follow PRO Additional Fields to add a custom field like “Artist” text field to each of your events.
- The code snippet I just provided you can be used or modified to get the Artist field’s value.
- You’ll need to determine where to put that code to implement your customization.
If you need further coding help, you may want to ask your developer or reference our list of known customizers.
May 30, 2016 at 4:46 am #1120306Cowowo S.L
ParticipantThis reply is private.
-
This reply was modified 9 years, 11 months ago by
Cowowo S.L.
May 30, 2016 at 6:54 am #1120347Cliff
MemberPlease understand that we want to help as best we can without providing full custom code implementations for customers’ questions, as stated previously.
At this point, you’ll need to ask your developer or consult our list of known customizers to finish with this customization.
If you need additional assistance, please feel free to open a new thread.
Thanks a lot for your understanding.
-
AuthorPosts
- The topic ‘Sending a tickets email after a shop buy.’ is closed to new replies.
