Last active
August 31, 2016 14:17
-
-
Save woogist/984fac232ed8415b5270 to your computer and use it in GitHub Desktop.
Manual Output / Display of Barcode
This file contains hidden or bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
<?php | |
echo WC_Order_Barcodes()->display_barcode($order_id); | |
?> |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Anyone have a lead or idea on how to "shortcode" this - trying to get the barcode to "echo" on all "print ticket" pages for WooCommerce Box Office. Tried adding this to the top of default-print-content.php, but doesn't seem to work. I can however add raw HTML to the "print ticket" details on each individual product - so a shortcode would be awesome!