Posted: March 18, 2014 at 11:10 pm
|
Hi!, 2. My second issue is that I want to import promotional code (as csv or excel). How can I do this ? My wordpress version: latest (3.8+), event espresso version 3.1.36.2.P |
Hi Hafeez, I’m sorry, I am not 100% sure about whether you’re asking if a promo code can be used once as in one customer can use the code, then no one else -or- if the code can only be used for one event and one event only. The latter case is possible if you set the promo code to not be global, and assign the code to only one event. The former isn’t possible because Event Espresso doesn’t have a limit a promo code’s usage amount feature. With your other question, if you are familiar with phpmyadmin it is possible to import a batch of promo codes via phpmyadmin. What you can try is go in to phpmyadmin and look for the _events_discounts_codes, export as csv to use as a template, add your codes, then import them back in. Please be sure to make a backup of your database before doing this. |
|
|
My first problem was each promotional code will be used once only by one customer. 3. I have another new issue. I noticed that same name promocode can be created more than once. This is a problem. How can i fix it ? |
Hi Hafeez, I’m afraid that Event Espresso does not have the promo code features you’re looking for it to do. If a promo code is in the system it can be used more than once. There is also not a mechanism to prevent the same promocode being entered into the system. It’s understood that this could be an issue if there are a lot of promo codes is in the system, and I can register this idea to add some validation to prevent this from happening in a future version of the promo code manager. |
|
|
If you don’t mind I can add some suggestion here. My first problem I can resolved by adding a field named “status” in the database table where coupon codes are inserted. That means initially when inserted the field will be filled as “unused” status. When a customer select a promo code and press register button then this promocode status field will be changed to “used”. If you tell me the way I think I can resolve the problem. I think you can understand the matter. |
|
Hi, Most of the coupon related code is found in event-espresso/includes/admin-files/coupon-management/ Please note that these are core files so editing them directly is not recommended as plugin updates will over write your changes. |
The support post ‘Making promotional code unique and importing promotional codes as csv file.’ 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.