osCommerce and osCMax shopping cart software forums

Shopping Cart Software

osCommerce with teeth!

 

AJAX Orders Editor

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 ...


Go Back   osCommerce and osCMax shopping cart software forums > osCommerce 2.2 Forums > New osCommerce Contributions

Register FAQ Members List Calendar Mark Forums Read


Free community membership! Fast easy FREE membership
Reply

 

LinkBack Thread Tools
  #1  
Old 01-24-2008, 12:21 PM
michael_s's Avatar
osCMax Developer

 
Join Date: Jul 2002
Location: Phoenix, AZ
Posts: 10,192
Thanks: 66
Thanked 291 Times in 277 Posts
Rep Power: 10
michael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond reputemichael_s has a reputation beyond repute
Post AJAX Orders Editor

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.

Digg this Post!Add Post to del.icio.usBookmark Post in TechnoratiFurl this Post!
Reply With Quote
Reply



Thread Tools

Posting Rules
You may not post new threads
You may not post replies
You may not post attachments
You may not edit your posts

BB code is On
Smilies are On
[IMG] code is On
HTML code is Off
Trackbacks are On
Pingbacks are On
Refbacks are On

Similar Threads

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


All times are GMT -8. The time now is 02:48 AM.


Powered by vBulletin®
Copyright ©2000 - 2008, Jelsoft Enterprises Ltd.
SEO by vBSEO
Copyright 2008 osCMax