Creating a custom buy tickets page.
-
Hi!
Camptix is a great plugin but I’m missing some of the much needed features. Started developing them but stuck at one point.
Camptix displays all the tickets together in a table, whereas I want to display a link to book ticket on a single post. I know its not possible, I read that. So here’s the alternative I’m developing:
I have created a custom page template which shows the ticket details from meta-info of the ticket and it shows a <select> option to select the number of tickets to buy (on a custom page). When a user clicks on the number of tickets he wants to purchase, a post request be generated for the URL: /tickets/?tix_action=attendee_info#tix (I read the source code and figured out that a post request to this URL is sent and the step2 of form is opened) (here’s the custom page template I have designed: https://inkfree.in/buy/?ticket=1123 (Please ignore the textfields that are generated on click of the combobox, its a demo))
If I’m able to properly frame the post request data, I can redirect the user directly to the questionnaire page from my custom page template where he can fill his details and proceed to checkout!
The problem is that I’m not able to figure out the proper post data that has to be sent! Can anyone help me out with this?
- The topic ‘Creating a custom buy tickets page.’ is closed to new replies.