Support

Home Forums Event Espresso Premium Promo Code apply to ticket

Promo Code apply to ticket

Posted: March 30, 2016 at 7:22 am


sherryMNVC

March 30, 2016 at 7:22 am

I have three questions about the promo code:

1 – I need a promo/coupon code that is applied to only one ticket price not the entire event. How can I accomplish this?

2 – Is it possible to change the words in the button “Submit Promo Code”? Client doesn’t want everyone asking for a promo code discount and they want to to keep it sort of hidden by calling it something else. For example “Zone#” How can this be accomplished?

3 – My site isn’t showing a text box to enter the promo code. I only see the button that reads “Submit Promo Code” but not text box appears? Is it because have not completed by paypal payment setup? Or maybe a problem with the site?

http://mnvc.whippetmedia.com/


Lorenzo Orlando Caum

  • Support Staff

March 30, 2016 at 10:31 am

Hello Sherry,

Discounts/promotions are currently enabled on a per-event basis. You can vote for this enhancement here: https://trello.com/c/zCsClu98/112-add-ticket-scope-to-promotion

The messaging on the button text can be changed by using a gettext filter. Here is an example that you can add to your site via a site specific plugin:

https://gist.github.com/lorenzocaum/4079471c8f89b7fab96ac62fddc2d5aa

Be sure to update REPLACE ME to your actual messaging.

Your field does not have a border and you can use CSS to add one:

https://gist.github.com/anonymous/7c1da68914ea41887091938855c18850

Here is a preview of how it will appear as a light grey border: http://cl.ly/0E440X2H1y04


Lorenzo


sherryMNVC

April 10, 2016 at 10:59 am

Concerning the message on the promo button, the PHP code you gave me is not working. It throws a “fatal error”. Can you take a second look and see if your code is correct for this use? Thanks for your help!


sherryMNVC

April 10, 2016 at 11:05 am

Okay, I was adding it directly to my functions file and kept getting an error. I added “My Custom Functions” plugin and it worked perfectly. Thank you for your help!


Tony

  • Support Staff

April 11, 2016 at 6:53 am

Hi there,

It sounds like you may have been including the opening php tag from the beginning of the file <?php, which if you are within an open php tag already will throw a fatal error, but anyway, I’m glad it’s now working 🙂

Is there anything else you need assistance with or can I mark this thread resolved?


sherryMNVC

April 11, 2016 at 7:16 am

This issue is resolved. Your were very helpful and I appreciate your quick response 😉

The support post ‘Promo Code apply to 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.

Support forum for Event Espresso 3 and Event Espresso 4.
Documentation for EE3 and EE4
Documentation for Event Espresso 3

Documentation for Event Espresso 4

Status: closed

Updated by  sherryMNVC 3 years, 10 months ago ago

Topic Tags

Tagged: 

Notifications

This topic is: resolved
Do NOT follow this link or you will be banned from the site!