I am trying to correct the invoice PDF and I am having no luck finding the page to do this from. I need to change the discounts being displayed in the transaction box. For example if some gets a ticket and do not qualify for the modifier I dont want to show the modifier on the sales receipt it is confusing and also a little taunting to the customer reminding them they did not get the discount. I enclosed the invoice url on this post. Thanks for the help
The invoice can only be edited via modifying files, /wp-content/plugins/event-espresso-core-reg/modules/gateways/Invoice/lib/templates/receipt_body.template.php
Specifically lines 84-93 would need to be removed or commented out, http://take.ms/phJJI
(Note, that is the receipt the user sees).
It might be better though to look at the tickets and see whether the really need to have global discounts or whether they should be set individually per ticket. That way, if there is no discount applied it won’t show on the receipt.
Thanks. The student discount goes to every ticket. The other modifier is unique to the ticket. On the PDF I sent it doesnt show the global name but does show the discount of 5%. The other is local and is shown.
You could test the return from total_no_code in an if conditional just inside that loop that Dean pointed out. That way if the contribution from the discount is 0, it would skip that line item.
Viewing 3 reply threads
The support post ‘Invoice PDF’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.