Support

Home Forums Event Espresso Premium Change default Free Admission name/quantity

Change default Free Admission name/quantity

Posted: February 13, 2019 at 11:30 am


asisnyc

February 13, 2019 at 11:30 am

Hi –

We would like to change the default Free Admission ticket name and default quantity. I changed the name to ‘Admission’ under Events->Pricing. I see that I can modify the amount, but how do I modify the quantity? Under my defaults tickets, I now have a ticket labled ‘Admission’, but the quantity is the original 100? Can I change this to 130?

Thank you,
Terri


Josh

  • Support Staff

February 14, 2019 at 8:22 am

Hi Terri,

You can change the default quantity by adding this code to your site:

https://gist.github.com/joshfeck/8daf730289d1dd3ceb6c52fc5e47dd82

You’ll note on line 17 in the example the quantity is set to 45. You’ll change that to 130

You can add the above to a functions plugin or, if available, into your WordPress child theme’s functions.php file.


asisnyc

February 14, 2019 at 8:25 am

Thank you!

The support post ‘Change default Free Admission name/quantity’ 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