Support

Home Forums Event Espresso Premium Barcodes missing from "All tickets for the transaction" HTML Page

Barcodes missing from "All tickets for the transaction" HTML Page

Posted: April 7, 2015 at 7:37 pm

Viewing 2 reply threads


blessington

April 7, 2015 at 7:37 pm

Hi,

The barcodes are missing from “All tickets for the transaction” HTML Page as per the below URL:
https://blessington.com.au/?ee=ee-txn-tickets-url&token=1-3782d4d403572899b9a7be4df24be1f5

However the barcode does work and display correctly on the preview page on Html Ticket Template (Registrant Recipient). I am unsure what the problem is. I have noticed that the scripts being loaded in the footer are very different from the preview to the all ticket page. I’m guessing because it loops through various tickets causing the jquery.barcode.min.js to break?

Here is the comparison:
Works: Preview – Html Ticket Template (Registrant Recipient)

<script type='text/javascript' src='...wp-admin/load-scripts.php?c=0&load%5B%5D=jquery-core,jquery-migrate&ver=4.1.1'></script>
<script type='text/javascript' src='...wp-content/plugins/event-espresso-core-reg/core/libraries/messages/messenger/assets/js/ee-messages-preview.js?ver=4.6.19.p'></script>
<script type='text/javascript' src='...wp-content/plugins/eea-ticketing/core/shortcodes/assets/qrcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='...wp-content/plugins/eea-ticketing/core/shortcodes/assets/jquery.qrcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='...wp-content/plugins/eea-ticketing/core/shortcodes/assets/jquery.barcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='...wp-content/plugins/eea-ticketing/core/shortcodes/assets/ee-ticketing.js?ver=1.0.1.p'></script>

Does not Work: All tickets for the transaction

<script type='text/javascript' src='.../wp-includes/js/jquery/jquery.js?ver=1.11.1'></script>
<script type='text/javascript' src='.../wp-includes/js/jquery/jquery-migrate.min.js?ver=1.2.1'></script>
<script type='text/javascript' src='.../wp-content/plugins/eea-ticketing/core/shortcodes/assets/qrcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='.../wp-content/plugins/eea-ticketing/core/shortcodes/assets/jquery.qrcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='.../wp-content/plugins/eea-ticketing/core/shortcodes/assets/jquery.barcode.min.js?ver=1.0.1.p'></script>
<script type='text/javascript' src='.../wp-content/plugins/eea-ticketing/core/shortcodes/assets/ee-ticketing.js?ver=1.0.1.p'></script>

Aside from the issue, I have also modified the EE_Ticketing.class.php to output CSS over SVG as the barcode does not work at all in Internet Explorer which is something I think the plugin developers have overlooked. Changing it back to SVG does not fix the above issue.

This was hard to describe,

Cheers


Tony

  • Support Staff

April 8, 2015 at 3:53 am

Hi Liam,

You do not need to modify the core code within EE_Ticketing.class.php to output different formats. The shortcode provide the output_type attribute to do so, so adding output_type=css to you barcode shortcode will output the barcodes using CSS.

Can you revert to the original code so we can troubleshoot this please. If you have made multiple edits please download a fresh copy of the ticketing add-on and replace the version you currently have installed with the ‘clean’ version.

This could also be a theme issue, is it possible for you to switch to a default theme such as twentyfourteen and re-test?


Tony

  • Support Staff

April 8, 2015 at 3:56 am

Also if you can provide a copy of the code in use to create the tickets I can test this on a local site to troubleshoot further.

If you go to Event Espresso -> Messages.

Edit your ticket template (location depends if it is a default or custom template)

Switch to text mode, copy all of the text there.

We recommend using a service such as http://pastebin.com/ to post code on the forums.

Viewing 2 reply threads

The support post ‘Barcodes missing from "All tickets for the transaction" HTML Page’ 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.

Event Espresso