This is my first contribution to Opencart Marketplace. This is 100% Working and Good Looking Invoice Bar Code Generator [Simple Coding Method].
Step to be follow :-
Login to your CPanel and go to this location :- /admin/view/template/sale/order_invoice.tpl
and apply code editor on it.
Now paste downloaded code after php echo $order['order_id'] -- at line 17 or 18 mostly line and save then check Invoice Page which will generate Barcode looks like below.
<script src="https://cdn.jsdelivr.net/jsbarcode/3.3.20/JsBarcode.all.min.js"></script>
<img id="upc"/><script> $('#upc').JsBarcode("Sanjaycity 123456",{width:1,height:50,lineColor: "#990000", background: "#dddddd" }); </script>
Hopes ! You will like it.
If you got any problem you may contact me at :- sanjaycityheart2007@gmail.com or comment here. I will fix your problem.
Thanks If you likes my work then may donate me at my paypal account i.e. sanjaycityheart2007@gmail.com
Login and write down your comment.
Login my OpenCart Account