Comments (2)
Using customer()
as an element query is still possible (although just fixed some minor typing), but instead of a Commerce customer, it's just a Craft user. I've updated the docs to reflect this.
You'll want to adjust that to:
$purchasedTickets = PurchasedTicket::find()->customer($user);
To get the fix early, change your verbb/events
requirement in composer.json
to:
"require": {
"verbb/events": "dev-craft-4 as 2.0.0-beta.8",
"...": "..."
}
Then run composer update
.
from events.
Thanks so much for the update.
That query is now working on my end with the User object.
from events.
Related Issues (20)
- Tickets only available in the control panel HOT 3
- Attach ticket(s) to E-Mail HOT 2
- Translatable ticket fields do not work correctly HOT 3
- Overbooking is possible HOT 4
- Event capacity and ticket capacity HOT 6
- Insufficient validation of the ticket PDF download parameters HOT 3
- Ticket only available to purchase if enabled on primary site HOT 1
- duplicate event but not tickets HOT 1
- Download Tickets in Control Panel HOT 2
- Function availableQuantity of Ticket class returns bool HOT 2
- Separate user permission for event ticket settings
- Propagation Methods for events on multisite setups HOT 1
- Multisite edit issues HOT 2
- No purchased tickets are generated when the order is updated. HOT 3
- Events Causing Extra Shipping Charges in the Cart. HOT 11
- Cannot manually add ticket to order in CP HOT 4
- Ticket line items in cart not merged with cart when user logs in HOT 3
- Disable deleting a ticket if it's it's already been purchsed HOT 2
- Total capacity always defaults to 0 making it always required or the event becomes unavailable HOT 4
- Tickets in feedMe? HOT 4
Recommend Projects
-
React
A declarative, efficient, and flexible JavaScript library for building user interfaces.
-
Vue.js
🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.
-
Typescript
TypeScript is a superset of JavaScript that compiles to clean JavaScript output.
-
TensorFlow
An Open Source Machine Learning Framework for Everyone
-
Django
The Web framework for perfectionists with deadlines.
-
Laravel
A PHP framework for web artisans
-
D3
Bring data to life with SVG, Canvas and HTML. 📊📈🎉
-
Recommend Topics
-
javascript
JavaScript (JS) is a lightweight interpreted programming language with first-class functions.
-
web
Some thing interesting about web. New door for the world.
-
server
A server is a program made to process requests and deliver data to clients.
-
Machine learning
Machine learning is a way of modeling and interpreting data that allows a piece of software to respond intelligently.
-
Visualization
Some thing interesting about visualization, use data art
-
Game
Some thing interesting about game, make everyone happy.
Recommend Org
-
Facebook
We are working to build community through open source technology. NB: members must have two-factor auth.
-
Microsoft
Open source projects and samples from Microsoft.
-
Google
Google ❤️ Open Source for everyone.
-
Alibaba
Alibaba Open Source for everyone
-
D3
Data-Driven Documents codes.
-
Tencent
China tencent open source team.
from events.