Support

Home Forums Event Espresso Premium Coupon Code Issues

Coupon Code Issues

Posted: October 22, 2013 at 12:20 pm


jayme

October 22, 2013 at 12:20 pm

I am using the latest version of wordpress and event espreso version 3.1.35 P.

Issue 1 – when you insert a promo code for the first time it works, but if you decided you want to use a different promo code you get the promo code is invalid. you can test it out at http://www.theultimatetitan.com/the-challenge/location/miami-florida/ add one of the tickets to cart and view cart, use the following two promo codes “mia10pc” than change to “mia20pc”, they both work but you will see that once you enter one, you can not use the other.

Issue 2 – how can i remove the case sensitive issue with the coupon code. I was trying to look at the code to make it accept any case situation but no luck.

Please what can i do, i have a lot of promo codes circulating and keep on getting complainants that coupon code does not work.


Dean

October 23, 2013 at 2:44 am

Hi,

1) This is a limitation of the promotional codes system, it can only access one code.

2) The promotional codes are already case insensitive, for example with the code “mYnAmEISdeAn”, entering mynameisdean or MYNAMEISDEAN will both work. Can you give an example of a code which is having issues?


jayme

October 23, 2013 at 1:50 pm

so once you input the code, you cant change it, how can i deactivate that. For example i input a 10% promo code, but then i find a 20% promocode, i go in and change promocode but the one i input says its not a valid promo code, but it is. how can it reset the promocode upon change.


jayme

October 23, 2013 at 2:54 pm

note that i am using the shopping cart, also the case insensitive does not work, it is case sensitive. what can i do, need it to accept any case situation of the promocode


jayme

October 23, 2013 at 4:03 pm

I found the piece of code that was causing my issue. in event-espresso/includes/admin-files/coupon-management/use_coupon_code.php,

Line 64 is a conditional statement that is not allowing the promocode to look up another code if the user changes the code for another one. I committed it out and only used the SQL request within the else statement and now the promo code works the way i wanted it to. it also now works not being case sensitive.


Dean

October 24, 2013 at 3:32 am

Hi Jayme,

I am glad you found a workaround, but please note updates will over ride those changes.

The support post ‘Coupon Code Issues’ 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