
OK
Here is the vQmod I made for OC V1.5.1.3 and VQMOD V2
It includes the Tax fixes as mentioned above You will need to upload the files from the package too
It is for the English version
If you use another language then change the lines that point to the English files to your own
It is not extensively tested but it woks for me
Many thanks to i2Paq for the original
Oli
Here is the vQmod I made for OC V1.5.1.3 and VQMOD V2
It includes the Tax fixes as mentioned above You will need to upload the files from the package too
It is for the English version
If you use another language then change the lines that point to the English files to your own
It is not extensively tested but it woks for me
Many thanks to i2Paq for the original
Oli
Hi and thanks for this good and free extension.
I have Version 1.5.1.3 in opencart
Everything looks fine exept that the invoicenumber dont show.. se image

Im not really sure what invoicenumber is or do so maybe i dont need to have the invoice no and only use the order id..
How do i make the invoice no work?
I have Version 1.5.1.3 in opencart
Everything looks fine exept that the invoicenumber dont show.. se image

Im not really sure what invoicenumber is or do so maybe i dont need to have the invoice no and only use the order id..
How do i make the invoice no work?
I have just uploaded all the file to admin, after loading them my open cart page have lost all the graphics view, it is just simple links now, in other words there are no tabs etc, but simple text links. Even now I have deleted all the files but my open cart is still not gone back to normal. my open cart version is v1.4.9.3
sorry to say I did not have any back to cant to reverse back, pls. help as it looks very untidy to work in that layout.
here is the picture link, how it looks now
https://lh5.googleusercontent.com/-W3JQ ... hboard.png
sorry to say I did not have any back to cant to reverse back, pls. help as it looks very untidy to work in that layout.
here is the picture link, how it looks now
https://lh5.googleusercontent.com/-W3JQ ... hboard.png
olimax wrote:you have to generate it, for some reason, under Order Details
Super!!! Thanks..
but since i work with an invoice company they are going to have their own invoice number. How do i delete this invoice number so i just have the order date line?
Many thanks from Solan
Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone 

Attachments
Capture.JPG (43.93 KiB) Viewed 6445 times
I think the corner is images, if it is, you can overvrite them with transparent pictures.Ozfarmer wrote:Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone
PetracheNicolae wrote:this will be nice to have in opencart 1.5.1.1. it is greati2Paq wrote:The guy I made it with has been absent for quite a while, when 1.5 is stable I will try and update it or have it updated.FTW wrote:are you intend to make a version for OC v1.5.0.x??
I have the same issue with all orders. And its not the printer

