Video and Text section with Metafield

Topic summary

  • Goal: Display a different video on each product page using a “Video and Text” section, sourced via a product metafield (custom field).

  • Problem: Metafields created as file/url/link did not populate the section. A screenshot was attached for reference.

  • Suggestions: One participant offered to help with custom code. Another clarified the theme’s section input isn’t of URL type, so the metafield should be defined as “single line text.”

  • Outcome: Changing the metafield to “single line text” resolved the issue. No custom code was required.

  • Status: Resolved; use a single-line text metafield (containing the video reference) to work with the theme’s Video and Text section.

Summarized with AI on December 19. AI used: gpt-5.

This worked, thank you Wo.