Support

Home Forums Event Espresso Premium Shortcodes in Invoice template aren't pulling address

Shortcodes in Invoice template aren't pulling address

Posted: December 28, 2017 at 5:43 pm

Viewing 4 reply threads


Drew Hume

December 28, 2017 at 5:43 pm

Hey team!

I need each invoice to give the address info for my accounting purposes, however even though it’s coded correctly in the messages template, it’s not pulling the address. It pulls the name, but not anything else. Could you please help?

This is what is part of the template, meant to call the address out:

<h2>Bill To:</h2>
<div class=”vcard” id=”client-details”>
<div class=”fn”>[PRIMARY_REGISTRANT_FNAME] [PRIMARY_REGISTRANT_LNAME]</div>
<div class=”adr”>
<div class=”street-address”>
[PRIMARY_REGISTRANT_ADDRESS] <br>
[PRIMARY_REGISTRANT_ADDRESS2]
</div>
<div class=”locality”>[PRIMARY_REGISTRANT_CITY], [PRIMARY_REGISTRANT_ADDRESS_STATE] [PRIMARY_REGISTRANT_ZIP_PC]</div>
<div id=”client-postcode”>[PRIMARY_REGISTRANT_COUNTRY]</div>
</div>
</div>

Thank you,
Drew


Josh

  • Support Staff

December 28, 2017 at 8:32 pm

Hi Drew,

The first thing to check is does the registration form include the system address fields? The address information will need to captured on the registration form for those shortcodes to have the data to parse.


Drew Hume

December 29, 2017 at 6:28 am

Hey Josh 🙂
Yes, when people register and pay, they have to enter their address information with their payment information.


Tony

  • Support Staff

December 29, 2017 at 6:35 am

The payment details are used for the payment and not the registration so those details aren’t stored as part of the registration and will not be displayed.

In order to pull the address details for the registrant you need to enable the ‘Address information’ question group on the event (this section – http://take.ms/1CBvc), the details the user enters into those fields will show on the Invoice.


Drew Hume

December 29, 2017 at 4:21 pm

Thank you!
Fixed.
And I also feel a little stupid.

Viewing 4 reply threads

The support post ‘Shortcodes in Invoice template aren't pulling address’ 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