I answar you about this before, but now i understand your problem.Ozfarmer wrote:Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone
Change to this code inside the file osc_order_invoice.tpl. I think it starts around line 47.
Code: Select all
<td><table width="100%" border="0">
<tbody><tr>
<td valign="top" width="350" align="left">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="11"> <img src="view/osc_invoice/mainwhite_01.gif" alt="" width="11" height="16"></td>
<td><img src="view/osc_invoice/mainwhite_02.gif" alt="" width="320" height="16"></td>
<td width="19"> <img src="view/osc_invoice/mainwhite_03.gif" alt="" width="19" height="16"></td>
</tr>
<tr>
<td><img src="view/osc_invoice/mainwhite_04.gif" alt="" width="11" height="118"></td>
<td align="center" bgcolor="#ffffff"> <table class="main" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top" align="left"><b><?php echo $text_to; ?></b></td>
</tr>
<tr>
<td valign="bottom" align="left"><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="5"></td>
</tr>
<tr>
<td><?php echo $order['payment_address']; ?></td>
</tr>
<tr>
<td><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="1"></td>
</tr>
<tr>
<td> </td>
</tr>
</tbody></table></td>
<td><img src="view/osc_invoice/mainwhite_06.gif" alt="" width="19" height="118"></td>
</tr>
<tr>
<td width="11"> <img src="view/osc_invoice/mainwhite_07.gif" alt="" width="11" height="18"></td>
<td><img src="view/osc_invoice/mainwhite_08.gif" alt="" width="320" height="18"></td>
<td width="19"> <img src="view/osc_invoice/mainwhite_09.gif" alt="" width="19" height="18"></td>
</tr>
</tbody></table></td>
<td> </td>
<td valign="top" width="350" align="right">
<table width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td width="11"> <img src="view/osc_invoice/mainwhite_01.gif" alt="" width="11" height="16"></td>
<td><img src="view/osc_invoice/mainwhite_02.gif" alt="" width="320" height="16"></td>
<td width="19"> <img src="view/osc_invoice/mainwhite_03.gif" alt="" width="19" height="16"></td>
</tr>
<tr>
<td><img src="view/osc_invoice/mainwhite_04.gif" alt="" width="11" height="118"></td>
<td align="center" bgcolor="#ffffff"> <table class="main" width="100%" border="0" cellpadding="0" cellspacing="0">
<tbody><tr>
<td valign="top" align="left"><b><?php echo $text_ship_to; ?></b></td>
</tr>
<tr>
<td valign="bottom" align="left"><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="5"></td>
</tr>
<tr>
<td valign="bottom" align="left"><?php echo$order['shipping_address']; ?></td>
</tr>
<tr>
<td valign="bottom" align="left"> </td>
</tr>
</tbody></table></td>
<td><img src="view/osc_invoice/mainwhite_06.gif" alt="" width="19" height="118"></td>
</tr>
<tr>
<td width="11"> <img src="view/osc_invoice/mainwhite_07.gif" alt="" width="11" height="18"></td>
<td><img src="view/osc_invoice/mainwhite_08.gif" alt="" width="320" height="18"></td>
<td width="19"> <img src="view/osc_invoice/mainwhite_09.gif" alt="" width="19" height="18"></td>
</tr>
</tbody></table>
Did you actually change anything in this code? when I compare this code with my original it shows no changes.Xciso wrote:I answar you about this before, but now i understand your problem.Ozfarmer wrote:Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone
Change to this code inside the file osc_order_invoice.tpl. I think it starts around line 47.Code: Select all
<td><table width="100%" border="0"> <tbody><tr> <td valign="top" width="350" align="left"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td width="11"> <img src="view/osc_invoice/mainwhite_01.gif" alt="" width="11" height="16"></td> <td><img src="view/osc_invoice/mainwhite_02.gif" alt="" width="320" height="16"></td> <td width="19"> <img src="view/osc_invoice/mainwhite_03.gif" alt="" width="19" height="16"></td> </tr> <tr> <td><img src="view/osc_invoice/mainwhite_04.gif" alt="" width="11" height="118"></td> <td align="center" bgcolor="#ffffff"> <table class="main" width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td valign="top" align="left"><b><?php echo $text_to; ?></b></td> </tr> <tr> <td valign="bottom" align="left"><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="5"></td> </tr> <tr> <td><?php echo $order['payment_address']; ?></td> </tr> <tr> <td><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="1"></td> </tr> <tr> <td> </td> </tr> </tbody></table></td> <td><img src="view/osc_invoice/mainwhite_06.gif" alt="" width="19" height="118"></td> </tr> <tr> <td width="11"> <img src="view/osc_invoice/mainwhite_07.gif" alt="" width="11" height="18"></td> <td><img src="view/osc_invoice/mainwhite_08.gif" alt="" width="320" height="18"></td> <td width="19"> <img src="view/osc_invoice/mainwhite_09.gif" alt="" width="19" height="18"></td> </tr> </tbody></table></td> <td> </td> <td valign="top" width="350" align="right"> <table width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td width="11"> <img src="view/osc_invoice/mainwhite_01.gif" alt="" width="11" height="16"></td> <td><img src="view/osc_invoice/mainwhite_02.gif" alt="" width="320" height="16"></td> <td width="19"> <img src="view/osc_invoice/mainwhite_03.gif" alt="" width="19" height="16"></td> </tr> <tr> <td><img src="view/osc_invoice/mainwhite_04.gif" alt="" width="11" height="118"></td> <td align="center" bgcolor="#ffffff"> <table class="main" width="100%" border="0" cellpadding="0" cellspacing="0"> <tbody><tr> <td valign="top" align="left"><b><?php echo $text_ship_to; ?></b></td> </tr> <tr> <td valign="bottom" align="left"><img src="view/osc_invoice/pixel_trans.gif" alt="" width="1" border="0" height="5"></td> </tr> <tr> <td valign="bottom" align="left"><?php echo$order['shipping_address']; ?></td> </tr> <tr> <td valign="bottom" align="left"> </td> </tr> </tbody></table></td> <td><img src="view/osc_invoice/mainwhite_06.gif" alt="" width="19" height="118"></td> </tr> <tr> <td width="11"> <img src="view/osc_invoice/mainwhite_07.gif" alt="" width="11" height="18"></td> <td><img src="view/osc_invoice/mainwhite_08.gif" alt="" width="320" height="18"></td> <td width="19"> <img src="view/osc_invoice/mainwhite_09.gif" alt="" width="19" height="18"></td> </tr> </tbody></table>

Thanks m8.. that did the trickjstrouse wrote:To delete the invoice #, remove it from the template (admin/view/template/sale/osc_order_invoice.tpl). I think just find this text and remove it.
<?php echo $text_invoice_id; ?> <?php echo $order['invoice_id']; ?>

Did you ever work this out? I have been trying for months to get Opencart to print each order on a separate page.kgerken wrote:Thanks for providing the Page break Solution. I can't get this to work on the Packing slip when multiple are selected. It still puts them on one page. Any other suggestions?Tiger1937 wrote:
As for page breaks... in the tpl files, I added :-
<?php foreach ($orders as $order) { ?>
<div style="page-break-after: always;"> <<<<----Added This Line
<!-- body_text //-->
&
</table>
<!-- body_text_eof //-->
</div> <<<<----Added This Line
<?php } ?>
------
We have tried every "fix" under the sun but it remains the same.
Sorry Xciso, that makes it worse. Ended up deleting all references to mainwhite and it looks ok now with no borders.Xciso wrote:I changed so the borders not are background and fixed the length to be correct.
It works for me, so test and see
Seemed to have fixed the multiple page printing add <div style="page-break-after: always"></div>
after
<?php foreach ($orders as $order) { ?> (notice the </div>)
in osc_order_invoice.tpl
make sure that their is a </div> after <div style="page-break-after: always"> in order_invoice.tpl.
after
<?php foreach ($orders as $order) { ?> (notice the </div>)
in osc_order_invoice.tpl
make sure that their is a </div> after <div style="page-break-after: always"> in order_invoice.tpl.
You have to set you browser to print the Background and Images.Ozfarmer wrote:Lovely mod!! the only issue I am having are the borders around the shipping and sold to details. It views fine in a browser but when I print preview or print the borders are dashed. Any bright ideas anyone
In FF goto File -> Page Setup, then on the Format & Options Tab tick the following box -> Print Background (color & images).
In IE goto File -> Page Setup -> tick the following box -> Print Background Color and Images.
Norman in 't Veldt
Moderator OpenCart Forums
_________________ READ and Search BEFORE POSTING _________________
Our FREE search: Find your answer FAST!.
[How to] BTW + Verzend + betaal setup.
Who is online
Users browsing this forum: No registered users and 14 guests