Articles on: Checkout customizations

How to setup a Metafield for order notes

Articles on: Customization add ons

To save the contents of a gift note to an order, we use metafields.

To set up your metafields to store the gift note data to the order, follow these steps:

Go to Shopify Admin > Settings > Custom Data > Orders > Order metafield


Fill out these details:




Name: whatever you'd like!

This will automatically populate the Namespace and Key, but we'll replace it with:

Make it so the Namespace and key field show the following:

upsellplus-pp.__upsell_id

Description: Gift note
This can be whatever works best for you

Select Type

Choose Multi-line text

Click Save


Now the gift note that's entered in checkout will automatically be added to the order under this metafield.




Updated on: 12/01/2024

Updated on: 11/06/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!