Screen: ShopSite > Commerce Setup > Customize Order System
The ShopSite shipping and checkout screen contains the fields necessary to collect common order information, such as billing/shipping addresses and a field for customer comments. However, you might want or need to gather additional information, such as a customer code, or separate first and last name fields, or a customer agreement to store policy.
The custom checkout fields let you add as few or as many fields as you require to the checkout screen. The entire screen is an HTML form, and your custom fields will be integrated into the form at any of the locations that you designate.
Creating a custom field requires two steps:
You must have a one-to-one matching of a custom field to an input tag. Here is an example that uses three custom fields to let customers request gift wrapping. The first field is a checkbox, the second field is a select (drop-down) list, and the third field is a textarea.
The Use? box must be checked for all three fields. None of the other field parameters are required for this example. Here is what the screen looks like with those values:
<table align="center"> <tr> <th colspan="2" style="font-size: x-large;">Add Gift Wrap!</th> </tr> <tr> <td><input type="checkbox" name="field01"> Add Gift Wrap</td> <td><select name="field02"> <option value="Style">Gift Wrap Style</option> <option value="Birthday">Happy Birthday</option> <option value="Christmas">Merry Christmas</option> <option value="Congrats">Congratulations</option> </select></td> </tr> <tr> <td colspan="2"><textarea cols="32" rows="4" name="field03">Use this area to enter a gift note.</textarea></td> </tr> </table>
Note that you do not have to include <form> and </form> because your custom fields will be added to the existing form that makes up the entire page.
The results on the checkout screen look like this, shown just below the order total:
You can easily use custom checkout fields to create a survey question on the order form or to require customers to check a box indicating that they’ve read and agree to your store’s terms and policies. See the custom checkout field examples for more information.
ShopSite makes it easy to view and download the information that is collected via custom checkout fields.
You can choose to include the name and content of any custom fields on the Confirmation page, Thank You page and/or on the e-mail receipt that is sent to customers. For those fields that you wan to include, simply check the box labeled "Emails", "Conf", or "Thank You" when defining the custom field.
The order confirmation e-mail messages that you receive will contain all the custom form fields for which you checked the "Emails" box. The name and content of all custom fields are automatically included when you view orders in the ShopSite back office. Of course, you can print the orders while viewing them.
The name and content of all custom fields are included when you download orders, in a new field called "Custom Fields." Each field name and its contents are separated by a colon and a space, and fields are separated by |n|. Here is an example based on the gift wrap fields:
Gift Wrap: on|n|Gift Wrap Style: Birthday|n|Gift Wrap Note: To: John|n|Here's to the big FOUR-ZERO!!|n|-Terry|n|
Note that |n| is also used to indicate a carriage return within a textarea field.
Use these fields on the Customize Order System screen to create your custom checkout fields.
Display Custom Checkout Fields | Check this box to have ShopSite display the custom fields that you have defined for the shipping/checkout screen. |
Total Number of Custom Fields | Specify the number of custom fields that you want displayed on the shipping/checkout screen. If you increase the number, click Go to refresh the screen so that the additional fields are displayed for you to edit. |
Custom Fields | Use these parameters to define your custom checkout fields:
|
Do not display empty fields | Check this box to have ShopSite hide any fields you haven't defined. |
HTML Before... | Enter any HTML code and text -- including custom field names -- that you want to appear in the five locations on the checkout screen. Note that the standard information on the checkout screen is all centered, so you may want to use HTML tags to center this text, too.
These fields support use of the HTML Editor. |
ShopSite Help and Resource Center Last updated: March 01, 2010 Give Feedback |
ShopSite Shopping Cart Software |