Support

Home Forums Event Espresso Premium Take out the Canadian Provinces from the registration Dropdown

Take out the Canadian Provinces from the registration Dropdown

Posted: November 3, 2014 at 1:35 pm

Viewing 8 reply threads


Cara Livorio

November 3, 2014 at 1:35 pm

Hello, how do I take out Canada from the registration dropdown?


Lorenzo Orlando Caum

  • Support Staff

November 3, 2014 at 1:48 pm

Hi,

You can make this change through the Countries tab:

WP-admin –> Event Espresso –> General Settings –> Countries

Then select Canada and turn it off as an option in the dropdown menus and save changes. If you only need to disable provinces, then disable each province and save changes.

https://eventespresso.com/wiki/change-countries-used-event-espresso/


Lorenzo


Cara Livorio

November 3, 2014 at 1:51 pm

Hi, thank you for your response but I already looked in there and the only selected county is USA.


Garth

  • Support Staff

November 3, 2014 at 2:00 pm

Hi Cara,

There is a setting to activate each country. Is it Canada set to No? http://www.screencast.com/t/fhdVfMqBo3Y


Garth

  • Support Staff

November 3, 2014 at 2:00 pm

Hi Cara,

There is a setting to activate each country. Is it Canada set to No? http://www.screencast.com/t/fhdVfMqBo3Y


Cara Livorio

November 3, 2014 at 2:08 pm

Great! thank worked. The State/Provice seems to be a locked field. What if I want to reuse the same field in another question group. is it possible?


Garth

  • Support Staff

November 3, 2014 at 2:34 pm

Hi Cara,

System questions can not be moved in and out of the system question groups because it has the potential to break the registration information for prior registrations.

What are you trying to do exactly so we can advise you further?


Cara Livorio

November 3, 2014 at 2:42 pm

I am trying to create different registration forms to use with different events.
Each registration form has different fields and different group questions.
Some of the fields are the smae such as the state, but the group of questions it is under is called differently.

Also how do I edit this line * Please note that a maximum number of 10 tickets can be purchased for this event per order. to say something else?

My issue is that I need to collect the student information separately and I do not want a student to buy 3 class passes under one name only. How sould I go about this?

thank you


Lorenzo Orlando Caum

  • Support Staff

November 3, 2014 at 3:35 pm

Hi,

You can do that but you’ll want to leave the system questions as is and create new question groups with questions:

https://eventespresso.com/wiki/add-questions-event-espresso-question-groups/

Once those have been created, you can enable them for certain events.

Question groups are enabled on a per-event basis so you can ask for basic information such as a name and email on one event and more detailed information on another.

The messaging for that line can be changed using a gettext filter:

 
function mycustom_filter_gettext( $translated, $original, $domain ) {
 
    // This is an array of original strings
    // and what they should be replaced with
    $strings = array(
        'Please note that a maximum number of %d tickets can be purchased for this event per order.
' => 'Change me to the new message here',
        // Add some more strings here
    );
 
    // See if the current string is in the $strings array
    // If so, replace its translation
    if ( isset( $strings[$original] ) ) {
        // This accomplishes the same thing as __()
        // but without running it through the filter again
        $translations = get_translations_for_domain( $domain );
        $translated = $translations->translate( $strings[$original] );
    }
 
    return $translated;
}
 
add_filter( 'gettext', 'mycustom_filter_gettext', 10, 3 );

It can be added to your child theme’s functions.php file or a site specific plugin. Be sure to change this text: Change me to the new message here

If you need to force the collection of different information per attendee, then you can enable question groups for additional attendees through the event editor:

http://cl.ly/image/3P152i2H261u


Lorenzo

Viewing 8 reply threads

The support post ‘Take out the Canadian Provinces from the registration Dropdown’ 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