The Events Calendar find the available number of tickets for an event

Dorchester Literary Festival website design

This isn’t a particularly clever bit of code, but I’m putting it here as I struggled to find a solution, so hopefully this might help someone. Or me if I need it again and can‘t remember how I did it. First, you will need the id of the event. I have it in my $event […] Read more…

WooCommerce coupon limit quantity by item

Dorchester Literary Festival website design

For the Dorchester Literary Festival website, I used The Events Calendar plugin together with Events Tickets Plus which allows ticket purchasing through WooCommerce. Festival Friends qualify for a 10% discount on ticket purchases. There is a limit to the number of tickets the deal can be applied to per event. Out of the box, no […] Read more…