Discuss and resolve questions on Liquid, JavaScript, themes, sales channels, and site speed enhancements.
How can I show Customer Notes on the Account Page?
I have the Customer Number in the notes of all customers.
It would be great if I could display this on the account page.
Is this possible?
What Code do I add?
{% customer.notes %}
Thanks
Carl
Hi @CWJNK,
Are you talking about the customer comments you added from the admin page? If so, those cannot be shown in the front end. You can actually add a metafield for that
Hi @CWJNK,
customer.note is not exposed via the customer Liquid object. Refer: https://shopify.dev/api/liquid/objects#customer
It is currently only available via the Shopify API. This is because customer notes are not meant for displaying in your store, they are for shop owners to manage customers in the admin area. An alternative is to use Metafields instead.
Hope it helps!
How do you use a meta field to see customer notes when they are added in the POS when checking out in person?
We appreciate the diverse ways you participate in and engage with the Shopify Communi...
By JasonH Sep 9, 2024Thanks to everyone who participated in our AMA with 2H Media: Marketing Your Shopify St...
By Jacqui Sep 6, 2024The Hydrogen Visual Editor is now available to merchants in Shopify Editions | Summer '...
By JasonH Sep 2, 2024