Personal reference in customer order overview

Topic summary

A Shopify B2B store manager needs to display customer reference numbers in the order overview section of customer accounts. Currently, customers can add a personal reference during checkout (shown in a screenshot as ‘Klant referentie’), which the company uses for invoicing, but this reference doesn’t appear in the customer’s order history.

Solution Provided:

  • Modify customers/account.liquid to add a custom column in the order table
  • Access the reference using {{ order.attributes["Persoonlijke referentie"] }}
  • Also modify customers/order.liquid to display the reference on individual order detail pages
  • The reference is stored as an order attribute (cart attribute that becomes an order attribute after purchase)

Additional Discussion:

  • One user requested help adding product images to the customer order dashboard
  • Code snippet provided for displaying line item images using {{ line_item | image_url: width: 100, height: 100 | image_tag }}
  • Important caveat: These customizations only work with classic/standard customer accounts, not Shopify’s newer customer account system

Status: The original issue was resolved through Liquid template modifications.

Summarized with AI on November 11. AI used: claude-sonnet-4-5-20250929.

Hi there,

Thank you very much for your reply.

May I kindly ask you if you know how to insert an image in the customer’s order details in the client’s dashboard?

Thanks!

Kateryna