Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-sales domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the better-click-to-tweet domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-amazon domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the pue-stats domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114
Notice: Function _load_textdomain_just_in_time was called incorrectly. Translation loading for the wordpress-seo domain was triggered too early. This is usually an indicator for some code in the plugin or theme running too early. Translations should be loaded at the init action or later. Please see Debugging in WordPress for more information. (This message was added in version 6.7.0.) in /home/staging-poc/public_html/wp-includes/functions.php on line 6114 Coupon Codes on each line in the database | Event Espresso - Staging Server
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, 5 months ago by John Durbin.
This topic was modified 11 years, 5 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.