Posted: November 16, 2012 at 8:17 pm
|
I cannot seem to figure out how to display the number of tickets purchased on the ticket that is sent to the purchaser. Can you please advise? |
Hi Chris, In this case, you’d need to add the [ticket_qty] shortcode to your ticket template. Please see this section of the ticketing guide for further advice: |
|
|
Josh, thank you very much. Will this apply retroactively to existing purchases or just to future purchases? |
|
Also, since updating to the latest version of the ticketing plugin, my tickets are showing up with $0.00 as the amount. |
|
Hey Chris, this this apply to every new click on the ticket-link. I checked that, because i needed to display the ticket quantity as well. Best regards, |
|
@Chris Hi, do you have template files in the uploads/espresso directory? If so please rename that folder to see if that resolves the issue. If you have made any modifications to the files in that folder you will need to review the new templates and swap over modifications. |
|
I rolled back to 2.0.7 for the ticketing plugin which resolved the $0.00 issue and then edited my event to select the new ticket template with the quantity showing. When I created a new ticket template I had the option to select Default Template or Index.php. I selected index, but the number still did not show up. I have the template (index.php) and the css that were copied from the plugin and then edited to include the [ticket_qty] in my uploads/espresso/templates folder. I had the files in there directly, so @Dean based on your suggestion, I create a folder and move the files in there so they now live at wp-content/uploads/espresso/templates/tickets-number. This still hasn’t resolved the issue through. My event tickets show that they are using the new Ticket template because they have the revised wording I put in under WP-Dashboard > Event Espresso > Ticket Templates. When I created the new ticket, I selected index.php as the template file, but the quantity does not show up on the ticket. |
It looks like you are still on Event Espresso 3.1.27, so that would make sense that rolling back to ticketing 2.0.7 would fix the 0.00 issue. To clarify, Event Espresso 3.1.27 works with ticketing 2.0.7, and Event Espresso 3.1.28 works with ticketing 2.0.8. Here’s how to resolve your template issue now that you’ve renamed the directory to wp-content/uploads/espresso/templates/tickets-number: 1) Make your changes directly to the templates in espresso-ticketing/templates/ |
|
|
So at the end of this, I should have a folder in wp-content/plugins/espress-ticketing/templates called tickets-number, right? |
Hi Chris, If you do, then Event Espresso will not know what to do with the contents of tickets-number. It will ignore it. What it does is looks for ticket templates in /wp-content/uploads/espresso/tickets/templates first, and if it doesn’t find any there, it will fall back to the default location for templates in the plugin location: /wp-content/plugins/espresso-ticketing/templates. Here is a screenshot of file directory structure of uploads/espresso after customized ticket templates have been copied over. |
|
|
Thank you Josh that is what I needed. I was trying to put it in Uploads > Espresso > Templates not >Espresso > Tickets > Templates. |
The support post ‘number of tickets purchased on the ticket’ is closed to new replies.
Have a question about this support post? Create a new support post in our support forums and include a link to this existing support post so we can help you.