Thread: Barcode Mod...
View Single Post
  #6  
Old 06-30-2017, 02:02 AM
 
kevinrm kevinrm is offline
 

X-Wizard
  
Join Date: Aug 2003
Posts: 1,003
 

Default Re: Barcode Mod...

This was from 2007 and XC4.x It's now 10 years later and I'm on XC5.3.2.x, I can't remember that far back unfortunately. But looking at my old instructions…


2) In /mail/html/order_data.tpl, replace:

<td align="center">{$product.productcode}</td>
<td><font style="FONT-SIZE: 11px">{$product.product}</font>

with:

{* Mod Begin *}
<td align="center">{$product.productcode}</td>
<td><font style="FONT-SIZE: 11px">{$product.product}<br><IMG SRC="../../barcode.php?barcode={$product.productcode}&width=2 00&height=20&quality=100&text=0"></font>
{* mod end *}
__________________
X-Cart 5.4.1.39 Live
PHP 7.4.33
5.5.5-10.3.38-MariaDB MariaDB
Apache 2.4
CENTOS 7.8 64Bit Single Quad-Core E3-1241v3 3.4Ghz 8M 1600 w/ HT
32GB RAM 2x 512GB Samsung 850 Pro SSD RAID 1
Reply With Quote