- This topic has 3 replies, 2 voices, and was last updated 6 years, 5 months ago by .
Viewing 4 posts - 1 through 4 (of 4 total)
Viewing 4 posts - 1 through 4 (of 4 total)
- The forum ‘How do I …’ is closed to new topics and replies.
Events Made Easy › Forums › How do I … › Problem with change registration
Every time I try to change a registration (number of seats) It gets set to zero (0) instead of what I put in and I can never get it set to anything other than 0. This is through the admin interface.
Here is my RSVP template:
[eme_if tag='#_IS_ADMIN_PAGE' value='0']There are #_RESERVEDSPACES people coming to Jacque's![/eme_if]
<br>
<table class='eme-rsvp-form'>
<tr><th scope='row'>First Name*:</th><td>#REQ_FIRSTNAME</td></tr>
<tr><th scope='row'>Last Name*:</th><td>#_LASTNAME</td></tr>
<tr><th scope='row'>E-Mail*:</th><td>#_EMAIL</td></tr>
<tr><th scope='row'>Phone number:</th><td>#_PHONE</td></tr>
<tr><th scope='row'>Seats*:</th><td>#_SPACES</td></tr>
<tr><th scope='row'>Comment:</th><td>#_COMMENT</td></tr>
</table>
#_SUBMIT
[eme_if tag='#_IS_ADMIN_PAGE' value='0']
People who are coming: #_BOOKINGS
</form>
<p>
To delete your reservation:
<br>
[eme_delete_booking_form id=5]
[/eme_if]
I tested that code here: works just fine …
OK, I was wondering if it was smoothing I did in the template. Its good to know its not.
BUT, the problem is still there. When I go to change the number of seats it always goes to zero (0) and I can never set it to anything else.
Any help with that?
Thanks!!!
James
Well, I would remove some of the eme_if sections from the rsvp form and put them in the single event template (but that’s just me). Also, the eme_delete_booking_form can be replaced by something more dynamic (either the id can be replaced by #_EVENTID or use #_REMOVEBOOKINGFORM
Concerning the price: it is calculated but can be influenced by discounts or custom eme filters/hooks. Also: try the latest dev-version which contains some bugfixes too. Get it from https://wordpress.org/plugins/events-made-easy/advanced/