close ad
Databridge V2 with MySQLi support IS Now Available!
open ad
View Menu

Technical Support Forums

Free, outstanding support from WebAssist and your colleagues


Custom Coding Needed

Thread began 7/21/2009 6:30 pm by grgsr | Last modified 8/04/2009 7:54 pm by grgsr | 2167 views | 3 replies |


Custom Coding Needed

I am looking for someone willing to assist me in coding Ecart for the following:

I need to be able to store new and old orders in the database and also be able to upload new orders in CSV.

I need the following maximum characters for each of the following fields they must be in this sequence:

Batch Orders (CSV file upload)
■click on “drop ship”
■click on “upload orders” link
■see where it says “upload a batch of orders in a file”
■You submit a customer file and then the associated product file.
■You can get the file format info on that page, it is listed below as well.
■Both files must be “comma-delimited (CSV)” and in the following field order:
Customer File - CSV
FIRSTNAME (32 characters allowed), LASTNAME (50 characters allowed), ADDRESS1 (61 characters allowed), ADDRESS2 (60 characters allowed - this is for Apt #, PO Box, etc), CITY (48 characters allowed), STATE (48 characters allowed), ZIP (14 characters allowed), COUNTRY (2 characters allowed), CONTACTNAME (40 characters allowed), EMAIL (72 characters allowed)(UPS will email tracking number), PHONE (24 characters allowed)(receiving customer phone required for international orders), LEAVE BLANK (0 characters allowed), INVOICENUMBER (8 characters allowed), LEAVE BLANK (0 characters allowed), SHIPPING (17 characters allowed - Must be one of the following: UPS Red, UPS Blue, UPS Orange, International UPS, UPS Ground, US Mail)

Product File - CSV
INVOICENUMBER (9 characters allowed), PRODUCTNUMBER (20 characters allowed), QUANTITY (4 characters allowed)

Thanks for your consideration.

Sign in to reply to this post

Ray BorduinWebAssist

1) You could use Digital File Pro to upload the file and move it to the correct location.
2) Use validation toolkit to validate the form and make sure it is .csv
3) Write code to open the file and store it as a string
4) Write code to use the php explode function (function.explode) to create a multidimensional array from the csv data stored as a string
5) Write php code by hand to loop through the parent array created above which would consist of one record per row. Here you may want to add some hand-coded validation to ensure the .csv has the correct number of columns and data format you expect for each row, and check to make sure the invoice number has not already been inserted.
6) Use dataAssist insert record server behavior to insert into the orders table referencing the field values from the nested array as if it was inside the loop you created... don't set a redirect page or it will only do the first one.
7) Manually move the code into the loop.
8) Write php code below using the same trigger that deletes the file and redirects to the proper page to show after completion.

Sign in to reply to this post


Coding not my cup of tea..


Glad to know that this is possible but I do not do coding, have no knowledge of coding. I would love to tinker with coding when time permits.

Do you know of someone who could perform this coding for a reasonable fee? I intended to purchase the Super Suite so the other programs/software you mentioned are included in that suite.

I have spent 2 months researching shopping carts that can be easisly customized........not much out there of quality.

I am sure glad that WebAssist is constantly seeking new horizons and features! I just wish I could perform the programming to get this going.

Thanks for all of your dedication, support and enthusiasm towards continuous improvement!


Sign in to reply to this post


Ray.......not sure if you are getting me emails

Hi Ray:

Thanks for the personal email. I have responded to your email but I don't believe you are receiving them....I think they are ending up in a spam filter or something. Please advise.


Sign in to reply to this post

Build websites with a little help from your friends

Your friends over here at WebAssist! These Dreamweaver extensions will assist you in building unlimited, custom websites.

Build websites from already-built web applications

These out-of-the-box solutions provide you proven, tested applications that can be up and running now.  Build a store, a gallery, or a web-based email solution.

Want your website pre-built and hosted?

Close Windowclose

Rate your experience or provide feedback on this page

Account or customer service questions?
Please user our contact form.

Need technical support?
Please visit support to ask a question





Ease of use


security code refresh image

We do not respond to comments submitted from this page directly, but we do read and analyze any feedback and will use it to help make your experience better in the future.

Close Windowclose

We were unable to retrieve the attached file

Close Windowclose

Attach and remove files

add attachmentAdd attachment
Close Windowclose

Enter the URL you would like to link to in your post

Close Windowclose

This is how you use right click RTF editing

Enable right click RTF editing option allows you to add html markup into your tutorial such as images, bulleted lists, files and more...

-- click to close --

Uploading file...