Post by Xciso » Fri Jan 06, 2012 4:30 pm

Make it right so we can use your vqmod version :)

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by olimax » Fri Jan 06, 2012 4:57 pm

OK
Here is the vQmod I made for OC V1.5.1.3 and VQMOD V2
It includes the Tax fixes as mentioned above

Packingslip vQmod for 1.5.1.3 V1.0

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

User avatar
New member

Posts

Joined
Thu Dec 22, 2011 5:08 pm
Location - Barcelona & London

Post by Solan » Mon Jan 09, 2012 3:59 am

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

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?

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by olimax » Mon Jan 09, 2012 10:30 am

you have to generate it, for some reason, under Order Details

User avatar
New member

Posts

Joined
Thu Dec 22, 2011 5:08 pm
Location - Barcelona & London

Post by thesialtec » Tue Jan 10, 2012 8:45 pm

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

Newbie

Posts

Joined
Tue Jan 10, 2012 8:35 pm

Post by Solan » Wed Jan 11, 2012 3:29 am

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

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by jstrouse » Thu Jan 12, 2012 8:34 am

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; ?>&nbsp;<?php echo $order['invoice_id']; ?>

Newbie

Posts

Joined
Tue Nov 15, 2011 10:47 pm

Post by Ozfarmer » Sun Jan 15, 2012 3:24 pm

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

Capture.JPG (43.93 KiB) Viewed 4313 times


Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Xciso » Sun Jan 15, 2012 9:27 pm

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 :)
I think the corner is images, if it is, you can overvrite them with transparent pictures.

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by Ozfarmer » Mon Jan 16, 2012 3:59 am

Hi Xciso, sorry I don't understand what you mean?

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Ozfarmer » Mon Jan 16, 2012 4:12 am

PetracheNicolae wrote:
i2Paq wrote:
FTW wrote:are you intend to make a version for OC v1.5.0.x??
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.
this will be nice to have in opencart 1.5.1.1. it is great

I have the same issue with all orders. And its not the printer ;)

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Xciso » Fri Jan 20, 2012 12:43 am

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 :)
I answar you about this before, but now i understand your problem.

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>&nbsp;</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>&nbsp;</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">&nbsp;</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>

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by Ozfarmer » Fri Jan 20, 2012 1:24 pm

Xciso wrote:
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 :)
I answar you about this before, but now i understand your problem.

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>&nbsp;</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>&nbsp;</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">&nbsp;</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. ???

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Xciso » Fri Jan 20, 2012 4:49 pm

I changed so the borders not are background and fixed the length to be correct.
It works for me, so test and see ;)

Active Member

Posts

Joined
Fri Jul 15, 2011 5:20 am

Post by Solan » Fri Jan 20, 2012 11:26 pm

jstrouse 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; ?>&nbsp;<?php echo $order['invoice_id']; ?>
Thanks m8.. that did the trick ;)

Active Member

Posts

Joined
Sat Feb 19, 2011 7:34 pm

Post by Ozfarmer » Sat Jan 21, 2012 12:35 pm

kgerken wrote:
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 } ?>

------
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? ???
Did you ever work this out? I have been trying for months to get Opencart to print each order on a separate page.

We have tried every "fix" under the sun but it remains the same.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Ozfarmer » Sat Jan 21, 2012 12:36 pm

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 ;)
Sorry Xciso, that makes it worse. Ended up deleting all references to mainwhite and it looks ok now with no borders.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Ozfarmer » Sat Jan 21, 2012 1:23 pm

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.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by Ozfarmer » Sun Jan 22, 2012 7:41 am

How can I add the customers telephone number in the shipping box? I have tried adding:
<?php echo $text_telephone; ?> <?php echo $order['telephone'];
but this comes back with the store phone.

Active Member

Posts

Joined
Wed Aug 17, 2011 7:08 pm
Location - Australia

Post by i2Paq » Tue Jan 24, 2012 12:41 am

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 :)
You have to set you browser to print the Background and Images.

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.


User avatar
Global Moderator

Posts

Joined
Mon Nov 09, 2009 7:00 pm
Location - Winkel - The Netherlands
Who is online

Users browsing this forum: No registered users and 1 guest