Support

Home Forums Event Espresso Premium Another case in Events Table View Template show "goes-on-sale" date

Another case in Events Table View Template show "goes-on-sale" date

Posted: April 19, 2016 at 12:24 pm

Viewing 3 reply threads


designplus

April 19, 2016 at 12:24 pm

Hi, today I added new events to the table view – and now my “goes-on-sale” dates disappeared except the first date! Whats wrong with the code?
Thanks

Here is the post form yesterday:
https://eventespresso.com/topic/events-table-view-template-show-goes-on-sale-date/


designplus

April 19, 2016 at 2:57 pm

Hi, I found out, if you duplicate a event, the “goes-on-sale” date disappeares. If you create a new event, it works. But after that, you can´t change a “goes-on-sale” date from 05.01. to the 06.01. – then it disappeares again. A change to the 04.01. works, the date shows correctly. What can I do?


Tony

  • Support Staff

April 20, 2016 at 8:08 am

Hi there,

If you change this line:

$tickets = espresso_event_tickets_available( $post->ID, FALSE, FALSE );

to:

$tickets = $datetime->tickets();

Does the table then show as expected?


designplus

April 20, 2016 at 10:25 am

That´s it! Works perfectly. Thank you very much!

Viewing 3 reply threads

The support post ‘Another case in Events Table View Template show "goes-on-sale" date’ is closed to new replies.

Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.

Event Espresso