I would like to know if it possible to make the plugin write the coupon code on each line in the database (table “mydb_events_attendee”. Now, it’s only written in the line for the primary attendee, while all the secondary attendees are listed as NULL (even if the price is correctly reduced to 0).
Is there any changes I can make to the plugin in order to achieve this result?
Many thanks.
This topic was modified 11 years, 4 months ago by John Durbin.
This topic was modified 11 years, 4 months ago by John Durbin. Reason: updated tag
Unfortunately there isn’t an easy way to do what you are asking without major changes to some of the underlying code.
Just changing the additional attendees table rows to show the coupon instead of NULL could cause errors with the calculation of the prices, which may affect the users negatively.
thanks for the clarification! I wrote some queries with joined tables to obtain what I was looking for. It’s not straightforward but it works! You can close this ticket!
Many thanks!
Viewing 4 reply threads
The support post ‘Coupon Codes on each line in the database’ 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.