WordPress / wordcamp.org

WordCamps are casual, locally-organized conferences covering everything related to WordPress.
https://wordcamp.org
132 stars 74 forks source link

Change number of reservations without deleting entire reservation #983

Open luminuu opened 1 year ago

luminuu commented 1 year ago

Describe the bug

Currently it is not possible to change the number of reservations without deleting the entire reservation. For WordCamp Germany, we need to adjust the number of reserved tickets for sponsors, as we got more Gold sponsors than expected and can reduce smaller packages that have not been claimed yet. So we want to free up the tickets for the public sale as these are selling fast.

Another option would be tickets held back when the person is both in the organising team and coming from a sponsoring company. So two tickets are held back for that person when only one is needed.

To reproduce

Steps to reproduce the behavior:

  1. Go to Tickets and select a ticket with reservations
  2. The only two buttons are Release and Cancel
  3. There's no option to change the amount of tickets

Expected behavior

There should be a third option like Change amount where a new number could be entered. If the number is smaller, those tickets will be released for public purchase. If the number is higher, there amount of available public tickets will get less.

Screenshots

CleanShot 2023-07-27 at 14 32 10@2x

WordCamp

If this is a problem on a specific WordCamp's site, list the site or page URL here. This most likely the case for every WordCamp website, but we're experiencing this need at WordCamp Germany: https://germany.wordcamp.org/2023/

System (please complete the following information):

pkevan commented 1 year ago

It took me a while to find this element within the page - it was at the bottom :)

Since the limits are stored in post meta, it should be possible to update, assuming the logic around ticket limits and total numbers is respected.