Coder Social home page Coder Social logo

Comments (4)

anchovy avatar anchovy commented on September 2, 2024

I second this - we've had the same issue before. Total capacity isn't needed in my opinion at all, either tickets have a quantity which needs to be respected or like a commerce product set the quantity to unlimited.

from events.

engram-design avatar engram-design commented on September 2, 2024

Agreed that this needs to be refactored and better managed, I wasn't overly happy with this even at the time.

We're also probably going to do away with how the quantities' respective values get modified when tickets are purchased. It leads to confusion on what the original allocated quantity was, and how many have been purchased. You you might enter 30 with 5 tickets being purchased, and the value gets set to 25. While this is useful it become ambiguous on how many you actually started with.

from events.

engram-design avatar engram-design commented on September 2, 2024

Total capacity isn't needed in my opinion at all

That's not entirely true, and some people want to over-allocate tickets per type, but not go over the venue's capacity.

Say your event can only handle 100 people. You also have Adult, Child and Concession tickets available. You essentially want "unlimited" tickets for each type, but can't sell over the 100 total tickets. You would set each ticket's capacity to 100. But without the event-level capacity, that means you could potentially have 300 tickets sold to an event. And you certainly wouldn't want to start splitting the capacity between tickets like 50 Adult, 25 Child, 25 Concession, that's just not (typically) fair.

from events.

anchovy avatar anchovy commented on September 2, 2024

That's a fair point.

There are a few scenarios here though. In our case, we've got some tickets that need an unlimited quantity i.e. webinar access to the recording, but we might want to limit other tickets to the 'live' event.

So we'd have a total tickets = 100 for tickets a-b but unlimited for ticket c.
So - can we have:
1: total tickets, number or unlimited.
2: Individual - number or unlimited.
image
2.a: if 1 is a number, then a further option on the individual tickets to allow exceeding total ticket.
Or...
2.b: in our case, a flag or a setting on the ticket that allows it to ignore the total capacity - so it appies accross all events where it's used.

Just my 2 cents worth.

from events.

Related Issues (20)

Recommend Projects

  • React photo React

    A declarative, efficient, and flexible JavaScript library for building user interfaces.

  • Vue.js photo Vue.js

    🖖 Vue.js is a progressive, incrementally-adoptable JavaScript framework for building UI on the web.

  • Typescript photo Typescript

    TypeScript is a superset of JavaScript that compiles to clean JavaScript output.

  • TensorFlow photo TensorFlow

    An Open Source Machine Learning Framework for Everyone

  • Django photo Django

    The Web framework for perfectionists with deadlines.

  • D3 photo 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.

  • Game

    Some thing interesting about game, make everyone happy.

Recommend Org

  • Facebook photo Facebook

    We are working to build community through open source technology. NB: members must have two-factor auth.

  • Microsoft photo Microsoft

    Open source projects and samples from Microsoft.

  • Google photo Google

    Google ❤️ Open Source for everyone.

  • D3 photo D3

    Data-Driven Documents codes.