Community Forums

Send orders to an external warehouse

Discuss integration with other scripts such as WordPress, Joomla, PHPBB, etc..

Send orders to an external warehouse

Postby Out2lunch » Wed Jun 29, 2011 4:24 pm

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,
Out2lunch
 
Posts: 67
Joined: Wed Jun 29, 2011 1:32 pm

Re: Send orders to an external warehouse

Postby Miguelito » Wed Jun 29, 2011 9:09 pm

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.
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."
Miguelito
 
Posts: 807
Joined: Sun Jan 10, 2010 2:11 pm

Re: Send orders to an external warehouse

Postby DirkZz » Thu Jun 30, 2011 6:59 am

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

Postby SXGuy » Thu Jun 30, 2011 8:48 am

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

Postby Out2lunch » Thu Jun 30, 2011 9:56 am

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

Postby DirkZz » Thu Jun 30, 2011 12:53 pm

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

Postby Out2lunch » Thu Jun 30, 2011 1:31 pm

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

Postby DirkZz » Mon Jul 04, 2011 1:57 pm

Their API has no documentation?
DirkZz
 
Posts: 31
Joined: Thu Jun 16, 2011 7:34 am

Re: Send orders to an external warehouse

Postby scanreg » Mon Jul 04, 2011 2:46 pm

Would be a great feature, bookmarked
scanreg
 
Posts: 605
Joined: Wed May 05, 2010 4:15 pm

Re: Send orders to an external warehouse

Postby Out2lunch » Wed Jul 06, 2011 4:12 pm

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

Postby Qphoria » Wed Jul 06, 2011 4:14 pm

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
Image Image
Donate!|OpenCart Basics|GeoZones
Help me get more development cloud storage - Click Here to get DropBox
User avatar
Qphoria
Administrator
 
Posts: 18212
Joined: Mon Jul 21, 2008 7:02 pm
Donate to Qphoria

Re: Send orders to an external warehouse

Postby Melon » Wed Jul 06, 2011 11:21 pm

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

Postby SamNabz » Tue Jul 12, 2011 10:27 am

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


Return to Integration

Who is online

Users browsing this forum: No registered users and 6 guests

Hosted by Arvixe Web Hosting