Ticket #24955 Public

Show event date (or dates) in WooCommerce?

First, thank you for the great product support; I do have a question as we use several EventON products along with EventON Tickets, one thing that I noticed is that when running WooCommerece reports or any product that queries our sold events, they don’t include the event dates.

In our previous cart we always had to include the date in the event/product description line such as:

Name of Event – 2/4/2017 (Saturday)

and with EventOn/EventON Tickets, having such a layout would seem odd as it would show the calendar date/time/day of the week (if configured to do so) and then in the same event desc., have another date/day of the week listed.

What is a good way to approach this? If you use any plugins  that simply look at the products, they don’t show any date reference and it can be confusing to find which event corresponds.   Any chance of incorporating further depth/detail within WooCommerce?

The quick fix of course would be to add the date/day of the week to the event description, but as mentioned, it looks redundantly odd.


again, Thank you for the support.

BY: VPREATR - Jan 24,2017 AT 3:13AM - 5 years ago
    • By: infotainerdave Jan 24,2017 AT 4:03AM - Posted 5 years ago - #24982

      for non repeating events you could put it in the title

    • By: VPREATR Jan 26,2017 AT 4:41PM - Posted 5 years ago - #25571

      Yes, we actually tried that, but visually it looks odd and basically defeats part of the reason why we moved away from a product type cart.    Not to mention if we changed our descrptions now, as I understand our permalinks would change and any prior event purchases might be impacted as well?


    • By: infotainerdave Jan 27,2017 AT 12:27AM - Posted 5 years ago - #25596

      yeah I am not 100% sure what happens if you change the product name (you can reset permalinks) thats not a problem but I am not sure what it does for the accounting side

      I’ll ask Ashan if there is a way to php echo information from eventon into the woocommerce product page template

      It may be hard to get the date to appear but it may be possible (i am not promising anything) to get a custom meta tag and when adding the event you would simply add the date and times into that text field and have it appear on the product page

      However in saying that getting it to appear on the accounting side of things is the problem


      however I just did a test on your site (sorry)

      event is edited here


      the product is here


      it is automatically adding the date to the title which would show up in your reports


    • By: VPREATR Jan 27,2017 AT 12:45AM - Posted 5 years ago - #25598

      Hi Dave,

      If it’s automatically added, then why didn’t all the events we initially created have the date appended to the product description?

      Did you create the event and then edit the product description?  The reason why I ask is the last test you created ‘daves event on test‘ didn’t have the date included within the product description?

      What part is automatic?


    • By: VPREATR Jan 27,2017 AT 1:06AM - Posted 5 years ago - #25601

      In follow-up to the above:

      How did you go from the ‘Event’ name: daves test
      to the ‘Product’ name: Ticket: daves test – 2018/01/03

      Was this a manual edit? We created thirty-one (31) events and none of them added that information to our product name and the thought of making manual sweeping event and/or product name changes has me worried about possible impacts to inventory/check-in/custom order information, etc.

      The only place that a ticket mentioned in the ‘Products’ page is within the product description and it simply states: Event Ticket

      Where is the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ coming from?



    • By: VPREATR Jan 28,2017 AT 3:26AM - Posted 5 years ago - #25723

      Any updates? (See last two posts)

      Thank you.

    • By: infotainerdave Jan 28,2017 AT 5:01AM - Posted 5 years ago - #25725

      Sorry Mate- in Australia its Saturday and I am doing shows (I am an Infotainer Information entertainer)

      The adding of the date to the title is automatic- I didn’t edit the product at all I created the daves test and checked the product and it had the date on the title- I assume (without knowing every individual tweak ashan has made to tickets) that all future events will have it and all past events created before the latest update will have to be manually changed.

      try editing an event as in opening up the edit- and simply click update and see if that updates the product to include the date?

    • By: VPREATR Jan 28,2017 AT 5:56AM - Posted 5 years ago - #25728

      I’ve tried this several times (i.e. open event/edit/update) , it appears there is some type of criteria, and we’ll definitely need Ashan’s input.  This would solve my issue with locating the correct event within non-event aware reports and/or other WC related displays of information that don’t understand calendared events, although I somehow doubt it’s going to be that simple; needless to say, I’ll remain as hopeful.

      Thank you for the reply and I look forward to Ashan’s input as well.

      try editing an event as in opening up the edit- and simply click update and see if that updates the product to include the date?

    • By: infotainerdave Jan 28,2017 AT 6:15AM - Posted 5 years ago - #25729

      I have alerted him to this topic (he has just spend a heck of a lot of time devoted to the activation problem which if you don’t know was a HUGE problem) hopefully he will get back to you asap- I think in the USA it is weekend so it may be a delay of 2 days (Australian is 1 day ahead of the USA) – I know and Ashan knows this is very important to you and we do care (I do this forum stuff for free – I am just a customer who knows a bit about eventon) I do it because I want to help people- I do realise this is important to you- My eventon calendar helps me automate my business- I know when you run a business it is vital that the website is running right and when it comes to accounting thats vital as well.  we are going to do what we can to help.


    • By: VPREATR Jan 28,2017 AT 11:30AM - Posted 5 years ago - #25736

      H Dave,

      Thank you for letting Ashan know and yes, I have no doubt both of you have been extremely busy after the latest release and please understand, I truly do appropriate the support and follow-up.

    • By: VPREATR Jan 28,2017 AT 11:33AM - Posted 5 years ago - #25737

      //edit: appropriate = appreciate


    • By: VPREATR Jan 30,2017 AT 6:55AM - Posted 5 years ago - #25966

      Hi Dave,

      In related follow-up, I disabled all non-essential plugins to see if they might be interfering with the product update you mentioned (i.e. ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ ) and then opened an event, selected update, although the product name was not changed.   It must be a criteria that we’re unaware of that only Ashan can shed some light upon.


    • By: infotainerdave Jan 30,2017 AT 7:14AM - Posted 5 years ago - #25968

      thats a shame about the title not updating (would have made it easier)

      I am not sure if duplicating the event will do anything and this ….well I am not sure what that will do to your accounting reports- if it worked it would create a duplicate product but you would be stuck with the same problem with the old events/products being there and unchanged

      aaaaaah Gees I hope Ashan gets onto this soon

      but here is something interesting
      if you look at the URL of the event/product it has the date in the product URL (but not the title) it doesn’t help of course but I am thinking that perhaps it is a small step to get it to appear in the title


    • By: Ashan Perera Jan 30,2017 AT 1:48PM - Posted 5 years ago - #26058

      Just read all the messages, will need wp-admin access and direct link to ticket event to further investigate this.

      Event time should be passed on to cart and WC ticket order page as order meta along with event location. Is this not happening for you?


    • By: VPREATR Jan 30,2017 AT 2:49PM - Posted 5 years ago - #26068

      Hi Ashan,

      In looking at the ‘Products’, I’m not seeing any reference in related to the event time/date.  Now when a customer purchases and event, the new order will show:

      (Event Name)

      The issue was related to the title, when running a report or any WooCommerce inquiries there is no reference to the event date; Dave was able to create a new event and then update the event to show the following layout in the product section:

      ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’

      The xxxxxxxxxxxxxxx being the event name.  We’ve created and actively using 31 events and none of the have a mention of ‘Ticket or yyyy/mm/dd’ in the product name, although they do mention ‘Event Ticket’ within the description body.

      We didn’t try experimenting on our events aside from updating as the site is live and I didn’t want to risk any damage to our inventory.

      Could you take a look?  Do you need our login information again (or do you still have it from the last login?)

      LMK, Thank you.


    • By: Ashan Perera Jan 30,2017 AT 4:47PM - Posted 5 years ago - #26080

      I am not sure what Dave did. I will have to chat with him once he get online. But yea at the moment passing the event date into ticket product is not somethign that is supported. And you would have to run custom query to rename all already created ticket products.

      But I am going to move this ticket into feature request so other users can vote for your excellent feature idea and get this move into development as an optin in the future!

    • By: VPREATR Jan 30,2017 AT 4:59PM - Posted 5 years ago - #26082

      Hi Ashan,

      In EventON Tickets, specifically file /includes/class-functions.php – line #296, I noticed this:

      ‘post_title’ => ‘Ticket: ‘. $__sku.$event_title.$_date_addition,

      It’s part of a larger function:

      // ADD NEW matching woocommerce product
      function add_new_woocommerce_product($post_id){

      What got my attention was:

      ‘Ticket: ‘. $__sku.$event_title.$_date_addition

      (Dave Ref: ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ )

      It minics the result that Dave was talking about, can you shed more light on this?


    • By: VPREATR Jan 30,2017 AT 11:53PM - Posted 5 years ago - #26106

      New Information! So I created a simple test event with the following event information:

      Event Name: Track Day Event Test
      Event Tickets – YES
      Ticket Pricing Type: simple
      Ticket Price $1.0
      Event Start Date: 2017/12/31  7:00AM
      Event End Date: 2017/12/31 6:00PM

      All remaining fields were left untouched or plugin defaults.

      As result of this event creation test, the following was created:

      Event Name: Track Day Event Test
      Permalink: https://www.pacifictracktime.com/events/track-day-event-test/ ‎

      WooCommerce Product Name: Ticket: Track Day Event Test – 2017/12/31
      Permalink: https://www.pacifictracktime.com/product/ticket-track-day-event-test-20171231/

      So it appears that yes, EventON Tickets does create a product name with the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ layout without any needed code modification.

      That said, it did not do the same when I created (31) events a month ago, the clear difference is that of the (31) events I created, they’re ‘ALL’ day events, they use variation pricing, visible in the WC catalog, have Event subtitles, Event Location Names/addresses, generate Google Maps from Event Locations and use Event categories.

      Therefore, we know the functionality exists to add ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ within EventON Tickets publishing process to the WC product name, the question is why didn’t it do the same for my original (31) events?

      Having the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ layout would help us with our WC reports, WC product views or simply finding information as presently we have events with similar names, although those products don’t have any ticket or date references.

      As mentioned previously, we’ve considered manually changing the WC product names to match the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd’ layout, although I didn’t want to risk an inventory problem and/or mismatch on a live site, not to mention I didn’t want to risk breaking the relationship between the tickets and the product, or negatively impacting the permalinks.  



    • By: VPREATR Jan 31,2017 AT 12:28AM - Posted 5 years ago - #26115

      In follow-up and to avoid showing the aforementioned test on our live calendar, I’ve set ‘Exclude from calendar’ to YES.

      As a result, updating the event removed reference to the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd‘ layout from the WC product name.   Needless to say now I’m very confused as to what’s occurring?

      It would appear the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd‘ layout is created upon the initial event creation, alas, the subsequent edits of the event clear any reference to  the ‘Ticket: xxxxxxxxxxxxxxx – yyyy/mm/dd‘ layout.

      Note: xxxxxxxxxxxxxxx = WC product name



    • By: Ashan Perera Jan 31,2017 AT 2:25PM - Posted 5 years ago - #26270

      Found the issue


      replace to eventon-tickets/includes/admin/ folder

    • By: VPREATR Jan 31,2017 AT 5:13PM - Posted 5 years ago - #26308

      Thank you for the updated code; I’ve ran a couple of tests and when updating the event, the WC product title now contains: Ticket, Sku, Description and Date.

      Do you feel this can be applied to all our events without impacting inventory or any related functions or am I overthinking the nature of the product title within WC?

      Thank you, again for the code update. 

      PS- Does the code include end dates within the WC product title for multi-day events or just the start date of the event?


    • By: Ashan Perera Feb 1,2017 AT 4:49PM - Posted 5 years ago - #26450

      I am not sure how the description is added in there. That is not a part of the code


      And this is the same code from add new product. I will convert this into a pluggable function so this title can be adjusted to user tastes.


    • By: VPREATR Feb 1,2017 AT 5:24PM - Posted 5 years ago - #26456

      My apologies, the term ‘description’ should be ‘title’.

      Just to double check, if I update all my events, thus changing the product title, will that have any potential negative impacts?  I’m likely just being paranoid, but had to ask.



    • By: Ashan Perera Feb 2,2017 AT 5:45PM - Posted 5 years ago - #26613

      Technically it shouldnt as the stats and everything is tracked by post ID as oppose to the post slug.

      So can we mark this as resolved?

      If you have a moment, we would greatly appreciate if you could kindly leave us a review at codecanyon! from your account > downloads. Cheers!

    • By: VPREATR Feb 2,2017 AT 5:50PM - Posted 5 years ago - #26618

      Hi Ashan,

      Yes, it appears to be working well.  The only request is that it would support the ability for multiple date events in the title, but that would likely require far more modification.

      The review has been left; thank you very much for all your assistance!

    • By: Ashan Perera Feb 2,2017 AT 5:58PM - Posted 5 years ago - #26622

      Thank you very much for your review! I will make a note about end date in title as well 🙂


You must login to reply to this ticket


Welcome to EventON helpdesk.

EventON is the #1 Best selling event calendar plugin for WordPress websites in envato marketplace.

Checkout EventON