Support » Plugin: My Tickets » Possible to show sold out events and left tickets on event list?

  • Resolved codac

    (@codac)


    I would like to display on the event list site how many tickets (my-tickets) are left. If there aren’t any left there should be shown a “Sold Out” or something similar.
    So far I can only see how many tickets are left on the “add to cart” form. That is too late for the customer as he always needs to enter the event first.
    Is that somehow possible?

    The page I need help with: [log in to see the link]

Viewing 8 replies - 1 through 8 (of 8 total)
  • Plugin Author Joe Dolson

    (@joedolson)

    You can display the add to cart form in event lists, but there’s no means to show available tickets *outside* of the form.

    Well the add to cart form opens up when you click on the event, so that the customer can book it.
    It don‘t necessarily need to be the number of left tickets.
    I somehow need the information about if booking is still available or already closed.
    As booking gets closed when no tickets are left, this is the trigger to show something like: No Booking available.
    Is there any other way in order to realize that? currently I use categories, and all sold out events are set to „sold out“ categorie. But this you need to do manually which is not very comfortable.

    Plugin Author Joe Dolson

    (@joedolson)

    Added a template tag to show ticket sales status in My Calendar templates. Will be available in the next release of My Tickets. {ticket_status}

    Brilliant! Thank you very much!!!

    @joedolson: This template tag is yet not live, right?

    Plugin Author Joe Dolson

    (@joedolson)

    This was added in 1.8.2, a couple months ago. Should be functional for you now, if you’re up to date.

    I am on 1.8.3 on My Tickets and 3.1.12 on My Calendar.
    I’ve added {ticket_status} to my template but no values show up. It’s just empty.

    This is my template:

    <div class="mc-main">
    	<table>
    		<tr>
    			<td colspan="3"  style="height:30% !important;">
    				<br>{linking_title}
    			</td>
    		</tr>
    		<tr>
    			<td rowspan="5">
    				<br><a href="{linking}">{thumbnail}</a>
    			</td>
    		</tr>
    		<tr>
    			<td style="height:15% !important;">
    				<b>Start:</b>
    			</td>
    			<td style="height:15% !important;">
    				{date} um {time} Uhr
    			</td>
    		</tr>
    		<tr>
    			<td style="height:15% !important;">
    				<b>Ende:</b>
    			</td>
    			<td style="height:15% !important;">
    				{enddate} um {endtime} Uhr
    			</td>
    		</tr>
    		<tr>
    			<td style="height:15% !important;">
    				<b>Ort:</b>
    			</td>
    			<td style="height:15% !important;">
    				<a href="{link_map}" onclick="window.open(this.href); return false;" onkeypress="window.open(this.href); return false;">{location}</a>
    			</td>
    		</tr>
    		<tr>
    			<td style="height:15% !important;">
    				<b>Status:</b>
    			</td>
    			<td style="height:15% !important;">
    				{ticket_status}
    			</td>
    		</tr>
    	</table>
    </div>
    Plugin Author Joe Dolson

    (@joedolson)

    I’ll look into it!

Viewing 8 replies - 1 through 8 (of 8 total)
  • The topic ‘Possible to show sold out events and left tickets on event list?’ is closed to new replies.