We are using event espresso plugin to manage events on out site. It is yet under development. But we have a situation where we want to give some amount of free tickets to the each company available on out site. after that they have to purchase members price ticket.
In this situation, To handle this situation we have created new table to save quantities per company. But we are unable to find the function from which we can decrement quantity in that table after the registration complete. Can you walk us through the final step or function that is decrementing quantity from the wp_esp_ticket? We have seen function increase_sold() but this function is not being called after final registration step.
Or is there any another way to handle this situation?
Is there a reason you don’t give the companies a 100% off promotion code they can use only a certain number of times? And after they use the promotion code that many times they have to pay for more?
If you still want to go the route of adding a custom table and doing changes that way, we won’t be able to help you with that in the forums. You might post your question to GitHub where a developer could give you some guidance: https://github.com/eventespresso/event-espresso-core
Viewing 1 reply thread
The support post ‘Decrement custom ticket quantity’ 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.
Support forum for Event Espresso 3 and Event Espresso 4.