Posted: May 4, 2015 at 4:22 am
Hi there, My client wants a custom registration code. Is there functionality for this in EE4? Thanks, |
|
Hi Michael, How are you today? What are you trying to do with that number. Because you could format your tickets/confirmation emails in that way using the messages shortcodes. In this case I’d use the EE registration ID or registration number for the random number. Does that help? Let me know if I can do anything else for you. |
|
Hi Garth, Could you provide me with a bit more information? Thanks, |
|
Hi Michael, You’ll find the EE registration code and ID in the registration list table. The reg code is outlined in pink in this screenshot, the ID is in the ID column. How you use it depends on where/how you want to display it. For example if you want to display a custom registration code in the invoice you’d add something like this to the invoice template:
|
|
Hi Josh, sorry I can’t see that screenshot. Thanks, Martin |
|
Hi Martin, You should be able to view this one – http://take.ms/Qtql1 |
|
Hi there, My client really wants to change the Reg code. Where and when does the Reg code get generated, and is it possible to customise its generation? Also, I notice that the Reg ID consists of two numbers, one over the top of the other, in your screenshot. What do the two numbers mean? Many thanks! |
|
|
Hi, The reg code is made of 3 sets of numbers. Tony’s screenshot is from a smaller screen so it looks like they are on two lines, but the reg code is: 829-291-137e8bf This breaks down as: Transaction ID – Ticket ID – random characters based on the reg_url_link The filter FHEE__EE_Registration_Processor___generate_reg_code__new_reg_code is what is used to modify the reg code. That filter is found in /wp-content/plugins/event-espresso-core-reg/core/business/EE_Registration_Processor.class.php Here is an example (not supported, just an example!) where the reg code is changed to start at 1 and increment: http://pastebin.com/VQ1YtbEf |
The support post ‘Custom Registration Code (2)’ 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.