Add date for ticket in WooCommerce cart.

Home Forums Ticket Products Event Tickets Plus Add date for ticket in WooCommerce cart.

Viewing 3 posts - 1 through 3 (of 3 total)
  • Author
    Posts
  • #1230023
    Erick
    Participant

    I have found a few support forums with this question but when I followed the instructions of this one (https://theeventscalendar.com/support/forums/topic/show-event-date-in-woocommerce-cart-next-to-ticket/) but the defaulted date kept coming up as Dec. 16th of last year.

    I am just trying to add the date of the event on the cart screen. Help please 🙂

    #1230729
    Brook
    Participant

    Howdy Martin,

    I would love to assist here.

    Are you trying to do add the date for a recurring event? The instructions George sent you make it possible to add the date for the first event in the series. You can even do this by using a snippet like this, rather than directly modifying the files as he outlined:

    https://gist.github.com/elimn/9352efba6accd9dc21a1

    However, it is unfortunately not possible to add the date for the event the customer was viewing when they clicked add to cart.If you have ever added a ticket to a recurring event, you have probably noticed the little message that says tickets do not yet fully support recurring events. This is a side effect of that. Basically all tickets added to a recurring event are stored with the same date, the start date of the first event in the series. Thus, when you attempt to get the date for a ticket, it will always return the date for the first event in the series rather than the date your customer was looking at.

    Does that sound like the issue you’re facing?

    Cheers!

    – Brook

    #1247679
    Support Droid
    Keymaster

    Hey there! This thread has been pretty quiet for the last three weeks, so we’re going to go ahead and close it to avoid confusion with other topics. If you’re still looking for help with this, please do open a new thread, reference this one and we’d be more than happy to continue the conversation over there.

    Thanks so much!
    The Events Calendar Support Team

Viewing 3 posts - 1 through 3 (of 3 total)
  • The topic ‘Add date for ticket in WooCommerce cart.’ is closed to new replies.