Posted: June 4, 2015 at 9:05 am
|
Hi, For a site we are developing we use the shortcode to put dates on a page automatically across the site. the issue is when a new date is added it goes to the bottom of the list regradless of its date. We need a way to have this short code to display the tickets in order of the event days. Many Thanks. |
Hi Zoe, I’m not sure that I understand your question. Any available options for the ticket selector are already available. Are you referring to using the shortcode multiple times on a WordPress page or a ticket option within the ticket selector itself? — |
|
|
With that shortcode i need to make sure it shows all the tickets in order of when their event is. [ESPRESSO_TICKET_SELECTOR event_id=’1237′] http://prntscr.com/7d2r5b If this is not possible at this time can we request that it can be added. Many Thanks. |
Hi, the individual ticket options in the ticket selector can be re-ordered via the event editor. Could you try re-ordering and saving via the event editor? — |
|
|
Hi Lorenzo, we’re automatically creating the tickets, each time an even page is loaded the website communicates with a CRM to check for new dates, and if there is one it automatically adds it via the database. So we need to find a way to tell them to reorder when they are displayed really… Thanks 🙂 Zoe |
|
Hi Zoe, I assume that what is happening is it loads the page, if there is a new date it adds it to the end, but if you refreshed that page do the dates then appear in order? If so, perhaps your CRM date injection is coming too late in the process? The reason I say this, is because the Ticket Selector (/wp-content/plugins/event-espresso-core-reg/modules/ticket_selector/EED_Ticket_Selector.module.php) should be ordering them by datetime as a default. (see line 278 of that file). |
|
Hi Dean, No they don’t go back in order. The new one always stays at the bottom. This is why something we can put in the short code to order by date not by menu order would be helpful. |
|
OK, I see what you’re saying. It looks like I was wrong with how they are ordered. Each ticket has a TKT_order column value, which is added to when the ticket is created and which is changed when the tickets are re-ordered in the admin. I’ll certainly add a request for a filter or shortcode parameter to modify the ordering for this. |
|
Thank you, Do you have an idea of a time frame? Many Thanks. |
|
Hi, Sorry, I can’t provide a timescale on this, as it depends on the developers current work schedule which is constantly in flux. |
|
Hi Dean, what would it cost if we wanted to pay for this to be added? |
|
Hi, I can refer this to a developer, but it may take a little while for a response. I’ll get back to you asap on this. |
The support post ‘shortcode ESPRESSO_TICKET_SELECTOR by 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.