How to use the Metafield text block

The Metafield Text block allows you to display custom text on your product cards using metafield values. This feature is ideal for showcasing additional product information, such as specifications, care instructions, or promotional messages.

Setting Up Your Metafields

Before using the Metafield Text block, you'll need to set up your product metafields:

  1. Go to Settings > Custom data > Products

  2. Click Add definition

  3. Configure your metafield:

  • Type: Text

  • Namespace: (e.g., "details")

  • Key: (e.g., "care_instructions")

  • Name: (e.g., "Care Instructions")

Adding a Metafield Text Block

  1. In your Featured Collection - Blocks section, add a new block.

  2. Select "Metafield text" as the block type.

  3. Configure the following settings:

Basic Settings

  • Metafield namespace: Enter your metafield namespace (e.g., "details").

  • Metafield key: Enter your metafield key (e.g., "care_instructions").

Troubleshooting

If your metafield text isn't appearing:

  1. Verify that the metafield namespace and key are correct.

  2. Check that the product has text entered in the metafield.

  3. Email us at support@design-packs.com for help.

Example Use Cases

  • Care Instructions

  • Provide specific care instructions for clothing or delicate items.

  • Include washing, drying, and ironing guidelines.

2. Product Specifications

  • List technical specifications for electronics or appliances.

  • Include dimensions, weight, and material information.

3. Promotional Messages

  • Highlight special offers or discounts.

  • Include limited-time promotions or seasonal messages.

By effectively using the Metafield Text block, you can enhance your product displays with valuable information that helps customers make informed purchasing decisions. Always ensure that the text aligns with your brand voice and complements the overall design of your product cards.

Last updated