Integrating App Blocks into Theme-Specific Cart Drawers

Hello Shopify Community,

I’ve developed a custom app that includes a section I’d like to display within the cart drawer. Given that cart drawers are implemented differently across various themes and lack a standardized method for app block integration, I’m seeking advice on the best practices to achieve this integration.

Specifically:

  1. Are there recommended approaches to dynamically inject app blocks or embed blocks into theme-specific cart drawers without directly modifying the theme’s code?

  2. How can I ensure compatibility across different themes when adding custom components to the cart drawer?

  3. Are there any Shopify APIs or upcoming features that facilitate a more standardized integration of app content into cart drawers?

Any insights, experiences, or resources on this topic would be greatly appreciated.

Thank you!

I came across to this issue now because we developed an app for our stores and needed to include an app block inside of a custom drawer. Solved it by rendering an overlay-group section inside of theme.liquid, now it works perfectly