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
Navigate to Settings in Shopify's Admin dashboard
Select Metafields and metaobjects
Click on a given Shopify data type, ex. Products
Click Add Definition on the top-right to create a new one
Add a name, namespace and key then the relevant value.
Once created, enter the integer value that equals the monetary threshold the consumer carts need to reach to unlock the gift.
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.
Scroll down to the Options section
Ensure the Storefront API Access is enabled.
Save the metafield.
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]!