Support

Home Forums Event Espresso Premium Price Display Order & MER button display

Price Display Order & MER button display

Posted: April 13, 2013 at 8:47 pm


Dave Bannister

April 13, 2013 at 8:47 pm

I have an event registration about to go up and have two requests:

1. When using the Multiple Event Registration addon to offer two registration prices, how can I get the button to only display a “register” button?  Right now I have disabled registration form, this leaves me with a “View Details” button and an “Add To Cart” text link.  I just want users able to do the add to cart, with a change of text to say “register now.”

2.  I have two prices, one for primary attendee, one for guest.  When I list the primary attendee first, it shows the guest price on the initial registration page as the sort of default price.  To avoid that, I list the guest price first, but that makes the guest price show up first on the second page with the drop down lists.  The guest price is cheaper and I want to avoid people errantly selecting the cheaper price, especially if they are only registering 1 attendee.

Site is at http://www.fordgtforum.com/rally

Thanks,
Dave


Josh

  • Support Staff

April 15, 2013 at 12:43 pm

Hi Dave,

In this case there are some customizations that would need to be made to make the add to cart act more like a Register button. If you open up event_list_display.php and look on line 133 you’ll see where it has the “Add to Cart” text.

You could also change it to say “Register now” by using the WordPress gettext filter. Here is a link to a gist of some example code that can be adapted change the text you want to change and then placed in a functions file:

https://gist.github.com/joshfeck/4962940

With part two, a simple solution that I can think of would be to display prices as a list for each event on the event list view.

Seth wrote up some code that can also be placed into a functions file and posted a gist here:

https://gist.github.com/sethshoultes/ab1e992668cf3166a686

Then where it normally displays only one price in event_list_display.php, you can substitute it with:

<?php do_action('action_hook_espresso_price_list', $event_id);?>

I hope that helps!

The support post ‘Price Display Order & MER button display’ 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