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
Click Custom Data
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.
You also want to ensure the metafield is set to READ on Storefronts Access options.
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]!