1
votes

I am working on shopify and my requirement is to add some extra information of user and I did that following this link :-

http://docs.shopify.com/manual/configuration/store-customization/communicating-with-customers/accounts-and-newsletters/capture-additional-information-in-the-account-registration-form

But now I want to know how to get values from customer[note][label] field in my liquid code. Like I am able to get customer's name using {{customer.name}} which is store in customer[name] field but unable to get values from customer[note][label] field.

1

1 Answers

3
votes

customer.note is not exposed via the the customer Liquid object. 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.

Relevant discussions on the Shopify forums: