Ticket Limits on the Web

Former Member
Former Member $organization

Has anyone written custom code to limit tickets by performance on the web? Is it possible since it isn't included in the API?

Parents
  • Hi Gloria,

    We do something like that. Our members are only allowed X number of discounted tickets per day (in the case of our general exhibits, that's one performance). To limit this on the web, we have a procedure that looks in the customer's order history, and if they've already purchased their limit of discounted tickets for that day, we don't let them add any more.

    Ours is a per-date model, as opposed to per-performance, but I don't think it would be much of a stretch to apply the same idea to your situation. One thing you'd need to figure out is where would be the best place to store the limit value(s)? Some questions to consider in deciding this: Do different customers have different limits? Do different performances have different limits? Are there certain date ranges in which you want to limit? We limit based on membership level and venue, so we created a cross-reference table to link the values.

       -Morgan

Reply
  • Hi Gloria,

    We do something like that. Our members are only allowed X number of discounted tickets per day (in the case of our general exhibits, that's one performance). To limit this on the web, we have a procedure that looks in the customer's order history, and if they've already purchased their limit of discounted tickets for that day, we don't let them add any more.

    Ours is a per-date model, as opposed to per-performance, but I don't think it would be much of a stretch to apply the same idea to your situation. One thing you'd need to figure out is where would be the best place to store the limit value(s)? Some questions to consider in deciding this: Do different customers have different limits? Do different performances have different limits? Are there certain date ranges in which you want to limit? We limit based on membership level and venue, so we created a cross-reference table to link the values.

       -Morgan

Children
No Data