For the complete documentation index, see llms.txt. This page is also available as Markdown.

Display label/badge based on product/variant metafields

You can show a label or badge on different products containing same product / variant metafields.

  1. Create your product or variant metafields from your Shopify Settings > Metafields and metaobjects > Add definition:

Then you click on the Copy to clipboard button to paste it inside the namespace.key input at the Step three below :

  1. Add values for each Product metafield or Vairant metafield from your Shopify Products tab, then you paste the values inside the corresonding value inputs at the below:

  1. Go back to Sami Label app > Create badge

  2. Navigate to the Products tab > Choose Products matching conditions > add the Product metafield or Variant metafield conditions with your recently created namespace.key fields and their values :

⚠️ Ensure the Storefront API access is enabled from Metafields and metaobjects setting.

Click Save then check your label or badge on your website.

Need support?

If you do encounter any difficulty while proceeding these steps, don’t show any hesitation to contact us promptly via the email address support@samita.io

Last updated

Was this helpful?