Home › Forums › Ticket Products › Event Tickets Plus › Event Date On Wooticket
- This topic has 11 replies, 3 voices, and was last updated 13 years, 1 month ago by
Barry.
-
AuthorPosts
-
February 22, 2013 at 4:41 am #33173
Brandon
ParticipantHi, great plugins so far (ecp + wt) is it possible to have extra data show up on the generated tickets? It would be cool if the date of the event from the schedule was printed there some how. Is this possible?
February 22, 2013 at 7:09 am #33182Barry
MemberAnything is possible! 🙂
It would however be beyond the realm of support that we can offer here to guide you through that – but we can definitely leave this open if you want to gather further input from other members of the community on this one.
February 22, 2013 at 7:10 am #33183Barry
Member… Just to be clear, though, we have already logged adding the event date to generated PDFs as a feature request – so hopefully that will be added in the next version or soon thereafter.
February 22, 2013 at 8:04 am #33196Brandon
ParticipantAwesome thanks… can you clue me into what file would handle that.. maybe I can whip something up…
February 22, 2013 at 8:17 am #33200Barry
MemberOur own code responsible for generating PDFs is mainly split across:
- wootickets/classes/class-wootickets.php
- the-events-calendar/lib/tickets/tribe-tickets.php
We don’t generally recommend editing core plugin code, though, so you will probably want to look at our use of the woocommerce_email_attachments hook in the first instance.
February 22, 2013 at 8:23 am #33204Brandon
Participantthanks!
February 22, 2013 at 8:46 am #33209Brandon
ParticipantI think this could be a temporary (hack no doubt) until the new release comes out..hmm so close here (I think) what would call the date if I changed this to $pdf->Write( 5, __( ‘DATE:’, ‘date-name-????’ ) ); ….is there something available instead of tribe-events-calendar like tribe-events-date ? If I could get the date to show up I could then set the XY positioning and be happy 🙂
February 25, 2013 at 6:18 am #40837Barry
MemberYou might be interested in the tribe_get_start_date() function for this.
March 4, 2013 at 10:45 am #41512Andris
ParticipantIs there a way I could display the start date in the SKU field?
I have lots of recurring events and the tickets all look the same and I can’t tell which day they are for.
Any suggestions?
March 4, 2013 at 11:43 am #41516Barry
MemberYes that’s possible. Just be aware of the fact that, currently, WooTickets does not support recurring events (so a ticket created for one event is shared across all instances).
March 4, 2013 at 11:46 am #41517Brandon
ParticipantHaving a start date on my tickets (recurring or not) would be a huge. I have tried cant get it to work, it there a code snippet available?
March 4, 2013 at 12:34 pm #41521Barry
MemberNo code snippet I’m afraid – it’s something we’re look at adding (the event date to PDF tickets) though – I only meant it’s possible that you could populate the SKU field with the event date, within the bounds imposed by WooCommerce at least.
To actually embed this in your PDFs will require some work.
-
AuthorPosts
- The topic ‘Event Date On Wooticket’ is closed to new replies.
