Order Attributes
Collect extra information at checkout with custom fields, and choose where the values show in the admin, emails, PDFs and exports.
Order Attributes List

In the Zoey Admin, go to Orders > Attributes to see all your Order Attributes. Click Create New Attribute to add one, or click an attribute to edit it.
Save firstEnter the Attribute Name and Attribute Type, then click Save. Some settings, such as the email variable, only appear after the attribute is saved.
Main Settings
When creating or editing an Order Attribute, the following settings will be available.

Attribute Name
The name or label that will show on the form field to give the attribute a value on your order.
Attribute Type
Attribute Type determines the field type used for entry by the customer during Checkout.
| Type | |
|---|---|
| Text Field | A single line input field for text. |
| Text Area | An input field for entering multiple lines or paragraphs of text. You can use the WYSIWYG Editor to format the text with HTML tags, or enter the tags directly into the text. |
| Yes/No | Displays a drop-down list with pre-defined options of Yes and No. |
| Multiselect | Displays list of values that accepts multiple selections. |
| Drop Down | Displays a drop-down list of values that accepts only a single selection. |
| Date | Displays a date value in the preferred format. Date values can be selected from a list or a calendar. |
| Time | Displays a time value in the preferred format and time zone, selected from a clock option HH:MM. |
| Date / Time | Displays a date and time value in the preferred format and time zone. The date and time can be entered manually or selected from a calendar. Example format: MM/DD/YYYY HH:MM |
| File | Displays an uploaded file. Allowed file extensions may be selected: jpg, jpeg, png, gif, txt, doc, csv or pdf. |
Enabled
This setting determines whether or not the Order Attribute is enabled. If disabled, the form field will not show in the checkout where specified.
Order Visibility Settings

Visible to only Specified Customer Groups
This setting allows the Order Attribute Form Field to only be shown to specific customer groups. After checking the setting a list of groups will appear. Select the groups that will be able to see this attribute.

Editable In Admin
This setting determines whether or not the Order Attribute Value can be edited on the order by the store administrator.
Allow Adding to Order after Order is Placed
When this is enabled, if the Attribute was not set at the time of Order Creation you will be able to set a value for this Attribute through the Zoey Admin, API or CSV after the Order is placed.
Show on PDFs
This setting determines whether or not the Order Attribute Value is shown in PDF Documents in the "Display Location" selected above.
Show on Customer My Account: View Order
This setting determines whether or not the Order Attribute Value is shown to the customer in their My Account View Order page.
Show on Order Success Page
This setting determines whether or not the Order Attribute Value is shown in the Order Success Page in the "Display Location" selected above.
Show on Export Full Order Data CSV
This setting determines whether or not the Order Attribute is added as a column in the Order CSV Export.
Use for My Orders Search
When enabled, customers can find their orders by this attribute's value using the search bar on My Account: My Orders.
Use for Admin Global Search
When enabled, your team can find orders by this attribute's value, such as a PO number, in the Search anything bar at the top of the Zoey Admin. It's off on every attribute until you turn it on. It works separately from Use for My Orders Search, so an attribute can be searchable in the admin only.

