Limit one ticket per person

This topic contains 18 replies, has 5 voices, and was last updated by  Stephen Harris 10 years, 1 month ago.

Viewing 4 posts - 16 through 19 (of 19 total)
  • Author
    Posts
  • #10056

    Hi!
    It looks all right http://svenskamorenoinstitutet.se/events/event/kroppens-poesi/

    But its possible to choose all three options and event organiser sums the total amount.
    This means: If you click on all three options you get three tickets even though it looks like you have ordered just one. and it´s not possible to go back
    Is that because of the bug?

    Urban Norlander
    #10057

    Right now i changed the radio buttons to checkbox.
    I´d prefer radio buttons but until it works it´s the second best option

    Urban Norlander
    #10108

    Hi
    Now it´s impossible to submit mor than one ticket in total.
    I don´t no whats wrong. I´ve tried to create anorher form and it´s ok to submit one ticket but than it says that it´s impossible to make anymore bookings. I have tried with a different email. But still no luck I can only submit one ticket in total.

    Please help. I cant use event organiser if this problem continues

    /Urban

    Urban Norlander
    #10137

    Hi Urban,

    But its possible to choose all three options and event organiser sums the total amount.
    This means: If you click on all three options you get three tickets even though it looks like you have ordered just one. and it´s not possible to go back
    Is that because of the bug?

    Yes. And an up date will be released in the next few days which fixes this.

    If you have just changed ‘radio’ to checkbox in my above snippet then it will not work. The following can be used to display checkboxes:

     <td class="eo-booking-ticket-qty">
          <?php $checked =  ( !empty( $input['tickets'][$ticket_id] ) ); ?>
          <input type="checkbox" data-eo-ticket-qty="<?php echo esc_attr( $ticket_id );?>" name="eventorganiser[booking][tickets][<?php echo $ticket_id;?>]" <?php checked( $checked ); ?> value="1" />
     </td>
    Stephen Harris
Viewing 4 posts - 16 through 19 (of 19 total)
To enable me to focus on Pro customers, only users who have a valid license for the Pro add-on may post new topics or replies in this forum. If you have a valid license, please log-in or register an account using the e-mail address you purchased the license with. If you don't you can purchase one here. Or there's always the WordPress repository forum.