Support

Home Forums Event Espresso Premium Use Promocode for specific ticket type – is this still valid?

Use Promocode for specific ticket type – is this still valid?

Posted: October 17, 2023 at 11:02 am

Viewing 6 reply threads


Omar Paloma

October 17, 2023 at 11:02 am

I was trying to understand the thread below as it looks like it will help me but it’s above my level of “easily digestible.”

Is there any english version (ha ha) is it still relevant or is the another or better way?

Link fot previous post


Rio

  • Support Staff

October 18, 2023 at 6:45 pm

Agree, its not easily Digestible. The easiest way is to create event on each ticket. That way, you can control your promotion scope. https://monosnap.com/file/7DtwfbT0VmWlju9fCoYJ5rQe9XUX2C

Then select the list of event that part of the scope.

thanks


Omar Paloma

October 18, 2023 at 7:30 pm

Thanks. I’m aware of this but really would like to find out how to do it inside of a single event. I find that my customers get confused when they don’t see the other options.


Omar Paloma

October 18, 2023 at 8:39 pm

So when I was looking for digestibility I was looking for how to better understand that post as it does solve the problem. I’m not a coder but if you could walk me through it a little I think I can work it out.


Tony

  • Support Staff

October 20, 2023 at 9:21 am

I think it’s important to note that we don’t provide support for other peoples code and features we don’t provide ourselves so the problem with me walking you through this is that we don’t support it, so if you get stuck you are on your own with it.

Having said that the general idea of that thread is that you add the code HERE into a custom functions plugin.

We have some documentation on how to create a plugin here:

https://eventespresso.com/wiki/create-site-specific-plugin-wordpress-site/

That code pulls in tickets where the ticket name is ‘Regular’ using this bit:

'TKT_name' => 'Regular',

You can change the ticket name there to match the name you are using on the event if preferred and that should be it.


Tony

  • Support Staff

October 20, 2023 at 9:22 am

If all your are looking for is a way to set a promotion code to be limited to a specific ticket you could use this snippet:

https://github.com/eventespresso/ee-code-snippet-library/blob/master/addons/eea-promotions/bc_ee_ticket_scope_promotions.php

The details at the top of that snippet explain exactly what change you need to make HERE


Omar Paloma

October 23, 2023 at 6:23 pm

Thanks, Tony! I will give it a go. Thank you too, Rio.


Rio

  • Support Staff

October 23, 2023 at 7:45 pm

No problem at all.

Have a wonderful day.

thanks

Viewing 6 reply threads

The support post ‘Use Promocode for specific ticket type – is this still valid?’ 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