Perlshop 4 - Order CSV File Format

Overview

This document describes the field format for the Customer and Order CSV (Comma Separated Value) data files generated by Perlshop 4.


Customer Files

Each customer file contains a single line of text. This line is broken up into the following fields:

Field Number Field Name Description

Order Information Fields

1Perlshop Invoice Number 
2Customer IP Address 
3Order Date Day, month, and year.
Format is set by the $date_format setting in the ps.cfg file.
4Order Time Hours, minutes, and seconds.
Format is HH:MM:SS.

Customer Information Fields

5Title 
6First Name 
7Last Name 
8Company 
9Street 1 
10Street 2 
11City 
12State 
13Zip/Postal Code 
14Country 
15Email 
16Day Phone 
17Day Extension 
18Night Phone 
19Night Extension 
20Fax 

Shipping Selection Fields

21Selected Shipper 

Payment Information

22Payment Mode 
23Payment Data 1 The meaning of this field depends on the Payment Mode.
  • If the payment mode is Credit Card, this field holds the card type (Visa, MasterCard, etc).
  • If the payment mode is Virtual Check, this field holds the ABA number.
24 Payment Data 2 The meaning of this field depends on the Payment Mode.
  • If the payment mode is Credit Card, this field holds the card number. If entered, the card security code will be appended to the card number separated by a single space.
  • If the payment mode is Purchase Order, this field holds the purchase order number.
  • If the payment mode is Virtual Check, this field holds the account number.
25Expiration Month 
26Expiration Year 

Customer Input

27SourceThis field records what the customer entered into the "tell us where you heard about our site" box.
28SuggestThis field records what the customer entered into the "Suggestions and Comments" box.

Unused

29FVPINOnce used to hold the PIN number for a First Virtual Bank account. First Virtual Bank is no longer in business.

Shipping Destination

30Shipping Address is Same as Billing AddressThis field is set to "true" if the shipping address is the same as the billing address.
31Shipping Title 
32Shipping First Name 
33Shipping Last Name 
34Shipping Company 
35Shipping Street 1 
36Shipping Street 2 
37Shipping City 
38Shipping State 
39Shipping Zip/Postal Code 
40Shipping Country 

Financial Information

41Item Subtotal 
42Shipping Fee 
43Grand Total 
44Total Discount 
45COD Fee 
46Handling Fee 
47Total Rebate 


Order Files

Each customer file contains one or more lines of text. Each line represents one item that has been ordered. These lines are broken up into the following fields:

Field Number Field Name Description
1Perlshop Invoice Number 
2Item ID 
3Item Name 
4Item Price 
5Quantity 
6Weight 
7Tax Type 
8Option Value 1 
9Option Value 2 
10Option Value 3 
11Minimum Allowed Quantity 
12Maximum Allowed Quantity 
13Item Ship Type