Display event details in woo cart

Home Forums Ticket Products Event Tickets Plus Display event details in woo cart

Viewing 6 posts - 1 through 6 (of 6 total)
  • Author
    Posts
  • #48238
    Bradley Pirman
    Participant

    Hello,
    We’d like to display the event start, end, and other details inside the woo cart and the checkout after someone adds a ticket to their cart.
    We’re having problems accessing the event information in cart.php.
    Can you help point us in the right direction? (We’re not completely fluent in PHP 😉 )

    Thanks so much!!!

    #48329
    Barry
    Member

    Here’s a fairly minimal example (if the cart item has an associated WooTicket then it displays the event description next to the cart item).

    You’d need to tweak it both for events with more than one ticket and of course to display more meaningful content, but it should give you the basic idea.

    #48330
    Barry
    Member

    Sorry, didn’t link to the snippet. Here you go:

    http://pastebin.com/1D6XzUFB

    #48384
    Bradley Pirman
    Participant

    Thanks Barry!
    I’m going to play with this snippet and check back in here.
    Cheers from SB!

    #48389
    Barry
    Member

    Great – hope it helps.

    #49969
    Barry
    Member

    Guessing we’re all good here (it’s been a while since the last update) so I’ll go ahead and close the thread 🙂

Viewing 6 posts - 1 through 6 (of 6 total)
  • The topic ‘Display event details in woo cart’ is closed to new replies.