Home › Forums › Ticket Products › Event Tickets Plus › wooticket information in woocommerce pages
- This topic has 9 replies, 4 voices, and was last updated 10 years, 9 months ago by
Support Droid.
-
AuthorPosts
-
July 3, 2013 at 5:36 am #52883
kineticbuzz
ParticipantHi – Can you give me some pointers on how to display wooticket information in woocommerce templates please?
For example I would like to show the ticket title and description etc on the cart & checkout pages.
I found a function in your forum ‘append_ticket_details_in_cart’ which allows me to override the title in woocommerce pages using the filter ‘woocommerce_in_cart_product_title’.
This allows me to get event details ($event->post_title) but how do I get the ticket information?Thank you.
July 3, 2013 at 7:12 am #52911Barry
MemberThe ticket name should display in the cart by default – and the descriptive text is simply the post excerpt text for the product. Does that help?
July 3, 2013 at 9:02 am #52942kineticbuzz
ParticipantHi Barry – Sorry we are using Event Calendar Pro as well. So when someone buys an event ticket we want to show the ticket description & ticket SKU on the cart & checkout pages.
The ticket description is different to the event excerpt.July 3, 2013 at 9:19 am #52947Barry
MemberIndeed it is different, but note that I was referring to the product post excerpt (each ticket is in fact a regular WooCommerce product).
July 3, 2013 at 1:06 pm #53021djio
ParticipantHi Barry, fact is my other ticket was closed and the problem is back, using v2 or v3, with the patch send me there. Sorry for coming this way, but I coudn;t see any other option to contact you, please reopen my topic and erase this post. Thanks in advance.
Topic: https://theeventscalendar.com/support/forums/topic/fatal-error-uncaught-exception-exception-with-message-datetime__construct/#post-52431July 3, 2013 at 1:55 pm #53048Barry
MemberHi Djio – for future reference you can simply create a new thread – but yes I’ll reopen the one you referenced.
July 3, 2013 at 2:00 pm #53050djio
ParticipantThanks, I didn’t want to cluster que forum with duplicate topics, is there a way so the author can reopen the Topic?
July 3, 2013 at 3:04 pm #53073kineticbuzz
ParticipantThanks for the pointer Barry. In case anyone else finds it useful you need to reference the woocommerce simple product first:
$simpleProduct->post->post_excerptJuly 3, 2013 at 3:19 pm #53084Barry
Memberis there a way so the author can reopen the Topic?
Not currently, but that’s an excellent idea for a future improvement to the forum which I will put forward.
@Kineticbuzz – thanks for posting back with the solution, hopefully others will also be able to leverage that 🙂July 7, 2015 at 6:26 am #979279Support Droid
KeymasterThis topic has not been active for quite some time and will now be closed.
If you still need assistance please simply open a new topic (linking to this one if necessary)
and one of the team will be only too happy to help. -
AuthorPosts
- The topic ‘wooticket information in woocommerce pages’ is closed to new replies.
