Hello,
You could use some conditional placeholders like:
{fully_booked}content{/fully_booked} You could check more about the conditional placeholders here: https://wp-events-plugin.com/documentation/conditional-placeholders/
Hello,
using conditional placeholders is working fine to mark events as “fully booked”,
Is there an easy way to mark an event as sold-out?
Any hints on this one?
Thank in advance
Fabian
fully booked = sold out.
{fully_booked} is the opposite of {has_spaces} 😀
If you use more conditional levels, you can really play around with it.
{has_bookings}
Content visible for any event with bookings, wether sold out or not.
{bookings_open}Content when there are still tickets available{/bookings_open}
{fully_booked}SOLD OUT{/fully_booked}
{/has_bookings}
{no_bookings}Content for events without any tickets ever{/no_bookings}
To enable multi-level conditional placeholders, add this to your wp-config.php
define( 'EM_CONDITIONAL_RECURSIONS',3);
If you’d like to see it in action:
https://www.gidspatrick.nl/agenda/?pno=2
That’s my Dutch site, but you still can see the difference easily 🙂
The city tour for 13-10-2018 is already sold out (fully booked), so the content is automatically different from the ones where there are still tickets available. And the private group tours have a completely different content. 😀