If you have a better idea let me know...
Warning: an unusually large number of this users posts have been flagged as sarcastic. Please realize and take this into account before getting annoyed.
what module are you using for barcode generation?
-Miguelito-
The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
if a user orders 3 products - a packingslip will be generated for each product .
we will look forward to develop a module - let us discuss to create wireframes for a packing slip format
we can also generate the barcode for extra fields as you have suggested
Looking forward to a discussion
Thanks and regards ,
Karan Ahuja
www.kodeplay.com
For testing I am using http://www.morovia.com/free-online-barcode-generator/. It works great but I've also been looking into local options as I'm not so sure they'd be happy with me using it long term. So far ive put this line in the invoice.tpl fileMiguelito wrote:Hi,
what module are you using for barcode generation?
-Miguelito-
Code: Select all
<tr><td><img src="http://www.morovia.com/free-online-barcode-generator/barcode.asp?Symbology=5&BarHeight=450&ShowHRText=0&NarrowBarWidth=20&Message=<?php echo $order['order_id']; ?>&Rotation=0"</td></tr>
Let me know what you can do
Warning: an unusually large number of this users posts have been flagged as sarcastic. Please realize and take this into account before getting annoyed.
I would be interested in looking into this so we'll continue by PM

-Miguelito-
The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
The Finnish OpenCart Forum
"Real programmers don't document. If it was hard to write, it should be hard to understand."
sure thing.airetechit wrote:Care to share the solution with the rest of us?
in /admin/controller/sale/order.php you need to find the secound ocorance of "/admin/controller/sale/order.php" it should look like this
Code: Select all
$this->data['orders'][] = array(
'order_id' => $order_id,
'invoice_id' => $invoice_id,
'date_added' => date($this->language->get('date_format_short'), strtotime($order_info['date_added'])),
'store_name' => $order_info['store_name'],
'store_url' => rtrim($order_info['store_url'], '/'),
'address' => nl2br($this->config->get('config_address')),
'telephone' => $this->config->get('config_telephone'),
'fax' => $this->config->get('config_fax'),
'email' => $this->config->get('config_email'),
'shipping_address' => $shipping_address,
'payment_address' => $payment_address,
'customer_email' => $order_info['email'],
'ip' => $order_info['ip'],
'customer_telephone'=> $order_info['telephone'],
'comment' => $order_info['comment'],
'product' => $product_data,
'total' => $total_data
Code: Select all
'shipping_address_1' => $order_info['shipping_address_1'],
'shipping_postcode' => $order_info['shipping_postcode'],
'shipping_firstname' => $order_info['shipping_firstname'],
'shipping_lastname' => $order_info['shipping_lastname'],
Code: Select all
<tr>
<td>
<img src="http://www.morovia.com/free-online-barcode-generator/barcode.asp?Symbology=5&BarHeight=400&ShowHRText=0&NarrowBarWidth=15&Message=<?php echo $order['shipping_firstname']; ?> <?php echo $order['shipping_lastname']; ?>~d009~d009&Rotation=0"
</td>
</tr>
<tr>
<td>
<img src="http://www.morovia.com/free-online-barcode-generator/barcode.asp?Symbology=5&BarHeight=400&ShowHRText=0&NarrowBarWidth=15&Message=<?php echo $order['shipping_postcode']; ?>&Rotation=0"
</td>
</tr>
<br>
<tr>
<td>
<img src="http://www.morovia.com/free-online-barcode-generator/barcode.asp?Symbology=5&BarHeight=400&ShowHRText=0&NarrowBarWidth=15&Message=<?php echo $order['shipping_address_1']; ?>~d009~d009~d009~d009&Rotation=0"
</td>
</tr>
Attachments
invoice with (destroyed) barcodes. - Capture.JPG (34.52 KiB) Viewed 4195 times
Warning: an unusually large number of this users posts have been flagged as sarcastic. Please realize and take this into account before getting annoyed.

Best Regards,
David Catherall,
AireTech IT.
Now all we need is to find a more local solution, I'm sure they wont be happy with us using there website on a more long term basis, I will search around to see if I can find one, if so I will post back here with my findings...
Best Regards,
David Catherall,
AireTech IT.
As far as local solutions I have looked into in and can't seem to find anything free that would work. I have looked into idautomation's systems and they seem pretty good for the price, so I may end up purchasing their product. I have considered using 2d barcodes so that I could print all the information in a single barcode.
I am also using barcodes to keep track of inventory since not every sale comes through opencart. I have put a barcode with the model number of the product on its line of the invoice. I then scan it into inflow inventory(free version) with the customer listed as online sales (or in store sales or warranty ect...). This may be overkill for some people but it is necessary for my situation.
Now, if I could only come up with an easy way to post the tracking numbers back to opencart...
Warning: an unusually large number of this users posts have been flagged as sarcastic. Please realize and take this into account before getting annoyed.
Will keep you updated on my progress

Best Regards,
David Catherall,
AireTech IT.
Users browsing this forum: Bing [Bot], paulfeakins and 11 guests