Line item property not showing in cart or packing slip

Topic summary

Issue: A custom product option (grind type) set up as a Shopify line item property isn’t appearing in the cart (and thus not useful for packing slips). The code uses a select input named properties[Grind Type].

Context: In Shopify, a line item property is a custom field attached to a product added to cart and should display in cart and carry through to order/packing slips if templates reference it.

Responses:

  • Suggestion to use a no-code app (Easify Product Options) to create and pass options reliably. Screenshots show app setup.
  • Another reply tested the provided code and confirmed it works, sharing a screenshot of the cart showing the selected value.
  • A demo video was provided showing how to ensure the custom field appears on the cart and packing slip: https://youtu.be/aMN49-AZLYI.

Media: Screenshots and a video are central to demonstrating both the app approach and the working code/output.

Status: No confirmed fix from the original poster; likely configuration or template-display issue. Discussion appears open/unsolved.

Summarized with AI on January 10. AI used: gpt-5.

Hi

We offer various grind types for our coffee but the selected option is not reflecting in the cart. Which makes even offering it quite pointless. Here is the code for the liquid of the product. Could someone please help?

Grind Type

Hi @twilacannell ,

I recommend using the Easify Product Options app (free plan available), to effortlessly craft your custom product options, no coding required. It’s a quick and hassle-free solution :hugs: .

Hi @twilacannell

I hope you are doing well.

I tried your given code and it is working fine. Here is the sample image for the same -

In case if you are still looking for the solution to make the value of custom field appear of cart & packing slip, please refer to this demo video - https://youtu.be/aMN49-AZLYI

Please let me know if more details are needed.

Thanks & Regards,

Scale-up print