Cart & Checkout
Custom checkout fields allow you to capture additional information from customers during the checkout process. It's a great way to allow customers to add data such as preferred shipping date, Purchase Order numbers, and more!

Once enabled, the custom checkout fields will display on the 'Shipping' step of the My Order Interface before the customer selects their shipping address.
When a customer completes a custom checkout field, these will be attached to their order data as special 'Notes'.
In the context of Shopify, these will display as "Additional details" within "Order Notes". This data can then be retrieved and used to display on packing slips, sent through to a backend system (via the API) and more.

Custom checkout fields work by adding special code to your website within the SparkLayer Core Script.
In our example below, we've included how this would work with an example 'shipping date'. This can also be adapted with a wide range of other field types such as radios, date pickers, text fields (see below for the full list).
Updating the display You can update the default display by adding code to your Core Script. Learn more about how to update display settings on SparkLayer
Custom element configuration options
Key | Details |
name | The name of the custom field. This is shown in your eCommerce platform but is not visible to customers. (required) |
translations | An object containing customer-facing strings. Keys must be 2 letter language codes (ISO 639-1). (required) |
attributes | HTML attributes applied to the element. Use these to specify the type of input and validation rules. |
title | It's also possible to customise the text that is shown to the customer using translations. Text shown in bold above the input (required) |
detail | Small 'helper' text shown beneath the input. Useful for explaining what the field is for and acceptable values. |
Supported element attributes Some attributes only apply to certain input types and you can find more detailed documentation can be found here.
To get started, we've included some of our most popular customer checkout field types.
Updating the display You can update the default display by adding code to your Core Script. Learn more about how to update display settings on SparkLayer
Custom checkout fields currently support the following field types:
Field Type | Notes |
text | Freeform text entry |
number | Number entry |
date | Date, DD/MM/YYYY |
time | Specific time, 00:00 |
week | Week (4) |
month | Month of year (12) |
datetime-local | DD/MM/YYY 00:00 |
checkbox | Allows multiple selections |
tel | Number entry for phone |
Email entry | |
url | Website URL entry |
The Additional Information field is useful if you want to capture additional details from a customer whilst their placing an order.

Typical use-cases include capturing a Purchase Order number (sometimes referred to as PO number), delivery instructions, or instructions.
When completed by a customer, the data will then show within the Shopify order under the Notes section (this can also be sent to a backend system using the SparkLayer API).

Please note The additional information is a separate field to the 'custom checkout fields' detailed above. The Additional Information field is also limited to 512 characters in total
Make "Additional information" mandatory
You can force customers to complete the 'Additional information' field before proceeding to place their order.

Updating the display You can update the default display by adding code to your Core Script. Learn more about how to update display settings on SparkLayer
Updating language and text You can update the default text by adding code to your Core Script. Learn more about how to update text on SparkLayer.
Hiding the "Additional information" field
Alternatively, if you'd prefer to hide the additional information field from showing, you can update this via the SparkLayer Core Script.
Updating the display You can update the default display by adding code to your Core Script. Learn more about how to update display settings on SparkLayer
On the final step of the My Order Interface, Review & Pay, it's possible to display a "custom checkout message" that lets you inform customers of any special notes or information they need to be aware of. It's a great way to highlight information about shipping, payment, or anything else!

The "custom checkout message" works by adding a special code snippet to the SparkLayer Core Script that lets you define the text you want to show.
Updating language and text You can update the default text by adding code to your Core Script. Learn more about how to update text on SparkLayer.
Please note It's important to note that this text will show to all customers during the checkout process and it's not possible to vary it based on who the customer is.

If you'd like to customise how the message looks, you can do this by adding special CSS to your website. Simply add the below CSS to your website's CSS file and you can then set styling such as colours and spacing.
When customers checkout via the SparkLayer My Order Interface, they'll be asked to confirm the store's terms and conditions before completing their order.

By default, the terms and conditions link will point to a URL of policies/terms-of-service but it's possible to change this via the SparkLayer Core Script.
Updating the display You can update the default display by adding code to your Core Script. Learn more about how to update display settings on SparkLayer
Updating language and text You can update the default text by adding code to your Core Script. Learn more about how to update text on SparkLayer.
Please refer to the Payment Methods guide for more information.
Tax & shipping To learn more about how SparkLayer handles tax and shipping, see our guide here.
When a customer proceeds through the checkout, they'll be notified about tax and shipping with messaging beneath the main call to action.


If you'd like to modify what is shown here, you can do so by updating the default language within your store.
Updating language and text You can update the default text by adding code to your Core Script. Learn more about how to update text on SparkLayer.
You can modify the confirmation screen that shows to the customer by adding the below to the language overwrites within the SparkLayer Core Script.

Updating language and text You can update the default text by adding code to your Core Script. Learn more about how to update text on SparkLayer.
It's possible to set minimum and maximum order values that a customer has to meet before being able to place an order. Please refer to our full guide here.
If you have RRP pricing (MSRP) set up, by default the My Order Interface will display this below the main selling price.

If you'd prefer to hide this, you can add the below CSS to your CSS overwrites.