Extend theme with apps

Topic summary

Custom Shopify app built with Laravel seeks a way to programmatically modify a store’s theme at install time. The goal is to insert buttons or display metafield values directly in the theme via custom code.

Key constraints:

  • Must avoid Theme App Extensions (no app blocks or app embeds).
  • Changes should be injected into the theme itself upon app installation.

Context/terms:

  • Metafields: custom data fields in Shopify that store additional information to be shown in the storefront.
  • App blocks/embeds: standard extension methods for adding app UI to Online Store 2.0 themes (explicitly not desired here).

Request:

  • Guidance on how to achieve theme integration via custom code rather than extension mechanisms.

Status:

  • No responses or solutions yet; the question remains open with no agreed approach provided.
Summarized with AI on December 26. AI used: gpt-5.

Hi,
I create a custom Shopify app using Laravel. I need to inject buttons or metafield values into the theme when the app is installed. How can I achieve this? By using custom code. not by app blocks and app embeds.