WordPress.org

Making WordPress.org

Opened 3 months ago

Last modified 3 months ago

#3122 accepted enhancement

Documentation for prefilling coupon field in CampTix via query string

Reported by: mrwweb Owned by: coreymckrill
Milestone: Priority: low
Component: WordCamp Site & Plugins Keywords: needs-docs
Cc:

Description

To save time and avoid typos, it would be great to support a means of that prefilling the coupon field.

For example: city.wordcamp.org/tickets?coupon=2017volunteer

Volunteers, sponsors, speakers, organizers, scholarship recipients, and others rely on coupon codes, and this would enable organizers to ensure they get the coupon code right on the first try.

Change History (7)

#1 @miss_jwo
3 months ago

You can do this already.

This is an example from 2017 WordCamp London.

https://2017.london.wordcamp.org/tickets/?tix_reservation_id=speaker&tix_reservation_token=F3lhkFluvSRze6NU&tix_coupon=WCLDN17-SPEAKER#tix

You have the following query strings to use:

  • tix_reservation_id
  • tix_reservation_token
  • tix_coupon

Would the idea to make it easier for people to have a link to copy out a link with the query parameters set already?

Last edited 3 months ago by miss_jwo (previous) (diff)

#2 @mrwweb
3 months ago

  • Resolution set to worksforme
  • Status changed from new to closed

I thought I had tried that parameter and it didn't work, but apparently not! Thanks so much for the instructions @miss_jwo!

I went looking in the handbook simply to see if it was possible. If that could be documented in the handbook, that would be fabulous. What do the reservation_id and reservation_token do?

#3 @miss_jwo
3 months ago

@mrwweb It would be good to check if it's in the documentation of the wordcamp handbook at the moment before going through the effort of writing documentation up.

The other two parameters is for if you have reserved tickets for groups of people. It allows someone with the reservation link to access reserved tickets. It works with reservations section of the ticketing system.

https://www.dropbox.com/s/2ryehmgngddm5rt/Screenshot%202017-09-11%2018.43.14.png

#4 @mrwweb
3 months ago

I had searched for documentation before I filed the ticket and couldn't find it. I [www.google.com/search?q=site%3Amake.wordpress.org+tix_coupon&oq=site%3Amake.wordpress.org+tix_coupon searched again] just now and still couldn't find anything. I assumed it would be on Using CampTix Event Ticketing Plugin.

#5 @miss_jwo
3 months ago

@mrwweb That does seem the sensible place to put it. Would you like to write something that would be useful for other organisers like yourself?

Just worried now that the ticket is closed, we will forget to update the documentation :)

#6 @mrwweb
3 months ago

  • Keywords needs-docs added
  • Resolution worksforme deleted
  • Status changed from closed to reopened

Not quite sure if this was appropriate, but I've reopened this ticket and added the needs-docs keyword.


I think this would be enough right at the end of Creating and Using Coupons:

Coupon codes can be auto-filled in the ticket form by using a special link in the format: city.wordcamp.org/tickets/?tix_coupon=CODE#tix. Replace "city.wordcamp.org/tickets/" with the URL of your tickets page and "CODE" with your coupon code (not case sensitive). Doing this makes it easier for attendees to use codes and removes any chance of typos!

I will take no offense to wordsmithing :)

As for the reservation stuff:

  1. I think that feature overall should get its own section. Right now it is currently part of "and more" in the last heading.
  2. That whole feature is new to me as of this ticket, so I don't feel comfortable writing anything. Hopefully the above can at least serve as inspiration.

#7 @coreymckrill
3 months ago

  • Owner set to coreymckrill
  • Priority changed from normal to low
  • Status changed from reopened to accepted
  • Summary changed from Support prefilling coupon field in CampTix via query string to Documentation for prefilling coupon field in CampTix via query string
Note: See TracTickets for help on using tickets.