Custom field in Checkout using extension.

The SC Custom Fields extension lets you add custom transaction body fields to the checkout application in Commerce websites. You can use these fields to request or provide additional information, such as shipping instructions, special order requests, and delivery time slots.

SC Custom Fields lets you add text, check box, and date-type transaction body fields to Commerce websites. You can add custom fields before or after existing checkout modules. For example, you can include fields before shipping method, billing address, or payment method blocks in the standard checkout flow.

To display custom transaction body fields in the Checkout application of your site, perform the following steps:

  1. Create Custom Fields for Checkout
  2. Configure Custom Fields for Checkout.

Create Custom Fields for Checkout

To add new fields to Checkout, you must create custom transaction body fields in your NetSuite account.
The SC Custom Fields extension allows the following transaction body field types:

  • Check Box
  • Date
  • Text Area
  • Long Text
  • Free-Form Text

When you create a transaction body field for the SC Custom Fields extension, be aware of the following:

  • The Field Type must match the field type you want to include in the checkout application.
  • The Web Store and Sale fields must be checked in the Applies To subtab.
  • If you select the Mandatory box in the Validation & Defaulting subtab, the field is mandatory for all domains and you must mark it as required in the SuiteCommerce Configuration record for all the domains of your website.If you want the new transaction body field to be required in only one domain, you should mark the field as required in the configuration of that domain only. You do not need to mark it as mandatory during creation.
  • The subtab where you want to display the custom field on the Sales Order record should be selected in the Display subtab. Otherwise, the field is shown in the Custom subtab of the Sales Order record.

Note:The SC Custom Fields extension only supports transaction body fields.The character limitation for the custom fields in Commerce websites is set by the field type in NetSuite. 

Configure 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.

Note: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:

  1. In NetSuite, go to Commerce > Websites> Configuration.
  2. Select the website and domain where the Custom Fields extension is activated and click Configure.
  3. Navigate to the Extensions tab.
  4. In the Custom Fields subtab, set the following fields:
  1. 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.

5. Click save.

Leave a comment

Your email address will not be published. Required fields are marked *