Send orders to an external warehouse
13 posts
• Page 1 of 1
Send orders to an external warehouse
We are thinking of moving from Zen Cart to Opencart, and was wondering if there is an easy solution to port the orders taken to our external warehouse company using their soap api system.
In a nutshell once an order is completed, (ie paid for), we would require the back-end of opencart to send the following fields -
Name, address, contact number, email, sku's of products purchased and a few other attributes etc.
How easy would this be to integrate with opencart?
Cheers,
In a nutshell once an order is completed, (ie paid for), we would require the back-end of opencart to send the following fields -
Name, address, contact number, email, sku's of products purchased and a few other attributes etc.
How easy would this be to integrate with opencart?
Cheers,
- Out2lunch
- Posts: 67
- Joined: Wed Jun 29, 2011 1:32 pm
Re: Send orders to an external warehouse
You really should change from ZenCart to OpenCart
This kind of integration shouldn't be a huge job. Of course all depends on the warehouses api and access to it (simple soap call or something fancy). Basically there would be a button in the OpenCart back-end order edit where you could send the info to the warehouse.
This kind of integration shouldn't be a huge job. Of course all depends on the warehouses api and access to it (simple soap call or something fancy). Basically there would be a button in the OpenCart back-end order edit where you could send the info to the warehouse.
The Finnish OpenCart Forum | Finnish OpenCart Add-ons
"Real programmers don't document. If it was hard to write, it should be hard to understand."
"Real programmers don't document. If it was hard to write, it should be hard to understand."
- Miguelito
- Posts: 807
- Joined: Sun Jan 10, 2010 2:11 pm
Re: Send orders to an external warehouse
Im working on exact the same thing at the moment.
- DirkZz
- Posts: 31
- Joined: Thu Jun 16, 2011 7:34 am
Re: Send orders to an external warehouse
if everything you need is including in the customer order confirm email, could you not add an external email address to send the mail to also?
- SXGuy
- Posts: 1568
- Joined: Sat Nov 07, 2009 6:07 pm
Re: Send orders to an external warehouse
SXGuy wrote:if everything you need is including in the customer order confirm email, could you not add an external email address to send the mail to also?
We dont want to send the warehouse an email, as they use an automatic picker, thus it needs to be converted to work with their api.
Its an interesting problem, that ive been thinking about for a while :-)
- Out2lunch
- Posts: 67
- Joined: Wed Jun 29, 2011 1:32 pm
Re: Send orders to an external warehouse
Out2lunch wrote:SXGuy wrote:if everything you need is including in the customer order confirm email, could you not add an external email address to send the mail to also?
We dont want to send the warehouse an email, as they use an automatic picker, thus it needs to be converted to work with their api.
Its an interesting problem, that ive been thinking about for a while :-)
Just make an API call?
- DirkZz
- Posts: 31
- Joined: Thu Jun 16, 2011 7:34 am
Re: Send orders to an external warehouse
DirkZz wrote:Out2lunch wrote:SXGuy wrote:if everything you need is including in the customer order confirm email, could you not add an external email address to send the mail to also?
We dont want to send the warehouse an email, as they use an automatic picker, thus it needs to be converted to work with their api.
Its an interesting problem, that ive been thinking about for a while :-)
Just make an API call?
Im sorry API Call, how do you do that? Im not sure how to do that with Open Cart, just installed it on a test server, so still setting it up and starting to learn.
- Out2lunch
- Posts: 67
- Joined: Wed Jun 29, 2011 1:32 pm
Re: Send orders to an external warehouse
Their API has no documentation?
- DirkZz
- Posts: 31
- Joined: Thu Jun 16, 2011 7:34 am
Re: Send orders to an external warehouse
Would be a great feature, bookmarked
- scanreg
- Posts: 605
- Joined: Wed May 05, 2010 4:15 pm
Re: Send orders to an external warehouse
Yes their API has documentation, but I have no idea how to integrate it into the cart system.
- Out2lunch
- Posts: 67
- Joined: Wed Jun 29, 2011 1:32 pm
Re: Send orders to an external warehouse
This would be fairly simple to mod. The order processing is all done in the catalog/model/checkout/order.php file in the confirm function. All the order details are there as well so you could simply make your own function and pass those details in with just one line of code to the core, and then put the rest in your own php file to keep it away from the core.
Ideally a proper Hook system would be put in place and this would be an extremely great location to have a hook point
Ideally a proper Hook system would be put in place and this would be an extremely great location to have a hook point

Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
-

Qphoria - Administrator
- Posts: 18212
- Joined: Mon Jul 21, 2008 7:02 pm

Re: Send orders to an external warehouse
I did exactly this with my own system, created on the confirm order function, i created a function to call from if status_id = 5. then my function does the rest.
- Melon
- Posts: 90
- Joined: Thu Feb 03, 2011 12:02 pm
Re: Send orders to an external warehouse
Melon wrote:I did exactly this with my own system, created on the confirm order function, i created a function to call from if status_id = 5. then my function does the rest.
Hi Melon,
Care to elaborate? I'm sure a lot of us would like to know how this can be achieved, myself included.
Cheers, Sam
- SamNabz
- Posts: 178
- Joined: Tue Jul 05, 2011 11:32 pm
- Location: Sydney, Australia
13 posts
• Page 1 of 1
Who is online
Users browsing this forum: No registered users and 6 guests













