Support

Home Forums Event Espresso Premium How to Reorder Tickets in 3.1.36.6.P

How to Reorder Tickets in 3.1.36.6.P

Posted: November 17, 2014 at 10:04 pm

Viewing 5 reply threads


azitsm

November 17, 2014 at 10:04 pm

Is there a way to reorder tickets in version 3.1.36.6.P? I know in the newer version you can drag and drop but I still have version 3.1.36.6.P. If I have an event with different tickets it does not display the ticket price I prefer on the Event Registration page.


Dean

November 18, 2014 at 2:57 am

Hi,

There isn’t barring deleting and entering them in the preferred order.

Another option: we have some functions that modify the payment display on the event list to either a price range (e.g. $10 – $50) or a price list (will list all prices).

Price list https://gist.github.com/sethshoultes/ab1e992668cf3166a686
Price range https://gist.github.com/sethshoultes/f05ae8b0c2f549a94d67


azitsm

November 18, 2014 at 8:28 pm

Wow. Those functions really looks exactly like what I am looking for. However, I can’t seem to get either one to work. I have no errors but there is no change if I place the code on the event list display page. Is there a recommended area on the event list display page to place the action hooks? I updated the custom_functions and the event_list_display under my upload templates directory.


Dean

November 19, 2014 at 5:22 am

Hi,

There are two bits to it:

1) add the main large chunk of code into your themes functions.php OR better yet add it to a custom sites specific plugin – https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

2) add the single line of code (do_action etc) to the template file. There’s no specific place to add it, but you probably want to replace the existing prices.

Please note that :
if you add code to the themes functions.php, theme updates will delete it.
if you add code directly to the template files without copying them to wp-content/uploads/espresso/templates and editing them there, EE updates will delete the code – see here for more info https://eventespresso.com/wiki/put-custom-templates/#coretemp


azitsm

December 1, 2014 at 11:05 pm

Thanks for the tips. It seems this one does not update when I edit in the uploads templates folder like the other ones I have for event espresso. was able to get the results showing only by updating the main templates file which I know can be potentially overwritten. Is there a dependent file or something that would prevent my edits in the upload folder from showing. I am able to successfully do edits for my other event espresso custom templates.


azitsm

December 2, 2014 at 12:06 am

Nevermind. I answered my question. I need to include the event_list file as well in the uploads templates folder. Works like a charm. Thanks!

Viewing 5 reply threads

The support post ‘How to Reorder Tickets in 3.1.36.6.P’ 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