ShipMantaSupport Center
Advanced

Custom Fields

Capture store data ShipManta does not track by default — on orders, line items, customers, and addresses — for filters, documents, and reports. Includes files on a line, such as uploaded photos.

Intro

Custom Fields let you store data ShipManta does not track out of the box — a gift-message flag, a bin location metafield, a wholesale reference — captured from your Shopify or WooCommerce store at import and kept on the order and its related records.

Purpose

  • Capture business-specific data next to the order
  • Give conditions, filters, and documents more signals to work with
  • Feed the Custom field sales report with a stable value per line item

Create a field

  1. Open Advanced → Custom Fields and click New Custom Field.
  2. Fill in:
FieldOptions
NameHow it appears in the app
EntityOrder, Line item, Customer, Shipping address, Billing address
Value TypeText, True / false, Number, List, Date & time, Date, Files
Value SourceWhich Shopify field or attribute to read. A custom attribute shows as Custom attribute · Gift message. A line item attribute shows as Line item attribute · Test. A product metafield is product.metafield:custom.bin_location, and a variant metafield is variant.metafield:custom.bin_location. Use the form that matches where the metafield is defined in Shopify (Settings → Custom data → Products vs. Variants); a plain custom.bin_location is not a metafield reference and captures nothing.
Lock at first importCapture the value once and never overwrite it on later syncs
  1. Save, then sync or import an order and confirm the value appears.

Every time an order syncs, ShipManta re-reads each field and only changes values that actually changed. A value that does not fit the field's type is skipped instead of saved. For example, a Number field whose source holds text stays empty, and the rest of the order still imports. True / false values are saved as 1 or 0.

Turn on Lock at first import for anything you report on. A bin location that changes after the order sold should not rewrite last month's numbers.

Refresh a locked field on open shipments

Bins move. A locked field keeps the bin each line had when the order was imported, so orders still waiting to ship can print an old bin. To read the field again for those orders only:

  1. Open Advanced → Custom Fields.
  2. On a locked field, click Refresh on open shipments (the circular arrows).
  3. The window shows how many orders and line items have an Awaiting or On hold shipment. Click Refresh.

Each of those orders is read again from your store in the background, usually within a few minutes. The old value shows until the new one is saved. The field stays locked, so later syncs keep the new value.

What is read again depends on where the field is stored:

EntityWhat refreshes
Line itemThe lines on Awaiting and On hold shipments
Order, Shipping address, Billing addressThe orders that have those shipments
CustomerThe customers of those orders. A customer's value is shared by all their orders

Shipped, picked up, cancelled and merged shipments keep the value saved at first import, so reports on past sales do not change. The button needs Manage custom fields and shows only on locked fields. An unlocked field already refreshes on every sync.

Printing bins from the variant metafield? The stock {{ bin_location }} token reads the synced metafield first, so it already shows the current bin. Only {{ custom_fields.<slug> }} prints the locked value.

WooCommerce

On a WooCommerce store, custom fields read the order the same way. A Line item attribute reads a line's meta entry by its key, and a Custom attribute on an Order field reads an order meta entry by its key. Other path reads a field of the WooCommerce order, such as customer_note or shipping.city. Customer fields are not filled on WooCommerce.

Files on a line

Use the Files value type when a line carries a JSON list: photos to print, artwork, or any other entries. ShipManta stores the list as the shop sent it. You choose which values to show by adding a column for each one.

  1. Click New Custom Field.
  2. Set Entity to Line item and Value Type to Files.
  3. For Value Source, choose Line item attribute and type the meta key that holds the list, for example Photos.
  4. Click Add column for each value you want to show. Key is the name in the JSON. A dotted path such as image.full reads a nested value. Label is the heading. Type is Text, Number, Yes / no, Date, or File.
  5. Fill in List key only when the list sits inside another object. Leave it empty when the meta value is the list itself.
  6. Save, then import or re-sync an order.

A print line whose JSON is url, label, and quantity uses these columns:

KeyLabelType
urlPhotoFile
labelNameText
quantityCopiesNumber

Keys you do not add are stored and not shown. With no columns, every key on the list is shown.

On the order page and the shipment page, the line shows the field name, then its value. For a Files field the value is a button with the number of entries. When one column is a File, the button also shows the first image, and opening it shows a grid. Under each image is the quantity (quantity, qty, copies, or count). When the list has no quantity, the other columns are the caption. A list with no File column opens as a table.

A later sync replaces the list with what the store sends, unless Lock at first import is on. A field keeps up to 5,000 entries per line. A Files field is not a document token on its own, and it is not available in reports or conditions. A document names it in the template: {{# custom_field:customer_photos }} then {{ first_image }} and {{ last_image }} — see Documents. On a Harrier provider, open General and set Print files field to choose which Files field is sent as the print files.

The files stay where your store keeps them. ShipManta saves the addresses, not the files, so a link works only while the address does.

Line-item fields and reports

A Line item custom field is what powers Reports → Custom field sales: every value captured at import becomes a row you can group revenue, units, and profit by. Orders imported before the field existed have no value and show as unattributed in the report.

POS: Add Info on a cart line

On Shopify POS, open a cart line → Add Info. Staff fill in the fields you defined under Apps → POS Extensions → Line Item Info; each value becomes a Shopify line item property on the order under that field's property key. On that same page, each field has a Custom field button. The window shows the name, where it is stored, the value source, and the type, and those can be changed before Set up custom field creates it (or links one that already uses the same place and value source). The next order sync copies the property into that custom field so it is available to documents, filters, and reports. Keys that start with an underscore stay hidden on POS screens and receipts.

Line-item fields on documents

Captured line-item values print on pick lists, packing slips and item labels through {{ custom_fields.<slug> }}, where the slug is the field name lower-cased with underscores — Item Bin Location → {{ custom_fields.item_bin_location }}. A field whose name contains bin also feeds the stock {{ bin_location }} token when no bin metafield is synced, and any line-item field can be a Sort rows by column. See Documents → Bin location on pick lists.

Maintain fields

  • Edit labels and sources from the list. Each row shows the field's type, its value source in small print, and a Locked at import badge when Lock at first import is on — so you can tell at a glance which values are frozen.
  • Long lists: use Search fields… above the list to filter by name.
  • Disable or delete only after checking nothing depends on the field — Conditions, Automation Rules, Documents, or the Custom field sales report may reference it.

Who can use it

Custom fields are a Pro and Enterprise feature. Permissions View custom fields / Manage custom fields.

Your AI assistant can manage them too, in the Custom Fields area. With View custom fields it can list fields and read one (custom_fields_list, custom_fields_get), including whether it is locked. With Manage custom fields, and changes turned on for that area, it can add, edit (name, type, source, Lock at first import) and delete fields (custom_fields_create, custom_fields_update, custom_fields_delete), and refresh a locked field on open shipments (custom_fields_refresh_locked_values). Each change comes back as a preview you confirm first. Deleting a field also deletes every value it saved.