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:
Go to Settings > Custom data > Products
Click Add definition
Configure your metafield:
Type: Text
Namespace: (e.g., "details")
Key: (e.g., "care_instructions")
Name: (e.g., "Care Instructions")
Adding a Metafield Text Block
In your Featured Collection - Blocks section, add a new block.
Select "Metafield text" as the block type.
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:
Verify that the metafield namespace and key are correct.
Check that the product has text entered in the metafield.
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