Forums / Managing Customers and Orders / Export orders to XML

Export orders to XML

Views: 4,602

Results 1 to 7 of 7
14 May 2008, 10:13 PM
#1
srhtech avatar

srhtech

New Zenner

Join Date:
May 2008
Posts:
5
Plugin Contributions:
0

Export orders to XML

Anyone know how I could export my orders to an XML file? I have a thirdparty software that will only batch import orders if they are in XML format.

1 Jul 2008, 3:29 PM
#2
engine411 avatar

engine411

New Zenner

Join Date:
Jun 2008
Location:
Bird-in-Hand, Pennsylvania
Posts:
64
Plugin Contributions:
0

Re: Export orders to XML

Have you tried UPS XML Auto Export? In the download section.

23 Oct 2008, 8:28 PM
#3
titanwest avatar

titanwest

New Zenner

Join Date:
Jul 2008
Posts:
2
Plugin Contributions:
0

Re: Export orders to XML

I have Zen Cart up and running

Now I'm looking to get an XML file for each order that I can send to the fulfillment house

I took the code on packingslip.php and made it spit out my xml into a text box that I current copy and paste, but I would rather write each order to a folder on the site instead.

This can't be an original request. Does anyone have anything like this?

One xml file per order

Thanks

29 Oct 2008, 5:21 PM
#4
skirkpatrick avatar

skirkpatrick

New Zenner

Join Date:
Jan 2008
Posts:
8
Plugin Contributions:
0

Re: Export orders to XML

TitanWest:

I have Zen Cart up and running

Now I'm looking to get an XML file for each order that I can send to the fulfillment house

I took the code on packingslip.php and made it spit out my xml into a text box that I current copy and paste, but I would rather write each order to a folder on the site instead.

This can't be an original request. Does anyone have anything like this?

One xml file per order

Thanks

If you are able to get your xml into a text box you could add a submit button to your form and some code similar to this:

<!DOCTYPE HTML PUBLIC "-//W3C//DTD HTML 4.01 Transitional//EN" "http://www.w3.org/TR/html4/loose.dtd"> <html> <head> <meta http-equiv="Content-Type" content="text/html; charset=utf-8"> <title>Untitled Document</title> </head> <body> <form name="form1" method="post" action=""> <label> <input type="text" name="textfieldorder" id="textfieldorder"> <br> </label> <label></label> <textarea name="textfieldxml" cols="80" rows="3" id="textfieldxml"></textarea> <label> <input type="submit" name="button" id="button" value="Submit"> </label> <?php echo $_GET['textbox']; ?> </form> </body> </html> <?php //Attempt to write to file //This will create a file called "Order textfieldorder.xml" $file = "D:\wamp\www\leanoffice\SOP\\currentsops\\" . "Order " . $_POST['textfieldorder'].".xml"; $fh = fopen($file, 'w') or die("Could not open $file for writing");

{
fprintf ($fh, $_POST['textfieldxml']);
}

?>

28 Oct 2009, 10:39 AM
#5
philip937 avatar

philip937

Totally Zenned

Join Date:
Aug 2009
Location:
Bedford, England
Posts:
968
Plugin Contributions:
0

Re: Export orders to XML

TitanWest:

I have Zen Cart up and running

Now I'm looking to get an XML file for each order that I can send to the fulfillment house

I took the code on packingslip.php and made it spit out my xml into a text box that I current copy and paste, but I would rather write each order to a folder on the site instead.

This can't be an original request. Does anyone have anything like this?

One xml file per order

Thanks

Hi,

Did you ever find a solution to this?

Regards
Phil

Phil Rogers
A problem shared is a problem solved.

24 Aug 2010, 7:30 PM
#6
magnusrf avatar

magnusrf

New Zenner

Join Date:
Dec 2009
Posts:
10
Plugin Contributions:
0

Re: Export orders to XML

I'm also looking for a way to create an XML file to export order and shipping information to a 3rd party fulfillment warehouse. Does anyone already have a solution for this that they can publish?
Posted via Mobile Device

13 Oct 2011, 7:02 AM
#7
panservolvo avatar

panservolvo

New Zenner

Join Date:
Sep 2010
Posts:
38
Plugin Contributions:
0

Re: Export orders to XML

I'm also looking for this