Using Line Item Property as Input to a Metafield Definition

Topic summary

Request to capture a Date & Time input on the product page using a Line Item Property, store it in a Metafield definition, and display it in the checkout order summary.

Requested outcomes:

  • Let customers select a date/time per item on the product page
  • Store that value in a typed Metafield definition
  • Show the value in the checkout order summary

Clarifications:

  • Line Item Property: a custom, per-item field submitted with the add-to-cart form.
  • Metafield definition: a structured data field attached to Shopify resources (e.g., product, variant, order).

A checkout summary screenshot is referenced as context. No guidance or solutions have been provided yet; the question remains open, asking whether this linkage is possible and how to implement it.

Summarized with AI on December 29. AI used: gpt-5.

Hi! I wanted to know if there’s a way to use Line Item Property to take input as Date & Time and store that in a Metafield Definition. This should also should the meta definition at the checkout order summary. Basically I want to include date and time selection in product page and this seems like it could be possible.

Screenshot 2024-05-07 201539.png

Thanks in advance!

1 Like