WordPress.org

Support

Support » Plugins and Hacks » [Resolved] [Feature request] Show unavailable ticket options to non-registered users

[Resolved] [Feature request] Show unavailable ticket options to non-registered users

  • Hello,

    I think a nice feature would be the option to show unavailable ticket options to non registered users. Currently, when this option is enabled, only logged-in users get the “N/A” in the booking form.

    I’ve come up with a temporary fix for this by changing line 190 in em-ticket.php from :

    $condition_4 = !$this->ticket_members || ($this->ticket_members && is_user_logged_in());

    to :

    $condition_4 = true;

    However, integrating this in the plugin options would be a much appreciated feature.

    Best regards,

    http://wordpress.org/extend/plugins/events-manager/

Viewing 3 replies - 1 through 3 (of 3 total)
  • agelonwl
    Member

    @angelonwl

    hi,

    using the latest version 5.3.5 this seems to be working fine with my test sites. Settings > Bookings > Ticket Options > Show unavailable tickets? (choose yes)

    Documentation

    Yes I have turned that setting on.

    Are you sure you are logged out ? I strongly doubt this is the case since the function which generates the select box with the number of seats depends on that $condition_4 to be true, and its hard coded.

    Plugin Author Marcus
    Participant

    @netweblogic

    the reason your ticket is probably not showing is not because it’s not available, but because your ticket is for members only, i.e. it will never be shown to guests

    go to edit the event and edit that ticket, see the bottom checkbox

Viewing 3 replies - 1 through 3 (of 3 total)
  • The topic ‘[Resolved] [Feature request] Show unavailable ticket options to non-registered users’ is closed to new replies.