Show on Statements
When enabled, this attribute's value prints next to each invoice on statements. Use it for a PO number, so your customers' accounts payable teams can match each invoice to their purchase order.
| Statement | Where the value shows |
|---|---|
| Account invoice statement (Print Invoice Statement or Email Invoice Statement on an account's Invoices) | A column after Order ID |
| Order statement | A column next to each invoice |
| Statements and statement emails | Next to each order number |
The column header is the attribute's name. Orders without a value show a blank. This setting is off by default.
- In the Zoey Admin, go to Orders > Attributes and open the attribute (for example, your PO Number attribute).
- In Order Visibility, check Show on Statements.
- Click Save.
Show on Emails
This setting determines whether or not the Order Attribute Value is shown in Order Emails in the "Display Location" selected above.
To place the value somewhere else in an email, copy the variable under Email Template Variables (below Show on Emails) and paste it into the email template. It looks like {{var order.__getCustomAttributeValue('your_attribute_code')}} and works in order, payment, shipment and credit memo emails.
Order Forms Settings

Required
This setting determines whether or not the Order Attribute is required in the checkout where specified.
Is Unique
When Checked, this attribute must have a unique value for each order. Can only be set for Admin Only checkout locations and Text Field attribute types.
Checkout Location & Checkout Position
This setting allows the Order Attribute Form Field on the Billing Address, Shipping Address, Shipping Method or Payment Method pages of the Checkout, or None - Only Editable After Order is placed. The Checkout Position setting allows for showing the Order Attribute Form Field Above or Below other default fields on those pages in the checkout.
Checkout Attribute Dependency Display Rule
Add rules to display this field only when the chosen attribute values are selected in the checkout. Do not add any rule to always display this field.
Shipping Address Country Display Rule
Show a question only on orders that ship to, or don't ship to, certain countries. For example, ask customs questions only on international orders.
- In the Zoey Admin, go to Orders > Attributes and open the attribute.
- In Order Forms, set Shipping Address Country Display Rule: choose a condition, then the countries.
- Click Save.

| Condition | The question shows when the shipping address country… |
|---|---|
| Is | is the country you choose |
| Is Not | is any other country |
| Is One Of | is in the list you choose |
| Is Not One Of | isn't in the list you choose |
Leave the countries empty to show the question on every order.
How it works with the other rules
- The question shows only when every rule on the attribute passes, including Checkout Location Display Rule and Checkout Attribute Dependency Display Rule.
- It stays hidden until the order has a shipping address, and on orders that don't ship.
- The rule also applies when you create orders and quotes in the admin.
Example: to ask for export details on international orders only, set Checkout Location to Shipping Method, Required to Yes, and Shipping Address Country Display Rule to Is Not One Of: United States.
Checkout Position
This determines where the information is displayed in the Checkout: Below Fields or Above Fields.
Display Location
This determines where the information is displayed after the order is placed within the Admin, My Account, Email, and PDF.
PDF Location
This determines where the information is displayed after the order is placed within the PDF.
Sort Order In Forms
This setting is used when multiple Order Attributes are added to the same Checkout and Display Location to determine the sort order.
Quote Attribute Settings
Quote attributes are Order Attributes with their Quote settings turned on. You can reach the same attributes list from Orders > Attributes or Quotes > Attributes. See also Quote Attributes.
The Quote settings show when you create the attribute. A new attribute starts Enabled for Store Front-end, Enabled for Admin and Required for quotes, matching its Order settings. An attribute that's enabled or required for orders must be enabled or required for quotes too.
Quote Settings will determine how the attribute appears on Quotes.
If an attribute is required on orders and you use it on quotes, also set Required under Quote Forms Settings, so the value is filled on the quote and copied to the order when the quote converts.
Quote Settings
Order Attributes may be configured to be used for Quotes.
Quote Attributes may be added to Quotes either from your Zoey Storefront or in the Zoey Admin, and Copied to Orders. You can create a Tooltip using the Text Box.

Quote Visibility
Visible to only specified customer groups
This setting allows the Quote Attribute Form Field to only be shown to specific customer groups. After checking the setting a list of groups will appear. Select the groups that will be able to see this attribute.
Show in PDFs
This setting determines whether or not the Quote Attribute Value is shown in PDF Documents in the "Display Location" selected above.
Show in Emails
This setting determines whether or not the Quote Attribute Value is shown in Quote Emails in the "Display Location" selected above.
Show on Export Full Order Data CSV
This setting determines whether or not the Quote Attribute is added as a column in the Quote CSV Export.

Quote Forms Settings
Required
This setting determines whether or not the Quote Attribute is required.
Location
This setting allows the Quote Attribute Form Field on the Information, Billing Address, Shipping Address sections on the Customer Quote Submission Page, or Shipping Method/Payment Method sections on the Quote View/Edit Page.
Shipping Address Country Display Rule
Quote forms have their own Shipping Address Country Display Rule. It works the same way as on orders. See Shipping Address Country Display Rule.
Sort Order On Forms
This setting is used when multiple Quote Attributes are added to the same Location to determine the sort order.

Validation Rules
You may set rules for your Quote Attribute such as Minimum or Maximum of Characters, Alpha Characters Only, Alphanumeric Characters Only, Email or Numbers Only.
You may also choose to Validate the Admin & Storefront or Storefront Only.
Date attributes have date rules instead: Minimum Day Buffer, Maximum Day Buffer, Enabled Days, Offset Is Based on Enabled Days, Offset Minimum Day Buffer to First Enabled Day and Default Value to Current Date.

Example: a checkout add-on such as Signature Required or Expedited Shipping
Customers can choose only one shipping method, so a Flat Rate method called "Signature Required" replaces their shipping choice. Use an Order Attribute instead, so they keep their shipping method and also answer your question:
- Go to Orders > Attributes and click Create New Attribute.
- Name it, for example "Signature Required at Delivery?" or "Expedited Shipping", set Attribute Type to Yes/No, and click Save.
- Set Checkout Location to Shipping Method so the question shows with the shipping options.
- Turn on Show on Emails and Show on PDFs so your team sees the answer on the order documents.
- Click Save.
The answer is saved on the order. It isn't sent to the carrier: your team adds the signature confirmation or expedited service when creating the label, and can add any extra cost when invoicing.
To charge a set fee instead, create a Virtual Product priced at the fee (for example "Signature Required at Delivery", $5.99) that customers add to their cart. For an order that's already invoiced, add it on an additional invoice.
Order Attribute API
For API Documentation please visit apidocs.zoey.com
Updated 1 day ago
