Skip to main content

Metafields Overview

Updated over a week ago

Metafields give you the ability to customize the functionality and appearance of your Shopify store by permitting you to save specialized information that isn’t usually captured within Shopify admin. Use metafields for internal tracking or to display specialized information on your online store in a variety of ways. Within Tapcart, you will need to utilize metafields to set up the ‘Gift with Purchase’ feature. In this article, we will review how to create the metafield that is necessary to set up this functionality.

Metafield Creation

  1. Navigate to Settings in Shopify's Admin dashboard

  2. Click Custom Data

  3. Click on a given Shopify data type like Products and then click Add Definition on the top-right

The metafield will need the following namespace, key, and type:

  • Name: Tapcart GWP

  • Namespace: tapcart

  • Key: gwp-threshold

  • Metafield Type: Integer

Once created, enter a metafield value (of type integer) that equals the monetary threshold the consumer carts need to reach to unlock the gift. Please note, values need to be denoted in hundredths of aunty, which in the case of USD would be pennies. For example, to set a threshold of $50.00, the integer value will be 5000.

screenshot_2024-11-18_at_2.32.59___pm.png

You also want to ensure the metafield is set to READ on Storefronts Access options.

Screenshot 2024-11-18 at 3.32.38 PM.png

Considerations

For more information on using metafields you can access this guide here.

Please note, Metafields and Shopify Scripts are only available to Shopify Plus merchants, to learn more about Shopify Plus please access this link.

More Questions

To learn more about Tapcart, visit Tapcart Academy to become a mobile app expert!

Have more questions on creating metafields, we’re happy to help! Please reach out to us through LiveChat on your Tapcart Dashboard or email us at [email protected]!

Did this answer your question?