Support

Home Forums Event Espresso Premium Event Cart and related text

Event Cart and related text

Posted: October 9, 2017 at 12:01 pm

Viewing 2 reply threads


sogtalks@gmail.com

October 9, 2017 at 12:01 pm

Hello,
Can you point me to where/what hooks etc. to change the following Text:
Event Details page – “View Event Cart”
Modal – “View Event Cart”
Registration Checkout – “Empty Event Cart”, “Update Event Cart”, “Proceed to Registration”


Josh

  • Support Staff

October 9, 2017 at 3:57 pm

The Multi Event Registration related hooks listed are in the Multi Event Registration wiki:

https://eventespresso.com/wiki/ee4-multiple-event-registration-add-on/#customizations

The hook for Proceed to Registration is in this wiki:

https://eventespresso.com/wiki/customize-checkout-registration-button-text/


sogtalks@gmail.com

October 10, 2017 at 12:40 pm

Josh,

Thank you. I had some issues understanding the use of the Multiple Events plugin. Got it now.

For others who have searched for this here is what I used/updated:

// this changes the text "Event Cart" everywhere, for example on the event details page the button says "View Event Cart" by default, this changes it to "View 'your text'". Also when you visit the cart on the Registration Checkout page there are subtotals and totals that use this text.
function ee_mer_change_cart_name(){
	return 'Reservations Cart';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__set_definitions__event_cart_name', 'ee_mer_change_cart_name' );

// Changes button text "Event details" on Events list
function ee_view_details_button() {
 return 'Learn More About This Event';
}
add_filter ('FHEE__EE_Ticket_Selector__display_view_details_btn__btn_text', 'ee_view_details_button');

// Changes button text "View Event Cart" on modal
function ee_mer_change_view_event_cart_name(){
	return 'view your selection(s)';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__view_event_cart_btn_txt', 'ee_mer_change_view_event_cart_name' );

// Changes button text "Empty Event Cart" on modal
function ee_mer_change_empty_event_cart(){
	return 'clear your selection(s)';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__empty_event_cart_btn_txt', 'ee_mer_change_empty_event_cart' );

// Changes button text "Update Event Cart" on modal
function ee_mer_change_update_event_cart(){
	return 'update your selection(s)';
}
add_filter( 'FHEE__EED_Multi_Event_Registration__update_event_cart_btn_txt', 'ee_mer_change_update_event_cart' );

// the filters
//FHEE__EED_Multi_Event_Registration__view_event_cart_btn_txt
//FHEE__EED_Multi_Event_Registration__empty_event_cart_btn_txt
//FHEE__EED_Multi_Event_Registration__update_event_cart_btn_txt
//FHEE__EED_Multi_Event_Registration__return_to_events_list_btn_txt
//FHEE__EED_Multi_Event_Registration__proceed_to_registration_btn_txt

Thank you for the help.

Viewing 2 reply threads

The support post ‘Event Cart and related text’ 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