Thread: EDI questions

Results 1 to 4 of 4
  1. #1
    Join Date
    Feb 2012
    Posts
    3
    Plugin Contributions
    0

    Default EDI questions

    First of all I hope this is the correct forum to post this in, I did not see a forum specifically for programming questions.

    Currently my site is set up and working fine. I have created a desktop application (C#) which I can forward customers orders to my warehouse via a .dat file, this is becoming cumbersome as we are getting busier and busier each day. This file basically says what to ship and where to ship it to, plus what type of shipping method to use.

    I would like automate this as soon as my customers pay... So when a customer makes a payment, immediately a file should be created containing billing, shipping, and order information.

    I've been poking around in the includes/classes/ folder trying to figure out which file is presented after the order has been fully paid for, because at this point I want to send the order file to the warehouse.

    Any advice is greatly appreciated!

  2. #2
    Join Date
    Aug 2005
    Location
    Arizona
    Posts
    27,755
    Plugin Contributions
    9

    Default Re: Zen Cart and EDI

    admin/orders.php can capture when paid

    Automation of processing can proceed from there
    Zen-Venom Get Bitten

  3. #3
    Join Date
    Jul 2005
    Location
    Upstate NY
    Posts
    22,010
    Plugin Contributions
    25

    Default Re: Zen Cart and EDI

    I would say you want to hook into /includes/classes/order.php, as this runs every time an order is placed. It already sends order info and e-mails to various places, and you should be able to add what you need building on the examples there.

  4. #4
    Join Date
    Jan 2004
    Posts
    66,444
    Plugin Contributions
    279

    Default Re: Zen Cart and EDI

    Take a look at the "Send SMS on new order" plugin for an example of hooking into the completed order process.
    .

    Zen Cart - putting the dream of business ownership within reach of anyone!
    Donate to: DrByte directly or to the Zen Cart team as a whole

    Remember: Any code suggestions you see here are merely suggestions. You assume full responsibility for your use of any such suggestions, including any impact ANY alterations you make to your site may have on your PCI compliance.
    Furthermore, any advice you see here about PCI matters is merely an opinion, and should not be relied upon as "official". Official PCI information should be obtained from the PCI Security Council directly or from one of their authorized Assessors.

 

 

Similar Threads

  1. Edi
    By channelnuke in forum General Questions
    Replies: 2
    Last Post: 27 Sep 2011, 09:57 PM
  2. ZenCart! + EDI?
    By yelow in forum General Questions
    Replies: 2
    Last Post: 7 Oct 2008, 03:44 PM

Posting Permissions

  • You may not post new threads
  • You may not post replies
  • You may not post attachments
  • You may not edit your posts
  •  
disjunctive-egg