Support

Home Forums Event Espresso Premium "Qty" in waitlist form

"Qty" in waitlist form

Posted: November 30, 2018 at 7:19 pm


lupineart

November 30, 2018 at 7:19 pm

Hey guys,

How do I change the text of Qty in the waitlist registration form?

Thanks, Derek


Tony

  • Support Staff

December 3, 2018 at 8:06 am

Hi Derek,

May I ask what you would like to change it to (the method used depends on what you want to do is all) and is it only on the waitlist form, not the standard ticket selector?


lupineart

December 3, 2018 at 8:16 am

Hi Tony,

I want to change it to ‘seats’. It’s already changed in the ticket selector. I’m good with the two of them being the same if that’s easier (i.e. ‘seats’).

I’d also like to reword some of the text in the body on that waitlist form:

If you would like to be added to the wait list for this event, then please enter your name and email address, and we will contact you when spaces become available.

Thanks!


Tony

  • Support Staff

December 3, 2018 at 8:19 am

Hmm, ok, how did you change the text on the ticket selector?

‘Qty’ is used in both those locations, its an exact match, so if you are using a filter to change them it should do both already.

I’d also like to reword some of the text in the body on that waitlist form

Checking now.


lupineart

December 9, 2018 at 7:46 pm

Hi Tony,

I found where to reword some of the text in the waitlist form, so that’s taken care of. But still not sure of the ‘qty’. I use this:

add_filter( 
  'FHEE__ticket_selector_chart_template__table_header_qty',
  function(){ return 'Seats'; }
);

Thanks, Derek


Tony

  • Support Staff

December 10, 2018 at 6:29 am

Ahh, ok, that’s why. THat filter is specifically for the ticket selector and I thought you may have been using the get_text filter to ‘translate’ the text.

On your site do you have a function you are using to translate some strings, similar to this:

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

If so you can add 'Qty' => 'Seats', to the strings array, like so:

$strings = array(
    'Register' => 'Sign up',
    'Confirm and go to payment page' => 'Complete registration',
    'No events available...' => 'No upcoming classes at this time...',
    'click here to add a new state/province' => 'click here to enter address outside US/Canada',
    'Qty' => 'Seats',
    // Add some more strings here
);

(Note your strings may be completely different to the above, its just an example of how you can translate the ‘Qty’ string to ‘Seats’)

I found where to reword some of the text in the waitlist form, so that’s taken care of.

Just to confirm you aren’t going to lose those changes on the next update, may I ask how you did this?

You must be logged in to reply to this support post. Sign In or Register for an Account

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: publish

Updated by  Tony 2 days, 17 hours ago ago

Topic Tags

Notifications

This topic is: not resolved
Do NOT follow this link or you will be banned from the site!