This is a discussion on AJAX Orders Editor within the New osCommerce Contributions forums, part of the osCommerce 2.2 Forums category; If you use PDF invoice rather than the standard invoice or packing slip you will get errors. Missing arguments. This ...
| |||||||
| Register | FAQ | Members List | Calendar | Mark Forums Read |
|
#1
| ||||
| ||||
| If you use PDF invoice rather than the standard invoice or packing slip you will get errors. Missing arguments. This is because the order editor adds a couple of arguments to the address function in functions - general.php. These are not needed for the invoice and packing slip but placeholders will need to be added. open admin - invoice.php and add to lines as detailed find tep_address_format( at the end of this line after the "n") add the following ,'','' before the bracket mine looks like this when complete $pdf->MultiCell(70, 3.3, tep_address_format(1, $order->customer, '', '', "n",'',''),0,'L'); Do this as many times as the tep_address_format( line appears 3 in my case same in admin - packing_slip.php do this on each occurence of the tep_address_format Enjoy Steve More...
__________________ Michael Sasek osCMax Developer osCMax Templates - Hundreds of premium quality templates. New designs every month! xShop for osCMax - Windows Based osCMax administration. Improved workflow, security, speed and convenience osCMax Hosting - From basic hosting to High Availability, Load Balanced arrays, the most experienced osCMax host. |
| Thread Tools | |
| |
| ||||
| Thread | Thread Starter | Forum | Replies | Last Post |
| AJAX Orders Editor | michael_s | New osCommerce Contributions | 0 | 03-23-2007 01:10 PM |
| AJAX Orders Editor | michael_s | New osCommerce Contributions | 0 | 03-20-2007 04:10 AM |
| AJAX Orders Editor | michael_s | New osCommerce Contributions | 0 | 03-20-2007 01:50 AM |
| AJAX Orders Editor | michael_s | New osCommerce Contributions | 0 | 03-19-2007 02:50 PM |
| AJAX Orders Editor | michael_s | New osCommerce Contributions | 0 | 03-19-2007 02:10 PM |