Support

Home Forums Event Espresso Premium Invoice text needs to be changed

Invoice text needs to be changed

Posted: February 3, 2015 at 10:47 am


Carrie Schulstad

February 3, 2015 at 10:47 am

WP 4.1 EE 4.4.10
My invoices show a 15% tax line that I would like removed. We are not taxing the registrations. It also has a VAT Tax line that is blank that needs to be removed. There are a few places that show the word Ticket that we would like to say Registration. It lists us in Africa but we are in the United States and have US chosen in the settings. See this link for the areas in question: http://cwplantfair.org/wp-content/uploads/Camas-Mothers-Day-Plant-Garden-Fair8-2-1-1d0ed4-0Kitty-Hibbs-bus-confirm.pdf


Josh

  • Support Staff

February 3, 2015 at 1:03 pm

Hi Carrie,

I can advise updating to Event Espresso 4.6 as it will allow you to edit the invoice and receipt templates from within the Event Espresso > Messages part of WordPress dashboard.


Carrie Schulstad

February 3, 2015 at 3:20 pm

Hi Josh
I updated the plugin this morning to 4.4.10 and it does not say there is another update available.


Josh

  • Support Staff

February 3, 2015 at 3:23 pm

Hi Carrie,

There is an update available, but the update notifications do not all go out all at the same time. You can trigger an update notification on your website by going to your Event Espresso > General Settings page, then click save.


Carrie Schulstad

February 3, 2015 at 3:57 pm

I have updated but the work Ticket is still there and I see no way to get rid of it.


Carrie Schulstad

February 4, 2015 at 1:12 pm

Josh – when I upgraded the plugin to 4.6 the following code which is in the child themes functions.php file quit working: //* Change the messaging for the additional tickets/attendees on the registration checkout page
add_action( ‘FHEE__registration_page_attendee_information__auto_copy_attendee_pg’, ‘ee_custom_messaging_above_information_additional_tickets_attendees’ );
function ee_custom_messaging_above_information_additional_tickets_attendees() {

return ‘We agree that the Downtown Camas Association (DCA), the City of Camas, and the event sponsors are in no way responsible or liable for amount of sales, personal property losses or damages, or injury resulting from involvement in the plant fair. The DCA has the right to approve all products and displays at this event and ask for removal of any product/display that does not fit our guidelines or quality standard. Participation in this event constitutes acknowledgement and agreement to these terms.’;
}

I need that disclaimer to show on the registration form. How can I get it back with the new version? I thought adding to a child theme would prevent things from disappearing on upgrade.


Sidney Harrell

February 4, 2015 at 2:11 pm

It looks like that filter is applied in the auto_copy_attendee_info.template.php file. Is that template being displayed? It might not show up if there is only one attendee in the registration.


Carrie Schulstad

February 4, 2015 at 3:24 pm

The only thing that changed was the upgrade. That is the code that was provided through another support question. I did not change any templates – just upgraded.


Carrie Schulstad

February 5, 2015 at 10:51 am

We can’t use this program if the disclaimer cannot be added to the form. It was there before upgrading – now it is not. We will request a refund and find another program if this can’t be fixed.


Lorenzo Orlando Caum

  • Support Staff

February 5, 2015 at 11:11 am

Hi Carrie, the disclaimer can be used with Event Espresso.

The issue is how its being added with FHEE__registration_page_attendee_information__auto_copy_attendee_pg. It set to run if multiple tickets are selected:

http://cl.ly/image/1u1v1W2O471y

However, if a single ticket is selected then it won’t appear because there won’t be multiple tickets or multiple attendees/registrants if there is a single ticket option.

Try adding the disclaimer as a required question with a checkbox. Then position it right under the under required question.


Lorenzo


Carrie Schulstad

February 5, 2015 at 12:29 pm

Lorenzo I have already tried that. Your form will not allow me to enter the text that they need to agree to. That is why you originally had me put it in the functions php file. How can that code be changed to work for all registration. Most of them will be single.


Josh

  • Support Staff

February 5, 2015 at 6:01 pm

Hi Carrie,

You can try using the

‘FHEE__registration_page_attendee_information__attendee_information_pg’

hook instead.


Carrie Schulstad

February 6, 2015 at 8:57 am

I added that and get a parse error – here is that whole section:
//* Change the messaging for the additional tickets/attendees on the registration checkout page
add_action(‘FHEE__registration_page_attendee_information__attendee_information_pg,’ ‘ee_custom_messaging_above_information_additional_tickets_attendees’ );
function ee_custom_messaging_above_information_additional_tickets_attendees() {

return ‘We agree that the Downtown Camas Association (DCA), the City of Camas, and the event sponsors are in no way responsible or liable for amount of sales, personal property losses or damages, or injury resulting from involvement in the plant fair. The DCA has the right to approve all products and displays at this event and ask for removal of any product/display that does not fit our guidelines or quality standard. Participation in this event constitutes acknowledgement and agreement to these terms.’;
} and here is the error: Parse error: syntax error, unexpected ”ee_custom_messaging_above_inf’ (T_CONSTANT_ENCAPSED_STRING) in /home/cwplantf/public_html/wp-content/themes/Avada-Child-Theme/functions.php on line 92


Josh

  • Support Staff

February 6, 2015 at 9:03 am

Hi Carrie,

You have a typo in your code:

information_pg,'

needs to be:

information_pg' ,


Carrie Schulstad

February 6, 2015 at 1:08 pm

I am still getting a parse error:
//* Change the messaging for the additional tickets/attendees on the registration checkout page
add_action(‘FHEE__registration_page_attendee_information__attendee_information_pg’, ‘ee_custom_messaging_above_information_additional_tickets_attendees’ );
function ee_custom_messaging_above_information_additional_tickets_attendees() {
return ‘We agree that the Downtown Camas Association (DCA), the City of Camas, and the event sponsors are in no way responsible or liable for amount of sales, personal property losses or damages, or injury resulting from involvement in the plant fair. The DCA has the right to approve all products and displays at this event and ask for removal of any product/display that does not fit our guidelines or quality standard. Participation in this event constitutes acknowledgement and agreement to these terms.’;
}


Lorenzo Orlando Caum

  • Support Staff

February 6, 2015 at 1:31 pm

Hi Carrie, there is a mix of styles with the apostrophes.

Try this version:

http://pastebin.com/ueuVkRzF


Lorenzo


Carrie Schulstad

February 6, 2015 at 2:14 pm

That got rid of the parse error – thank you. Now the message is at the top of the page which does not make sense – it needs to be at the bottom of the form.


Josh

  • Support Staff

February 9, 2015 at 10:12 am

Hi Carrie,

You can make your custom message display at the bottom of the registration page by echoing out the text in a function and add it to the AHEE__SPCO__after_registration_steps action hook. Here is an example:

//* Add message to the bottom of the registration checkout page
add_action('AHEE__SPCO__after_registration_steps', 'ee_custom_messaging_information' );
function ee_custom_messaging_information() {
echo '

We agree that the Downtown Camas Association (DCA), the City of Camas, and the event sponsors are in no way responsible or liable for amount of sales, personal property losses or damages, or injury resulting from involvement in the plant fair. The DCA has the right to approve all products and displays at this event and ask for removal of any product/display that does not fit our guidelines or quality standard. Participation in this event constitutes acknowledgement and agreement to these terms.

'; }


Carrie Schulstad

February 9, 2015 at 10:29 am

Thanks Josh – that works perfectly!

The support post ‘Invoice text needs to be changed’ 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