Plugin Author
Franky
(@liedekef)
Would you mind explaining what you want to achieve?
Yes, sure. Maybe I’m missing the obvious way of handling this.
I’d like to offer several different ticket types, each costing a different amount. Only one ticket type can be selected. And a maximum of one ticket per registration.
Ideally the ticket types would be displayed as radio buttons with the user able to select just one.
Plugin Author
Franky
(@liedekef)
Maybe the “attendance” option can be used for this, I need to check this out … for now I would say to use the filter eme_eval_booking_form_post_filter, see http://www.e-dynamics.be/wordpress/?cat=41
Thanks for the answer. Are you suggesting using that hook to process a custom form field with radio buttons and populate the price field?
I was originally thinking of using a custom field with radio buttons and eme_insert_rsvp_action for passing in the price to $booking[‘booking_price’].
Did that work bentenz? I’m having the same issue
Yes it worked! Pretty straightforward since you can ignore dealing with multiprice fields, and just overwrite $fields[‘booking_price’] at the end to set the price. The only disadvantage doing it this way is that the prices have to be set in functions.php not in the backend.