var zoomy = "\n\

Commercial Invoices

\n\
\n\ \n\

\n\ Once you've done the Tariff Mod , you'll be able to generate an international customs form as well.\n\

\n\ \n\

\n\ \"\" \n\

\n\ \n\

\n\ If you add the customs form to the end of admin/invoice.php, then it will print out nicely every time you print the invoice.\n\

\n\ \n\

\n\ We like to stick them on the outside of the box in an customs envelope from ULINE \n\

\n\ \n\

\n\ \"\" \n\

\n\ \n\

\n\ in admin/invoice.php\n\

\n\ \n\

\n\ find (end of file)\n\

\n\
</table>\n\
<!-- body_text_eof //-->
\n\ \n\

\n\ and replace it with \n\

\n\
</table>\n\
<?php\n\
if ($order_check->fields[\'delivery_country\']  != "United States") { // change this to your own country\n\
<p style="page-break-before: always"> </p>\n\
<?php\n\
//\n\
// put the code for the invoice here\n\
// \n\
} ?>\n\
<!-- body_text_eof //-->
\n\ \n\

\n\ note that the \n\

\n\
<p style="page-break-before: always"> </p>
\n\ \n\

\n\ just makes it print on a separate page, if you'd like to save trees then this can be taken out.\n\

\n\ \n\
\n\ \n\
Sample
\n\
\n\ \n\

\n\ Here's an example of what ours looks like.\n\

\n\ \n\

\n\ invoice.php.zip \n\

\n\ \n\

\n\ You should be able to mix and match between this mod, the barcode mod , and the address mismatch mod .\n\

\n\ \n\
\n\ ";document.write(zoomy);document.write("

This page was autogenerated from http://www.ladyada.net/wiki/tutorials/zencartmods/customs.html
Please edit the wiki to contribute any updates or corrections.
")