Support

Home Forums Event Espresso Premium Edit "Price Type: Presale x 1 attendee"

Edit "Price Type: Presale x 1 attendee"

Posted: June 8, 2014 at 4:20 pm


joinfof

June 8, 2014 at 4:20 pm

How can I remove the word “attendee” from the attendee registration page? I am selling a “Car Pass” for $20 (meaning multiple attendees can split the $20) and don’t want any confusion during the checkout process.


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 11:13 am

Hello,

The messaging can be changed by using something like a gettext filter:

https://eventespresso.com/wiki/how-to-change-wording-with-poedit/#plugins

Could you provide a link to the page so I can share a specific example?


Lorenzo


joinfof

June 9, 2014 at 5:23 pm

http://tickets.familyoffestivals.com/event-registration/?regevent_action=show_shopping_cart

Go ahead and add “Car Camping Pass” to the cart. When you get to the “Enter Attendee Information” screen, I’m referring to the text “Price Type: Car Camping Pass x 1 attendee”

I don’t want the “x [attendee)” here – the reason being is each attendee doesn’t need their own car pass, so it seems confusing during checkout.


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 5:41 pm

Okay, that is from one of the template files.

Login to your site with an SFTP or FTP client such as FileZilla or Cyberduck. Then browse to this location:

wp-content/plugins/event-espresso/templates

Download a copy of the following files to your computer:

multi_registration_page_display.php
multi_registration_page.php

Then browse to this location using your SFTP or FTP client:

wp-content/uploads/espresso/templates

Then upload those two files that you just downloaded to the folder above.

Now we need to edit the multi_registration_page_display.php file to remove the quantity for the attendee.

Open it and go to line 74 which has this:

echo '<h4 class="section-heading"><strong>'.__('Price Type:') . '</strong> ' . stripslashes_deep($meta['price_type']).$attendee_quantity.'</h4>';

Remove $attendee_quantity from the end of the code above and save changes.

Now your page will show the information without the attendee quantity next to the price type information.


Lorenzo


joinfof

June 9, 2014 at 7:05 pm

I did exactly as you said but don’t see any changes rendering. I copied the two files and added them to >uploads>espresso then deleted “$attendee_quantity” from line #74.

I don’t have a caching plugin installed yet, so that shouldn’t be an issue.


joinfof

June 9, 2014 at 7:36 pm

Correction, I got it figured out. I didn’t have the files in the correct folder once edited.

Thanks for your amazing and prompt customer support.


Lorenzo Orlando Caum

  • Support Staff

June 9, 2014 at 7:41 pm

Glad to hear you got it working!


Lorenzo

The support post ‘Edit "Price Type: Presale x 1 attendee"’ 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