verbb / events

Craft CMS Plugin for events management and ticketing.
Other
22 stars 13 forks source link

How do I set purchased tickets by type? #74

Closed kevadamson closed 3 years ago

kevadamson commented 3 years ago

I thought {% set entries = craft.events.purchasedTickets().type('courses').all() %} would work, but it throws an error. Thanks!

engram-design commented 3 years ago

Added in 1.4.15 - https://verbb.io/craft-plugins/events/docs/getting-elements/purchasedticket-queries#ticketType