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 to name this metafield
namespace = “upsellplus-checkout”
key = “custom-field”
Description: This can be whatever works best for you





Make it so the Namespace and key field show the following: upsellplus-checkout.custom-field


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: 9/30/2024

Updated on: 30/09/2024

Was this article helpful?

Share your feedback

Cancel

Thank you!