Support

Home Forums Event Espresso Premium Discount code is working, though not visible on ticket

Discount code is working, though not visible on ticket

Posted: May 26, 2020 at 1:30 pm


Cinema Zevenskoop

May 26, 2020 at 1:30 pm

Hi there,

We would like to use discount codes for free access to our venue for our volunteers. The code is working and reducing the ticketprice to zero, still the visible price on the ticket is the original price (€ 7,50). Is there a way to adjust the price on the ticket when the buyer uses a discount or promotional code? And to show the code on the ticket so we know at the check-in which code(s) have been used?

Thanx in advance!


Tony

  • Support Staff

May 27, 2020 at 7:40 am

Hi there,

Is there a way to adjust the price on the ticket when the buyer uses a discount or promotional code?

Currently this isn’t available within Event Espresso, you would need some custom development to create a custom shortcode for this.

And to show the code on the ticket so we know at the check-in which code(s) have been used?

This is available as long as you are using the latest version of the Promotions add-on.

Within the ticket template (Event Espresso -> Messages -> Default Message Templates -> Ticket.

In the main content you can add the [PROMOTIONS_USED] shortcode to output ‘{Promotion Name} [{Promotion code}]’

If you click on the icon next to each individual section of the message editor it shows you all of the available shortcodes. You can also find details for each shortcode in the Help section (top right) and Messages Shortcodes.

So as an example you do do something like this: https://monosnap.com/file/erxHpa9Oww2GAqElmo60dlOAzMzJEc

Which will output the ticket like this: https://monosnap.com/file/rXRRK9eZ7J5mPIeXvjRtAJ1mTVfspk

That’s a 100% discount on one of my sites, the Promotion is ‘Global promo’ and the code ‘100OFF’.

I recommend not using a title/prefix for the promotions as if none are used on the registration it will just output an empty string, meaning if you do something like Promotions: [PROMOTIONS_USED] it will output just Promotions: for regular users.

The support post ‘Discount code is working, though not visible on ticket’ 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