Ok, I have tested this in my .asp admin and I thought I had a trick in mind to avoid any mods to the code, but it's just not possible it seems.
We can change any class to a bar code with the css and the order ID in your admin has a class for
Order Number xxxxx and we want only the order ID to have a barcode, not the text "Order Number"
So what I did for my test was go into the inc/incorders.asp file and add a span tag around the order number and then I could apply the .css and it worked.
here are the steps
I started here and went to step 4 to download the zip file
https://google-webfonts-helper.herokuapp.com/fonts/libre-barcode-39-extended-text?subsets=latin
unzip the file and there should be 5 files inside.
I created a directory in the vsadmin folder named - barcode-fonts then uploaded the five files to that new directory via FTP
Then in my custom admin .css file, ectadmincustom.css (if you don't have one, you can create one)
I added the following
@media all{
/* libre-barcode-39-extended-text-regular - latin */
@font-face {
font-family: 'Libre Barcode 39 Extended Text';
font-style: normal;
font-weight: 400;
src: url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.eot'); /* IE9 Compat Modes */
src: local('Libre Barcode 39 Extended Text'), local('LibreBarcode39ExtendedText-Regular'),
url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.eot?#iefix') format('embedded-opentype'), /* IE6-IE8 */
url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.woff2') format('woff2'), /* Super Modern Browsers */
url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.woff') format('woff'), /* Modern Browsers */
url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.ttf') format('truetype'), /* Safari, Android, iOS */
url('barcode-fonts/libre-barcode-39-extended-text-v4-latin-regular.svg#LibreBarcode39ExtendedText') format('svg'); /* Legacy iOS */
}
some.class {
font-family: "Libre Barcode 39 Extended Text", LibreBarcode39ExtendedText-Regular, Verdana, calibri;
font-size: 36pt;
}
}
The part in red there is where you can add any class to convert that text to a barcode.
For example if you had
div.orderid {
font-family: "Libre Barcode 39 Extended Text", LibreBarcode39ExtendedText-Regular, Verdana, calibri;
font-size: 36pt;
} then the entire line will turn into a barcode.
However we want just the order ID.
in the .asp version we change
print "<div class=""orderid"">" & xxOrdNum & " " & IIfVr(getget("id")="new","("&yyNewOrd&")", ordID)
to
print "<div class=""orderid"">" & xxOrdNum & " " & IIfVr(getget("id")="new","("&yyNewOrd&")","<span class=""barcode"">" & ordID & "</span>" )
but I don't have a current version of the .php cart so I can't tell you how to wrap that order ID in a span tag.
Perhaps someone else can help with that, or if you want to send me a message (click my user name) and then email me your incorders.php file, I'll see if I can make the edit.