Support

Home Forums Event Espresso Premium Removing text from payment due date

Removing text from payment due date

Posted: November 24, 2016 at 5:27 am


deckchairuk

November 24, 2016 at 5:27 am

Hey there,

I’m setting up some invoice templates and have ran into a small problem so have a couple of queries.

I want to show an invoice date AND a invoice due date on my invoice. My first thought was to use the payment due date shortcode, and set the due days to 0, which would show the date of purchase.

The problem with this is the shortcode also spits out the ‘Payment in full due by:’ text and I don’t think I’m able to remove it.

My queries/questions are; could there be a shortcode added which just displays the date the invoice was created?

Alternatively, I feel removing the ‘Payment in full due by:’ text would make sense, as you can always add it in your self and it’s then less limiting.

I don’t expect you to edit the core just so I can get my invoices setup correctly but any suggestions on how I could achieve this would be great.

Thanks! Harry.


Tony

  • Support Staff

November 24, 2016 at 6:44 am

Hi Harry,

You can achieve both of your requirements without modifying any code 🙂

The Payment in full due by: string is the default ‘prefix_text’ for the [PAYMENT_DUE_DATE_*] shortcode.

Note the _* at the end of the shortcode? Any shortcode that has that has options available for you to set.

If you go to the top of the template editor you will find the Help section dropdown tab (top right).

In there you can view all of the options available for all shortcodes, so in this case go to ‘Message Shortcodes’ section and search for ‘[PAYMENT_DUE_DATE_*]’

You’ll find something like this – http://take.ms/hxRD5

Any of those additional options you can set yourself so to set prefix we would use:

[PAYMENT_DUE_DATE_* prefix_text="Something else: "] which sets it to show ‘Something else: ‘

Or [PAYMENT_DUE_DATE_* prefix_text =''] will set it to display no text at all.

To dipslay the Invoice generation date you can use:

[PRIMARY_REGISTRANT_REGISTRATION_DATE]

As the invoice will be generated at the time of the registration.

The support post ‘Removing text from payment due date’ 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