user accounts - Adding/Displaying Custom fields in Shopify
We are building a shop on Shopify we are wanting to add custom fields to the "my account" page that a user views once they are logged in. Currently it shows their order history and they can add/edit their billing/shipping addresses.
I wanting to allow users to edit their email address and add other fields they can update.
I am also wanting this imputed information to be seen in the "customers" page in the Shopify dashboard for admin use or possibly on orders themselves.
We are currently using a 3rd party app but I need to get this information to appear in other places.
My question is, what is the best method, or easiest to add custom fields POST/GET in Shopify.
All help is greatly appreciated!
You can edit your theme files to include the display of custom fields. If your custom fields are mostly informational you can create them as a note (https://help.shopify.com/themes/customization/communication/get-more-information-with-customer-registration-form)
Unfortunately that appears to work for registration only. When I have had to do this sort of thing I've used an app that presents a form to the logged in customer via an app proxy and updates meta fields on the customer record.
Didn't find the answer?
Our community is visited by hundreds of Shopify development professionals every day. Ask your question and get a quick answer for free.
Find the answer in similar questions on our website.
Write quick answer
Do you know the answer to this question? Write a quick response to it. With your help, we will make our community stronger.