Configuring Custom Fields for Checkout
Use the SC Configuration record to choose which fields to add to Checkout and how they display. You can also set feedback messages that display to users on your site.
Consider the following points when determining the order and positioning of your custom fields:
-
You can add a custom field before or after a standard checkout module. For example, if your SC site uses the standard checkout flow, you can add custom fields before or after the shipping method block in the Shipping Address page.
-
If you want to change the order of existing modules in the checkout application, you should do this before adding new custom fields. For more information, see Reorder Checkout Modules.
-
The order in which you list custom checkout fields in the Custom Fields subtab of the SC Configuration record determines the order of the custom fields in Checkout.
Only custom transaction body fields are supported by the SC Custom Fields extension for the Checkout Application. Standard NetSuite transaction body fields cannot be used.
To configure custom fields for checkout:
-
In NetSuite, go to Commerce > Websites> Configuration.
-
Select the website and domain where the Custom Fields extension is activated and click Configure.
-
Go to the Extensions tab.
-
In the Custom Fields subtab, set the following fields:
Messaging Fields:
Field
Description
Required Field Warning Message
Sets the message to display when the user leaves a required field blank.
The placeholder
[[field]]is replaced by the field name automatically.Required Fields General Warning
Sets the message to display at the top of the page when the user leaves a required field blank.
Loading Message
Sets the message to display when the custom fields are loading.
Loading Error Message
Sets the message to display when an error occurs while loading.
Saving Error Message
Sets the message to display when an error occurs while saving.
Checkout Custom Fields:
For each custom field you want to include in Checkout, insert a row in the Checkout Custom Fields table, and complete the following fields as needed.
Field
Description
Field ID
Links the field ID of the custom field you want to employ with a Checkout field.
To find the field ID, go to Customization > Lists, Records & Fields > Transaction Body Fields and open the Transaction Body Field record.
Position
Determines the position in Checkout where the custom field appears.
Module
Determines the module in Checkout on which the custom field’s position is based.
You can choose from the following Checkout modules:
-
Shipping Address
-
Shipping Method
-
Gift Certificate
-
Payment Method
-
Review Shipping
-
Review Payment
-
Terms and Conditions
Field Type
Determines the type of the custom field.
The Field Type must be identical to the Field Type selected in the Transaction Body Field record.
Label
Sets the label for the custom field to display to users.
Placeholder
Sets the placeholder text to display in the custom field.
Required
If checked, makes the custom field required for a user in Checkout.
You must check this box if the Mandatory field is checked on the Transaction Body Field record.
-
-
Click Save.