App embed block VS App block - target a page

Topic summary

Whether a floating app embed block in a Shopify theme app extension can be enabled only on specific pages (e.g., product, cart, or a particular collection) rather than site-wide.

Key concepts:

  • App blocks: inline elements added to specific sections/templates via the theme editor, configurable per page/section.
  • App embed blocks: floating/global elements targeting the body, typically enabled across the entire site.

Positions shared:

  • One reply notes app embed blocks generally apply to the whole site (e.g., chat widget use case), while app blocks can be placed on specific pages like product or cart.
  • The same reply also suggests app embed blocks can use “conditions” to show only on specific pages, but provides no implementation details.

Latest update and status:

  • The original poster asked how to add such conditions.
  • The responder requested a concrete scenario to illustrate, but did not provide steps.

Outcome: No concrete method shared yet; the question remains open pending clarification on implementing conditions for app embed blocks.

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

Hello all, thank you for your time.

I’m new to shopify app development and have several questions around theme extension app.

I get the difference between app blocks (inline, target a section) and app embed blocks (floating, target body)
Our application is providing several theme extensions, some are inline, one of them is floating.

Question is : can I enable the floating theme extension (app embed block) on some target pages only ?
When creating this block, targeting the body seems to enable the block on all pages with no customisation at all.
whereas app blocks can be added and configure in each page section in theme customization page.
I want the store owner to be able to enable the floating block only on cart page or only on product page or only on a specific category for instance…

Maybe I’m missing the way ‘app embed blocks’ are placed and configured ?
Thank you for your help.

1 Like

Hello Guian,

It’s simple as that embed block use the entire website, for instance if you want to add chat box so you want to add whole website so embed block is best for that,

Let’s talk about the app blocks, for example you said your question you want to show floating block only cart page or product page, you can use app block

Another example on your scenario, you want create a system like admin owner just enable it’s show specific pages so you can use embed block, in embed block you can add conditions,

Thanks

Thank you for your answer.

"in embed block you can add conditions, "

Can you elaborate on that please?

How ca we add conditions ?

Hello @Guian ,

If you share here you scenario I will example accordingly.