I’m building an extension for the cart slider using an embedded app extension. So far, I’ve been able to successfully display the extension inside the cart slider—but only for the Dawn theme.
Currently, I’m targeting specific IDs or class names for the cart drawer and injecting the extension manually. However, this approach is highly theme-dependent, and it’s practically impossible to account for every existing theme.
I’ve noticed that many popular upsell apps are able to showcase their extensions inside the cart slider seamlessly across all themes, and I’m curious—how are they doing this? Is there a valid or standardized way to achieve this without relying on theme-specific markup?
Any insights or best practices would be greatly appreciated!
Thanks in advance!