Closed ghost closed 1 year ago
Comment by @hlashbrooke:
The current ticket sales page with the general admission ticket sold out.
Comment by @hlashbrooke:
If this solution is acceptable, then I'm happy to take ownership and work on it as it would actually be a pretty small patch in the end.
Comment by @iandunn:
assigned
Yeah, I agree that that is a problem, and I like your solution. Let's do it :)
Comment by @hlashbrooke:
Has Screenshots
Has Patch
Needs Testing
I uploaded 2 patch files - one is for CampTix itself (3493-camptix.diff
) and it adds the following:
tix-sold-out
class to the tr
.The other patch (3493.1.diff
) uses the camptix_hide_empty_tickets
filter to display the table rows for sold out tickets.
All that together achieves the mockup I uploaded earlier.
Comment by @hlashbrooke:
3493.2.diff
is an updated patch that removes the now unneded hide_empty_tickets()
function.
Comment by slackbot:
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
Comment by slackbot:
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
Comment by @iandunn:
Discussed in the bug scrub. Overall it looks good, thanks! A few minor changes that'd be helpful:
add_action( 'init', __NAMESPACE__ . '\hide_empty_tickets' );
since the function was removedComment by slackbot:
This ticket was mentioned in Slack in #meta-wordcamp by ryelle. View the logs.
Comment by slackbot:
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
Comment by slackbot:
This ticket was mentioned in Slack in #meta-wordcamp by iandunn. View the logs.
Imported from https://meta.trac.wordpress.org/ticket/3493 Created by @hlashbrooke:
CampTix allows WordCamp organisers to create multiple ticket types. The most common usage of this is to create the following two tikets:
This is entirely correct, but the issue comes in when the general admission tickets are sold out and there are only micro-sponsor tickets remaining. This happened recently in the case of WordCamp Greenville and it creates a confusing UX for potential attendees. See these URLs to see the issue:
The issue here is that a potential attendee comes to the ticket sales page and only sees the micro-sponor ticket available, then thinks that the tickets for the WordCamp are $100 each (this did actually happen, so it's not a made-up scenario). If we had some kind of indicator that the other ticket type was sold out, then that could help to mitigate this issue.
I created a quick mockup for a potential solution here (attached below) that does the following if a ticket type is sold out:
0.3
.There may be a better solution for this as this was a very quick mockup, so open to ideas here of course. Essentially I think we need to improve the UX so that it's clear what tickets are sold out to prevent confusion.