Jump to content


  • Content count

  • Joined

  • Last visited

Posts posted by TENCENTS

  1. does anybody ifthere is a way to use the admin css for the page opened when a customer click on "print an order" , my shop i s wit ha black backgroung , so is the printed page , nobody will print fully black page :blink:


    This probably isn't the perfect way of doing it, but here goes:


    In the /catalog/print_my_invoice.php file find the following code: (its pretty close to the top)


    <!-- body_text //-->


    <table border="0" width="100%" cellspacing="0" cellpadding="2">



    ....change the 'table border' statement to include the 'bgcolor' parameter, so it looks like this:


    <!-- body_text //-->


    <table border="0" width="100%" cellspacing="0" cellpadding="2" bgcolor="#ffffff">



    ..... this makes most of the invoice white except for the footer. Adding a few <br> commands just after the 'thank you message' reduces the effect, but I know there's a better way to do it (properly) - I just don't have the time to analyse it.


    Hope this helps to tie you over. :)

  2. After installing the Fancier Invoice & Packing slip contrib , I get this error message:




    Warning: main(d:/mypath/httpdocs/oscommerce/admin/includes/languages/english/invoice.php): failed to open stream: Permission denied in d:\mypath\httpdocs\oscommerce\includes\modules\email_invoice\email_invoice.php on line 30


    Fatal error: main(): Failed opening required 'd:/mypath/httpdocs/oscommerce/admin/includes/languages/english/invoice.php' (include_path='.;./includes;./pear') in d:\mypath\httpdocs\oscommerce\includes\modules\email_invoice\email_invoice.php on line 30




    Are my permissions possibly wrong ?