Display event details on order

Home Forums Ticket Products Event Tickets Plus Display event details on order

Viewing 5 posts - 1 through 5 (of 5 total)
  • Author
    Posts
  • #50548
    Diego Mascarenhas
    Participant

    Hi guys!

    I followed the instructions in this topic: https://theeventscalendar.com/support/forums/topic/display-event-details-in-woo-cart/ … and works well on cart.

    But, I need to show the same “extra” information of my cart in order too. If not, this data isn’t displayed on my gateway of payment.

    Here is my code on functions.php: http://pastebin.com/H6X6TBHK

    Could anyone help me?
    Thanks!

    #50581
    Barry
    Member

    Hi Diego, what do you mean exactly – do you want to add this data to your order as custom fields or something else?

    #50586
    Diego Mascarenhas
    Participant

    Hi Barry!
    I think with prints is easier to understand.
    Look here: https://www.dropbox.com/sh/vlp9sed9to4e456/5c5IG51xzy
    There I have 3 images: event, cart and order.

    In the cart, I put the complete description as I need.
    But, on order shows only the Ticket Name.
    I need to put at least the name of the event as well.

    Became clearly now?
    Thanks for the help

    #50594
    Barry
    Member

    Have you tried changing the filter from woocommerce_in_cart_product_title to woocommerce_checkout_product_title?

    You might need to make some minor changes to the code, but that hook is probably worth looking at here.

    #50595
    Barry
    Member

    (Remember WooCommerce has its own codex full of information that can be useful for customizations such as this 🙂 )

Viewing 5 posts - 1 through 5 (of 5 total)
  • The topic ‘Display event details on order’ is closed to new replies.