Support

Home Forums Event Espresso Premium Promo code – global and specific

Promo code – global and specific

Posted: December 2, 2013 at 12:36 am

Viewing 8 reply threads


Samantha

December 2, 2013 at 12:36 am

I just updated Event Espresso to the latest version and previously, Global promo codes didn’t exist.

I changed all my promo codes to “Global” but for some reason, when I create a new event and select Global promo codes only, promo codes are actually disabled on the signups page. The promo codes work when I choose “Global and specific promo codes but I feel like it’s not actually working properly. It shows

Promocodes in Use:
None

Add Promocodes:
No more promocodes available for selection

What is wrong?


Tony

  • Support Staff

December 2, 2013 at 3:13 am

Hi Samantha,

Promocodes in Use:
None
Add Promocodes:
No more promocodes available for selection

Applies to the non-global ‘Specific’ codes that you can also apply when using globals.

To explain I’ll start from the begging

Selecting ‘No promo codes’ for an event http://d.pr/i/KQic
So the event looks like a normal event http://d.pr/i/eWSb
(no extra fields)

Here are my current promo codes http://d.pr/i/IbUR

1 ‘Global’ code and 3 ‘Non-Global’ codes.

**Global codes are codes that are available to all events with globals enabled. In previous versions you would need to select each promo code per event. If they are global & you allow globals on events, all of those events have all globals enabled.

So I’ll enable Global promo codes on the event http://d.pr/i/Jln
Fill in my information and add the ‘GLOBAL10’ code http://d.pr/i/bFRP
(note now promos are enabled the ‘Promo Code’ field is displayed)

We only have globals enabled and we have 1 global code. ‘GLOBAL10’ which we just used on that event http://d.pr/i/HOem

Now lets try a non global with the same setup. Same information as before only using the promo code ‘NONGLOBAL12’ http://d.pr/i/wAsf

That code is NOT a global code, we have only globals selected for the event, so it doesn’t work. So what if we want to apply the above code (or multiple non-globals) as well as globals we select ‘Global and Specific Codes’ then we get http://d.pr/i/HbT4

We want ‘NONGLOBAL12’ to also be active on this event so we tick the checkbox for that code and get http://d.pr/i/bt6

Now update the event and try another registration with ‘NONGLOBAL12’
http://d.pr/i/K8BV

Works now.

Finally if we want all codes (regardless of the codes ‘status’) we select ‘All Promo Codes (even non-globals) http://d.pr/i/Ohr3

That is all the codes available within the Promo code manager, will be available for use in that event regardless of global/non-global status.

Hope that helps.


Samantha

December 2, 2013 at 6:17 am

Hi Tony,

Thanks for the detailed response but that’s what I expected too.

I guess I didn’t give enough details. I have some promo codes set as global and some set as non-global as a test.

However, the “promo code” box never shows up, no matter what I select unless I choose “Global & Specific Promo Codes”.

ie. If I choose “no promo codes” / “Global promo codes” / “All promo codes”, the result is the same and the promo codes box doesn’t appear.

Can you advise?


Tony

  • Support Staff

December 2, 2013 at 6:23 am

Are you using Multi Event Registration (MER) for this or normal registrations?

If MER can you go to Event Espresso -> General Settings. Find ‘Allow discounts in the shopping cart?’ and make sure that is set to Yes.


Samantha

December 2, 2013 at 6:24 am

This is just for regular registrations.


Tony

  • Support Staff

December 2, 2013 at 6:31 am

Hi Samantha,

Apologies. Little slow today!

The likely cause of this issue is the templates placed within wp-content/uploads/espresso/templates.

From time to time we make changes to these templates which then need to be ported over to your custom templates.

You can test this by temporarily renaming that folder. (say templates-temp for example) and see if the Promo code field is displayed with one of the other settings. If so you’ll need to transfer the changes from the new templates into yours, or add your modifications to the new templates, whichever suits best.


Samantha

December 2, 2013 at 6:31 am

Looks like we figured it out at the same time!

I changed the custom templates and when I switch back to the original ones everything is fine.

Can you point me in the right direction as to which file / lines need to be updated:

Confirmation_Display.php
Event_list_display.php
event_list.php
registration_page_display.php
registration_page.php


Tony

  • Support Staff

December 2, 2013 at 6:41 am

Most likely it will be these two:

  • registration_page_display.php
  • registration_page.php

Regarding lines, this depends solely on the modifications you currently have. We advise using something such as DiffMerge to view the differences between the two files and transfer them over.

Just make sure you keep a backup of your working copies so you can at least always fall back to those and try again.


Samantha

December 2, 2013 at 6:52 am

awesome – all fixed!


Tony

  • Support Staff

December 2, 2013 at 6:55 am

That was quick, nice work 🙂

Just a quick note regarding the other templates. I would advise you check to see if there have been any updates to those templates also and bring them up-to-date. May not effect you now (or at all) but its possible so always worth keeping up with the latest versions.

Anyway, glad it was an easy fix.

Viewing 8 reply threads

The support post ‘Promo code – global and specific’ 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