Support

Home Forums Event Espresso Premium promo code not limiting

promo code not limiting

Posted: July 20, 2023 at 12:09 pm

Viewing 7 reply threads


Mike Danchanko

July 20, 2023 at 12:09 pm

i have a promo code that is attached to a ticket and it will auto apply, but when checking out a user can input the same code and it will allow a double dip. see this: https://www.sandyvalememorialgardens.org/events/sandyvale-wine-festival-2023/ code: WINEFOR2

how do we remove the promo enter box and button so the user cannot enter the same code?


Tony

  • Support Staff

July 21, 2023 at 5:20 am

Hi there,

i have a promo code that is attached to a ticket and it will auto apply

That’s not something Event Espresso has available, is that something custom you have added?

Looking over your event it looks like you have added a price modifier of -$5 but that’s not the same a a promo code.

how do we remove the promo enter box and button so the user cannot enter the same code?

Edit the WINEFOR2 promotion code and set it so that it does not apply to that event.

It looks like you may have already done this as I don’t see a promotion field on your event?


Mike Danchanko

July 21, 2023 at 6:00 am

yes, we have a price modifier for this event. can you provide a function php filter that w can turn off promo codes for specific events?


Mike Danchanko

July 21, 2023 at 6:32 am

what we really need is a promo code that only applies to one ticket. we have an event that has general admission and VIP admission. when I apply the promo code it takes 20% off everything in the cart and I want only general admission tickets in that event to be 20% off with promo. how can I do that?

I also removed the price modifier for the general admission and now that ticket went to an archived state creating a new general admission ticket. Why did that happen and can I still check people in who registered?


Tony

  • Support Staff

July 21, 2023 at 6:53 am

yes, we have a price modifier for this event. can you provide a function php filter that w can turn off promo codes for specific events?

The promotions add-on already has that functionality.

You can select which events a promotion applies to when you create the promotion:

https://monosnap.com/file/r4ohnZrYG0QVgwB7OigfJsX8oaWuBv

what we really need is a promo code that only applies to one ticket. we have an event that has general admission and VIP admission. when I apply the promo code it takes 20% off everything in the cart and I want only general admission tickets in that event to be 20% off with promo. how can I do that?

Currently, we only have the option to apply promotions per event, not per ticket within an event.

I also removed the price modifier for the general admission and now that ticket went to an archived state creating a new general admission ticket. Why did that happen and can I still check people in who registered?

Because the price would have changed and the registrations related to the ticket BEFORE the change would then show the ‘new’ price even if thy had already paid in full at the time.

So we archive the original ticket leaving all of the current registrations assigned to it, duplicate it and apply the new price to the new ticket for future registrations.


Mike Danchanko

July 21, 2023 at 7:48 am

will attendee check-ins still work and be available in the app and web interface for the old, archived ticket?

per ticket promo code is what we need – are there any function scripts you can provide me to do that?


Tony

  • Support Staff

July 21, 2023 at 8:47 am

will attendee check-ins still work and be available in the app and web interface for the old, archived ticket?

Yes, I’ll double-check this to confirm after this post.

per ticket promo code is what we need – are there any function scripts you can provide me to do that?

We have a snippet that allows you to set the Promo and Ticket ID’s applicable for a specific promotion here:

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

Please read the comments at the top of that snippet for details on how to set it up, its not officially supported but may get you what you need here.

Add that to a custom functions plugin:

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

Set the ID’s correctly and you should be good to go.


Mike Danchanko

July 21, 2023 at 10:10 am

the code snippet worked, but I have one more question.

the promo is technically only valid if they buy 2 or more tickets. Do you know of a way to adjust the promo to only apply for a quantity of 2 or more?

Viewing 7 reply threads

The support post ‘promo code not limiting’ 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