Posted: May 7, 2019 at 10:42 am
|
Dear support-team, I need a change for the shortcode for the invoice-number. I have the following request: 1) My customer has a seminar-center with four seminar leader. Each seminar-leader gets his own invoice-template with his own invoice number circle. Where can I change the programming of the assignment of the invoice number? So that I can implement the number circles for each seminar leader. 2) I want to programm one new shortcode. Do you have some examples or a documentation? Thank you very much,
|
Hi Daniela, My apologies for the delay.
Currently, you can’t change the default ID, it’s the transaction ID which is ID of the transaction row stored in the database, you can’t change that value. What you would need to do is use a custom value, you’d need to store a custom value for the Invoice ID’s (nothing that this isn’t as simple as it sounds with multiple ‘leaders’ and various registration status you can have) and then add a custom shortcode to pull that custom value from the registration/transaction on the invoice. So to be clear, what you are trying to do isn’t going to be easy and will require custom development from a developer, which leads onto your next to question:
At this time we (Event Espresso) don’t have the capacity to take on custom development projects as we are focusing on various areas of the plugin with our development time. If you are not currently working with a developer we recommend the folks at codeable who may be able to build this custom project for you.
Adding your own shortcode can be done (noting that it’s only half the battle for the above feature request) relatively easily, we have some documentation here: https://eventespresso.com/wiki/messages-system-how-to-add-custom-message-shortcodes/ With some more examples here: https://gist.github.com/Pebblo/41e82e9665e041f9fba092ab57de4891 |
|
The support post ‘Shortcode for invoice-Number, New shortcodes for Invoice’ 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.